GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

open .php file

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
denore



Joined: 20 Feb 2007
Posts: 2

PostPosted: Tue Feb 20, 2007 1:22 pm    Post subject: open .php file Reply with quote

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
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 480
Location: Portland, OR USA

PostPosted: Tue Feb 20, 2007 8:50 pm    Post subject: Reply with quote

I don't actually understand your question. Can you rephrase?
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 386
Location: Fairfax, Virginia

PostPosted: Tue Feb 20, 2007 9:12 pm    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP