GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Aug 30, 2014 10:14 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: open .php file
PostPosted: Tue Feb 20, 2007 1:22 pm 
Offline

Joined: Tue Feb 20, 2007 12:25 pm
Posts: 2
hi all

i saved myfile.php to the Desktop.
how can i run mysite.php file by programatically.
popen(/usr/bin/mozilla /root/Desktop/myfile.php","r");

it is not working.

can you please showme the way

thank you


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 8:50 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
I don't actually understand your question. Can you rephrase?

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 9:12 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
What you have to realize is, that to run a PHP file in mozilla, you must install a web server such as apache. On my system, http://localhost/ then points to /var/www/. You can place PHP files in there to load them and have them actually run if php is also installed.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group