Hi, For my project I use the 'USPS' shipping method. It works fine and print a PDF response file with and given user details (by API request). There is one problem that the 'PDF' coming from USPS test server and the file display sample 'USPS' shipping label with message “SAMPLE -DO NOT MAIL” . If the 'PDF' coming from USPS live server the above message does not display on the PDF file. Please anyone help how to send API Request to live server and its PDF response file. Thanks in advance.
malrajphp
Posts
-
Send Live Server API to USPS -
How to increase video clarityHi All, I have created a php web application. In the project I am using "player.swf" object and "SteelExternalAll.swf" skin. But the video clarity is very poor. Here below I listed my video player coding. <script type="text/javascript"> var FO = { codebase:"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0", type:"application/x-shockwave-flash", pluginspage:"http://www.macromedia.com/go/getflashplayer", movie:"http://www.test.com/station/player.swf", width:"450", height:"300", majorversion:"9", build:"0", bgcolor:"#000000", allowfullscreen:"true", flashvars:"file=http://www.test.com/vault/video/temp/1247076974.flv&image=http://www.test.com/vault/video/thumbnail/1247076974.jpeg&add\_song=http://www.test.com/login/login.php&download\_song=http://www.test.com/more/downloadvideoinst.php?musicid=380&share\_song=http://www.test.com/login/login.php&buy\_album=http://www.test.com/more/song\_download.php?musicid=380&autostart=false&showfsbutton=true&frontcolor=0xC2BDBD&backcolor=0x000000&lightcolor=0xFF0000&skinname=http://www.test.com/station/SteelExternalAll.swf&uri=http://www.test.com/index.php?vid=380&id=in&embed=<script type='text/javascript' src='http://www.test.com/station/ufo.js'><%2n/script><div id='player1' align='center'></div> <script type='text/javascript'> var FO = { codebase:'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',type:'application/x-shockwave-flash',pluginspage:'http://www.macromedia.com/go/getflashplayer',movie:'http://www.test.com/embedvideoplayer/player.swf',width:'450',height:'300',majorversion:'9',build:'0', bgcolor:'#000000',allowfullscreen:'true',flashvars:'file=http://www.test.com/vault/video/temp/1247076974.flv%26image=http://www.test.com/vault/video/thumbnail/1247076974.jpeg%26add\_song=http://www.test.com/addfav.php?vid=380%26mpid=%26download\_song=http://www.test.com/more/song\_download.php?musicid=380%26buy\_album=http://www.test.com/more/song\_download.php?musicid=380%26autostart=false%26 showfsbutton=true%26frontcolor=0xC2BDBD%26backcolor=0x000000%26 lightcolor=0xFF0000%26skinname=http://www.test.com/embedvideoplayer/SteelExternalAll.swf' }; UFO.create( FO, 'player1');<%2n/script>"}; UFO.create( FO, "player1"); </s
-
New to PHPRefer below sites. It will very useful for understanding and learning about PHP. http://www.tizag.com/phpT/ http://www.w3schools.com/php/default.asp :cool:
-
Covert singleton class for php 4.4.4 to php 5.2 [modified]Hi, In my project there is singleton pattern used in php 4.4.4 and also Smarty used to display pages. Now we want to convert php 4.4.4 to 5.2.0 or above. There is error occurred in singleton pattern like below. "Non-static method" PaDbConnection::getInstance() should not be called statically in config.inc.php on line 177. In config.php line no 177 is like below. $db =& PaDbConnection::getInstance(); So I need help that how to modify the singleton class related to php5.2.0. anyone help me.
modified on Friday, July 3, 2009 12:22 AM
-
Need help to create thumbanil in linuxThanks for your reply. I checked that the correct permissions on all relevant directories and exec function not in disabled in php.ini. Problem is not in these two sections. Finally I found the solution that change the safe mode in php ini file likes below. safe_mode = On’ To safe_mode = Off’. Now thumbnail created successfully. Thanks again. :)
modified on Friday, July 3, 2009 12:28 AM
-
Need help to create thumbanil in linuxHi I am PHP programmer. I try to create thumbnail using php exec(FFMPEG) function on linux server. But it will not create thumbnail. On the same time the code works fine and create thumbnail in shell command of the same server when I tested it. Anyone can help me. Thanks :confused:
-
Remember to create membership in http://www.codeproject.com/Remember to create membership in http://www.codeproject.com/ Using Yahoo Email Id. Thanks and Regards Malraj b