[PHP-DB] Re: Subject: Scrolling News

2005-12-23 Thread Neil Smith [MVP, Digital media]
At 20:39 22/12/2005, you wrote: Date: Thu, 22 Dec 2005 20:38:58 + From: Alex Major [EMAIL PROTECTED] To: php-db@lists.php.net Message-ID: [EMAIL PROTECTED] Mime-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Subject: Scrolling News Hi there.

[PHP-DB] Re : Subject: using fsockopen to handle redirections

2005-12-23 Thread Neil Smith [MVP, Digital media]
Date: Fri, 23 Dec 2005 10:04:16 + From: Yemi Obembe [EMAIL PROTECTED] To: php-db@lists.php.net Subject: using fsockopen to handle redirections Any way i can use fsockopen to detect url redirections? for example if ds: www.ex1.com redirects to www.ex2.com and i'm using: $fp =

[PHP-DB] how can I execute bash file by using exec or system

2005-12-23 Thread Murat Beyhan
hello, I try to execute bash script file by using following script exec('/path/test.sh'); this test.sh file includes the Global Mapping Tools script and create map.ps file taht is the epicenter distribution file of the earthquakes. I have obtain epicenters.csv file by using

Re: [PHP-DB] Re: Subject: Scrolling News

2005-12-23 Thread Alex Major
Thanks for that, it does look great, however I seem to be encountering some problems with it and alas I can't seem to find the problem. The code for the header (which is where this is located) is ?php require_once('../Connections/Connection1.php'); ? ?php mysql_select_db($database_Connection1,

Fw: [PHP-DB] Dynamic Navigation Bar

2005-12-23 Thread Julien Bonastre
From: Julien Bonastre [EMAIL PROTECTED] To: Bastien Koert [EMAIL PROTECTED] Sent: Friday, December 23, 2005 11:01 PM Subject: Re: [PHP-DB] Dynamic Navigation Bar I would suggest using the GET method.. Unless you have some reason you don't want the data passed via GET.. In which case I

RE: [PHP-DB] how can I execute bash file by using exec or system

2005-12-23 Thread Bastien Koert
I would suspect that the user (apache as nobody usually) does not have permissions to run the bash script...try looking at the permissions to malign them... Bastien From: Murat Beyhan [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] how can I execute bash file by using exec or

Re: Fw: [PHP-DB] Dynamic Navigation Bar

2005-12-23 Thread dpgirago
Thanks for weighing in on the question, Julien. It's an intranet application, and I have some influence with the users' browser settings, so I used Javascript. I have to admit though that I was unaware you could pass a function from an anchor href tag (a

[PHP-DB] RE: how can I execute bash file by using exec or system

2005-12-23 Thread Jim McDonald
Try exec('source /path/test.sh'); -jim -Original Message- From: Murat Beyhan [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 1:42 AM To: php-db@lists.php.net Subject: how can I execute bash file by using exec or system hello, I try to execute bash script file by using

[PHP-DB] RE: how can I execute bash file by using exec or system

2005-12-23 Thread Jim McDonald
Oops, my bad. I thought you were trying to launch a .bashrc file. I've had my second cup of coffee, and I am feeling better, thank you. More likely than not your PHP path does not include the path to bash, or your test.sh script does not have the correct path to bash in it. Otherwise, it is

Re: Fw: [PHP-DB] Dynamic Navigation Bar

2005-12-23 Thread Julien Bonastre
yes its definitely quite an interesting piece I can't comment on its origins either, but I'm sure even before it was placed into practice you could always use the event handling routines of the HTML anchor element which of course would be: ONCLICK=myFunction(parameters,...); return

Re: [PHP-DB] using fsockopen to handle redirections

2005-12-23 Thread Micah Stevens
I suppose you could, but it seems a poor way, just use the header tag instead: if ($redir_needed) { header('Location: http://www.example.com'); writelog(user redirected); } On Friday 23 December 2005 2:04 am, Yemi Obembe wrote: Any way i can use fsockopen to detect url

[PHP-DB] 魁特科技为您排忧解难!

2005-12-23 Thread 企业IT顾问
ÄúÔÚ²»¾­ÒâÖУ¬ä¯ÀÀµ½´ËѶ£¬Ëý½«¸øÄú´øÀ´ÒâÏë²»µ½µÄ¾ªÏ²£¡ ÏÈÉú£¨Å®Ê¿£©£ºÄúºÃ£¡ Ò²Ðí£¬ÄúÓÐÖÊÁ¿Ò»Á÷µÄ²úÆ·£¬¿Éϧ¾ÆÏãÖ»ÒòÏï×ÓÉÑøÔÚÉî¹ëÎÞÈËʶ£» Ò²Ðí£¬ÄúÓÐÌìÒÂÎÞ·ìµÄ²ß»®Íƹ㣬ȴÒò¸ß¶îµÄ¹ã¸æÔ¤Ë㣬ÈÃËüÊøÖ®¸ß¸ó£» Ò²Ðí£¬ºÍÄúÒ»µÀ´´ÒµµÄͬÐÐÒÑÊǺô·ç»½Ó꣬×óÓÒ·êÔ´£¬¶øÄú£¬È´Ö»ÄÜÑÛÕöÕö¿´×ÅËûÇàÔÆÖ±ÉÏ£¬ÊøÊÖÎ޲ߣ»

Re: [PHP-DB] Re: Subject: Scrolling News

2005-12-23 Thread JeRRy
snip Now, can you see the causes of these two errors... A runtime error has occurred. Do you wish to Debug, Line: 20 Error: Expected 9 Are you using pine to edit? Or a HTML editior. If HTML or notepad you have the option of turning wordwrap on/off. Use this to find line number. With