Click here to Skip to main content
15,891,136 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth14-Jun-09 21:54
Marc Firth14-Jun-09 21:54 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991015-Jun-09 3:19
Member 373991015-Jun-09 3:19 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth15-Jun-09 3:32
Marc Firth15-Jun-09 3:32 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991015-Jun-09 3:51
Member 373991015-Jun-09 3:51 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth15-Jun-09 4:27
Marc Firth15-Jun-09 4:27 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Member 373991015-Jun-09 15:02
Member 373991015-Jun-09 15:02 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth17-Jun-09 0:32
Marc Firth17-Jun-09 0:32 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth17-Jun-09 22:07
Marc Firth17-Jun-09 22:07 
Member 3739910 wrote:
When I thought it save to go back in the water I have a problem

This code will not work I think I must have a mistake somewhere. As you can see it is basicly what you sugested. Other php works and I do have the page ext php






Also this does not work for me. I am missing something





Could it be the permission of the files?

I will keep hammering at it. My ftp program is running hot
Terry


Dunno where your post went so I copied the above in from my email.


Fixed code

<?php
//htp -> http and Two closing brackets
if(file_exists("http://mrtworld.com/item01.txt")){
//htp -> http
header("Location: http://mmrtworld.com/description/clock.php");//this page will have the code
} 
else {
//htp -> http
header("Location: http://mydomain.com/sorry.html");
}
?>


and remember i said you must use directory path not url:
<?php
echo file_exists("C://xampp/htdocs/item/item001");// no output
?>



GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991017-Jun-09 22:53
Member 373991017-Jun-09 22:53 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Marc Firth17-Jun-09 22:58
Marc Firth17-Jun-09 22:58 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Member 373991018-Jun-09 12:27
Member 373991018-Jun-09 12:27 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth18-Jun-09 21:52
Marc Firth18-Jun-09 21:52 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991018-Jun-09 22:53
Member 373991018-Jun-09 22:53 
QuestionImage Upload Problem Pin
indian2212-Jun-09 1:46
indian2212-Jun-09 1:46 
AnswerRe: Image Upload Problem Pin
Marc Firth15-Jun-09 3:39
Marc Firth15-Jun-09 3:39 
AnswerRe: Image Upload Problem Pin
Syed M Hussain17-Jun-09 5:29
Syed M Hussain17-Jun-09 5:29 
Questionpipeing proc_open() output over a period of time Pin
SalilJain7-Jun-09 6:56
SalilJain7-Jun-09 6:56 
AnswerRe: pipeing proc_open() output over a period of time Pin
Marc Firth11-Jun-09 22:02
Marc Firth11-Jun-09 22:02 
News[Announce] PyJumble v1.0.0 Pin
PavanPareta5-Jun-09 3:40
PavanPareta5-Jun-09 3:40 
QuestionPHP and code flow... Pin
angusmann4-Jun-09 18:50
angusmann4-Jun-09 18:50 
AnswerRe: PHP and code flow... Pin
Marc Firth4-Jun-09 22:03
Marc Firth4-Jun-09 22:03 
GeneralRe: PHP and code flow... Pin
AtliThor5-Jun-09 8:52
AtliThor5-Jun-09 8:52 
GeneralRe: PHP and code flow... Pin
angusmann5-Jun-09 15:13
angusmann5-Jun-09 15:13 
QuestionLinux tutorials Pin
matjame4-Jun-09 3:53
matjame4-Jun-09 3:53 
AnswerRe: Linux tutorials [modified] Pin
Jimmanuel4-Jun-09 4:51
Jimmanuel4-Jun-09 4:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.