Re[2]: [PHP] Help!! with array's Please

2003-02-27 Thread Richard Kurth
Hello Tom, Thursday, February 27, 2003, 7:39:52 PM, you wrote: TR> Hi, TR> Friday, February 28, 2003, 12:20:38 PM, you wrote: RK>> I really need somebody to help me with this I am totally lost on what RK>> to do RK>> I need a way to read the following text file and add to or delete from RK>> o

Re: [PHP] Re: mysqldump

2003-02-27 Thread Tom Rogers
Hi, Thursday, February 27, 2003, 2:55:48 PM, you wrote: JTJ> Thanks! >> exec("mysqldump -c -q database -u user -ppassword", $sql); JTJ> Why is there no space between the -p and password? >>-ppassword JTJ> Am I wrong? JTJ> Thanks, JTJ> John Probably because a space is a valid char in password

Re: [PHP] Function returns an array of objects...

2003-02-27 Thread Tom Rogers
Hi, Friday, February 28, 2003, 4:24:54 PM, you wrote: AS> so i have a function that creates objects (with member variables) and AS> pushes those objects onto the array. after adding all of the objects, AS> the function then returns the array... AS> i'm having trouble accessing the members of ea

Re: [PHP] Passing url?variables

2003-02-27 Thread Leif K-Brooks
http://www.php.net/manual/en/security.registerglobals.php Mike wrote: Hi, I'm running Apache 2.0 and PHP 4.2.2 on a RedHat 8.0 Machine. I'm unable to pass variables through a URL like index.php?test=something. Can anyone help here? I've looked through both my httpd.conf and php.ini files and did

[PHP] php install help

2003-02-27 Thread Karl James
Hey guys, Im having problems getting my helloworld.php file to Work on the apache server. My phpinfo.php works perfect. I know the code is write The error message I get is # Internal Server Error The server encountered an internal error or m

[PHP] Passing url?variables

2003-02-27 Thread Mike
Hi, I'm running Apache 2.0 and PHP 4.2.2 on a RedHat 8.0 Machine. I'm unable to pass variables through a URL like index.php?test=something. Can anyone help here? I've looked through both my httpd.conf and php.ini files and didn't see anything... -Michael -- PHP General Mailing List (http://www

[PHP] Function returns an array of objects...

2003-02-27 Thread Amit Snyderman
so i have a function that creates objects (with member variables) and pushes those objects onto the array. after adding all of the objects, the function then returns the array... i'm having trouble accessing the members of each object in the array...i'm trying to do something like this: class

[PHP] RE: mysqldump

2003-02-27 Thread Uttam
snip from manual for -p option: |- -p[password], --password[=...] Password to use when connecting to server. If a password is not given on the command line, you will be prompted for it. Note that if you use the short form -p you can't have a space between the option and the password

Re: [PHP] help with getting php going(2)

2003-02-27 Thread Kim Kohen
G'day Karl > Hey guys I finally got my phpinfo file to show on apache server > But when I try to do a hello world or browser check I get a 500 error > message FWIW, I've seen this error when I've had mac line endings instead of unix. cheers kim -- PHP General Mailing List (http://www.php.

[PHP] help with getting php going(2)

2003-02-27 Thread Karl James
Title: Message Hey guys I finally got my phpinfo file to show on apache server But when I try to do a hello world or browser check I get a 500 error message Can anyone help me out, and educate me what I’m doing wrong.   This is my script  PHP Test <body> php if (strst</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98856.html">Re: [PHP] Help with getting php going!</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help+with+getting+php+going%5C%21%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Leif+K%5C-Brooks%22&o=newest">Leif K-Brooks</a></span> </div> <blockquote><span class="msgFragment"> Please don't send MS Word content in your email.  It crashed Mozilla before I was able to reply. Karl James wrote: Hey guys I finally got my phpinfo file to show on apache server But when I try to do a hello world or browser check I g</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98855.html">[PHP] Help with getting php going!</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help+with+getting+php+going%5C%21%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Karl+James%22&o=newest">Karl James</a></span> </div> <blockquote><span class="msgFragment"> Hey guys I finally got my phpinfo file to show on apache server But when I try to do a hello world or browser check I get a 500 error message Can anyone help me out, and educate me what I’m doing wrong.   This is my script <html> <head>  <title>PHP Test <body> php if (strst</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98854.html">[PHP] PHP SORT_NUMERIC</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+PHP+SORT_NUMERIC%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jim+Long%22&o=newest">Jim Long</a></span> </div> <blockquote><span class="msgFragment"> Hi, I've got to sort the $numeric_arry This doesn't seem to work: sort ($numeric_array, SORT_NUMERIC); I think its sorting $key asort ($numeric_array, SORT_NUMERIC); sorts as a string THANKS AGAIN IN ADVANCE, Jim Long JanetVal Wrote: > Well, as long as you know exactly what you are looking fo</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98853.html">[PHP] make problem with PHP4.3.1</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+make+problem+with+PHP4.3.1%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Darrin+Taylor%22&o=newest">Darrin Taylor</a></span> </div> <blockquote><span class="msgFragment"> Hi Everyone, OK I have looked through the archives and all over the net. I apologise if this has been seen before but here goes : No matter what switches I use I get the same error when I "make" ./configure goes fine. RedHat 8.1 beta PHP 4.3.1 the error is : ext/mysql/libmysql/my_lib.lo(.text+0x3</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98852.html">[PHP] =at wit's end with GD Libraries=</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+%3Dat+wit%27s+end+with+GD+Libraries%3D%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Anthony+Ritter%22&o=newest">Anthony Ritter</a></span> </div> <blockquote><span class="msgFragment"> I want to thank those who tried to help with my questions about using the GD libraries. I still have not gotten them to function using PHP. I've put two screenhots of the phpinfo() page at: www.gonefishingguideservice.com/php_page.htm If you care to take a look at those images, you'll see that </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98851.html">[PHP] Can't run PHP cli script from Cron</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Can%27t+run+PHP+cli+script+from+Cron%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Justin+Michael+Couto%22&o=newest">Justin Michael Couto</a></span> </div> <blockquote><span class="msgFragment"> I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD 5.0 This is what I have verified: My clock is set right I can run bash scripts from cron I have tried running the script as root and as other users If I run the PHP CLI script by had it works fine I set cron to run the scri</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg99093.html">[PHP] JP Graph</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+JP+Graph%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22K%22&o=newest">K</a></span> </div> <blockquote><span class="msgFragment"> Hi all, I'm using JPGraph on a localhost for a website opened via a host redirect. My problem is that nobody can see the graphs but me ('cause I'm on localhost). Any clues? Thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98850.html">[PHP] Read</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Read%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Karl+James%22&o=newest">Karl James</a></span> </div> <blockquote><span class="msgFragment"> Hey does anyone know if you can use PHP and ASP 3.0 or  I.I.S  on the same hard drive on XP pro? I need to know for school, because I’m taking classes for both languages.   ultimatefootballleague.com/index.php [EMAIL PROTECTED]   </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98849.html">[PHP] 404 and parsing templates</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+404+and+parsing+templates%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Richard+Baskett%22&o=newest">Richard Baskett</a></span> </div> <blockquote><span class="msgFragment"> Ok I created an engine, an extremely simple engine that parses a template file and then according to whatever page and language it is on it calls that template. Now the problem is that, well let me give you an example: I have a page called index.php which only has an include_once function in it</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98848.html">[PHP] separating value="n/a" from array</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+separating+value%3D%5C%22n%5C%2Fa%5C%22+from+array%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jim+Long%22&o=newest">Jim Long</a></span> </div> <blockquote><span class="msgFragment"> Hi, Thanks to those who have helped me. Jason Lange Wrote: > Try this code (tested): > > <-- Begin Code --> > foreach ($list as $key => $value) { > // If elements value is a numeral add to numeric_array > if (is_numeric($value)) { > $numeric_array[$key] = $valu</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98847.html">Re: [PHP] Newbie look for some content specific tutorials</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Newbie+look+for+some+content+specific+tutorials%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22janet%22&o=newest">janet</a></span> </div> <blockquote><span class="msgFragment"> In a message dated 2/27/2003 12:47:25 PM Pacific Standard Time, [EMAIL PROTECTED] writes: >First time poster here and a 1 week old PHP/Mysql programmer > >I have bought several books and scoured the net for any and all PHP/MySQL >tutorials. Here is the problem I am running into: > >1. The docs tel</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98846.html">Re: [PHP] Help!! with array's Please</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help%5C%21%5C%21+with+array%27s+Please%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Tom+Rogers%22&o=newest">Tom Rogers</a></span> </div> <blockquote><span class="msgFragment"> Hi, Friday, February 28, 2003, 12:20:38 PM, you wrote: RK> I really need somebody to help me with this I am totally lost on what RK> to do RK> I need a way to read the following text file and add to or delete from RK> or change the data. RK> I have been able to move it all into an array using th</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98845.html">Re: [PHP] output buffering</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+output+buffering%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Leif+K%5C-Brooks%22&o=newest">Leif K-Brooks</a></span> </div> <blockquote><span class="msgFragment"> You can't display an image like that in HTML. You need to make a second PHP script that displays just the image, and call it with a tag. Kevin Waterson wrote: >I am having some problems with ob_* > >My goals is basically this > >Stuff goes here > >More stuff here > >The code below works until th</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98844.html">Re[2]: [PHP] virtual() test</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22Re%5C%5B2%5C%5D%5C%3A+%5C%5BPHP%5C%5D+virtual%5C%28%5C%29+test%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Tom+Rogers%22&o=newest">Tom Rogers</a></span> </div> <blockquote><span class="msgFragment"> Hi, Friday, February 28, 2003, 1:16:56 PM, you wrote: TR> Hi, TR> Friday, February 28, 2003, 12:09:30 PM, you wrote: JWH>> Can anyone with Apache verify that you can pass arguments inside of a JWH>> virtual() call? Something like: JWH>> Virtual("script.pl?id=1") JWH>> And have $id available wit</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98843.html">Re: [PHP] virtual() test</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+virtual%5C%28%5C%29+test%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Tom+Rogers%22&o=newest">Tom Rogers</a></span> </div> <blockquote><span class="msgFragment"> Hi, Friday, February 28, 2003, 12:09:30 PM, you wrote: JWH> Can anyone with Apache verify that you can pass arguments inside of a JWH> virtual() call? Something like: JWH> Virtual("script.pl?id=1") JWH> And have $id available within script.pl. JWH> I don't have access to an Apache server right </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98842.html">Re: [PHP] non transmitted cookie</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+non+transmitted+cookie%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jason+Sheets%22&o=newest">Jason Sheets</a></span> </div> <blockquote><span class="msgFragment"> That is why I suggested passing all that over SSL which would make it very difficult to get the data even if you were able to get the packets. If you are operating with data that you care about you probably need SSL. There is not much point in creating some type of applet combination that your us</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98841.html">[PHP] Help!! with array's Please</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help%5C%21%5C%21+with+array%27s+Please%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Richard+Kurth%22&o=newest">Richard Kurth</a></span> </div> <blockquote><span class="msgFragment"> I really need somebody to help me with this I am totally lost on what to do I need a way to read the following text file and add to or delete from or change the data. I have been able to move it all into an array using this code $groups= file("group"); for ($i=0; $i<$number_in_group; $i++){ $grou</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98840.html">Re: [PHP] PHP to read MS-SQL (solution)</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+PHP+to+read+MS%5C-SQL+%5C%28solution%5C%29%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Michael+Sims%22&o=newest">Michael Sims</a></span> </div> <blockquote><span class="msgFragment"> On Thu, 27 Feb 2003 14:31:45 -0800 (PST), you wrote: >Basically, it runs on the >MS-SQL server and allows requests in XML format on a certain port. That's actually pretty cool, from a tech standpoint, but why not access the MS-SQL database directly? From Windows it's easy, you just need the SQL </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98839.html">[PHP] virtual() test</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+virtual%5C%28%5C%29+test%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22John+W.+Holmes%22&o=newest">John W. Holmes</a></span> </div> <blockquote><span class="msgFragment"> Can anyone with Apache verify that you can pass arguments inside of a virtual() call? Something like: Virtual("script.pl?id=1") And have $id available within script.pl. I don't have access to an Apache server right now to test, so thank you very much. ---John W. Holmes... PHP Architect - A mo</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98838.html">[PHP] output buffering</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+output+buffering%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Kevin+Waterson%22&o=newest">Kevin Waterson</a></span> </div> <blockquote><span class="msgFragment"> I am having some problems with ob_* My goals is basically this Stuff goes here More stuff here The code below works until the showImage method is called, it does show the image however, it does not output the 'Stuff goes here!' line. any guidance greatfully recieved. Code is below.. Kevin </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98837.html">Re: [PHP] restating plea for help with sort</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+restating+plea+for+help+with+sort%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jason+Lange%22&o=newest">Jason Lange</a></span> </div> <blockquote><span class="msgFragment"> Try this code (tested): <-- Begin Code --> foreach ($list as $key => $value) { // If elements value is a numeral add to numeric_array if (is_numeric($value)) { $numeric_array[$key] = $value; // If value is not a numeral (presumably 'n/a') add to na_array } e</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98836.html">RE: [PHP] Preventing the "hijacking" of pictures</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Preventing+the+%5C%22hijacking%5C%22+of+pictures%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22John+W.+Holmes%22&o=newest">John W. Holmes</a></span> </div> <blockquote><span class="msgFragment"> > What about using a MySQL database? Insert the picture into a field in > a table, then use a php script to call the data. I've been working on > something like this. Is it practical, or am I barking up the wrong > tree? Too much overhead, in my opinion. Same result if you just stored the files</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98835.html">Fwd: [PHP] Help with Arrays</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22Fwd%5C%3A+%5C%5BPHP%5C%5D+Help+with+Arrays%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Pushpinder+Singh+Garcha%22&o=newest">Pushpinder Singh Garcha</a></span> </div> <blockquote><span class="msgFragment"> Begin forwarded message: From: Pushpinder Singh Garcha <[EMAIL PROTECTED]> Date: Thu Feb 27, 2003 7:57:38 PM US/Eastern To: olinux <[EMAIL PROTECTED]> Subject: Re: [PHP] Help with Arrays Thanks My question was that each line of the file should be stored as one element of the array. This is be</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98834.html">Re: [PHP] HELP PLEASE ! Need PHP Advice !!!</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+HELP+PLEASE+%5C%21+Need+PHP+Advice+%5C%21%5C%21%5C%21%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Justin+French%22&o=newest">Justin French</a></span> </div> <blockquote><span class="msgFragment"> Right, well there's a few issues here. 1. You're asking if there's a way to parse a QXD file so retrieve the text from it. I doubt this can be done. I had a quick google for it, to no luck. I also bothered to open up a Quark 3.32 file in my text editor, to check out the source. It looks prett</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98833.html">[PHP] help with arrays</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+help+with+arrays%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jim+Long%22&o=newest">Jim Long</a></span> </div> <blockquote><span class="msgFragment"> Hi, Origninal Post: > I have an array with an html link as key and different $vars as val: > > $list = array ( > 'http://someplace.com/";>some place' => $vendor1_total, > 'http://anotherplace.com/";>another place' => $vendor2__total, > [snip] etc.. > > some vals are numeric and some vals are "</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98832.html">[PHP] need PHP programmer</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+need+PHP+programmer%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jeff%22&o=newest">Jeff</a></span> </div> <blockquote><span class="msgFragment"> Don't know if this is appropriate or not but here we go. I need help with a project. requires a PHP developer. The two programs we're using are php and MySQL. Anyone interested or anyone who can help guide me to a place to find help please reply to me directly or to the list as you feel appr</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98831.html">[PHP] pdf</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+pdf%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22johnsworld%22&o=newest">johnsworld</a></span> </div> <blockquote><span class="msgFragment"> hey guys, just a quick question re: creating pdf files on the fly. i was wondering if anyone knew if it is possible to fully justify text? thanks in anticipation, john -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98830.html">Re: [PHP] problem in writing into an html text file</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+problem+in+writing+into+an+html+text+file%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Michael+P.+Carel%22&o=newest">Michael P. Carel</a></span> </div> <blockquote><span class="msgFragment"> thanks it's working now - Original Message - From: "Matt Honeycutt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 7:23 AM Subject: RE: [PHP] problem in writing into an html text file > Check stripslashes(), I think that will help you. > > ---Matt > > -O</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98829.html">RE: [PHP] Destroying COM objects</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Destroying+COM+objects%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Rich+Gray%22&o=newest">Rich Gray</a></span> </div> <blockquote><span class="msgFragment"> > When using the COM functions in PHP what is the equivalent of > ASPs "set object=nothing"? > I am using the Crystal Report objects and I cannot seem to > destroy my Report object. Have you tried setting it to NULL? Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98828.html">[PHP] session.use_trans_sid on php 4.3.1</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+session.use_trans_sid+on+php+4.3.1%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Radu+Manole%22&o=newest">Radu Manole</a></span> </div> <blockquote><span class="msgFragment"> Hi guys , Seams like ini_set('session.use_trans_sid',0) does not work right on PHP 4.3.1 on Linux. //-- PHP config is: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-swf=/usr/local/flash' '--enabl</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98827.html">[PHP] Destroying COM objects</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Destroying+COM+objects%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Sterling+Anderson%22&o=newest">Sterling Anderson</a></span> </div> <blockquote><span class="msgFragment"> When using the COM functions in PHP what is the equivalent of ASPs "set object=nothing"? I am using the Crystal Report objects and I cannot seem to destroy my Report object. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98826.html">RE: [PHP] problem in writing into an html text file</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+problem+in+writing+into+an+html+text+file%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Matt+Honeycutt%22&o=newest">Matt Honeycutt</a></span> </div> <blockquote><span class="msgFragment"> Check stripslashes(), I think that will help you. ---Matt -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] problem in writing into an html text file this code add a backslashes in all d</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98825.html">Re: [PHP] problem in writing into an html text file</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+problem+in+writing+into+an+html+text+file%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Michael+P.+Carel%22&o=newest">Michael P. Carel</a></span> </div> <blockquote><span class="msgFragment"> this code add a backslashes in all doubleqoutes in the html file. sample: before editing my.html file after editing my.html file any idea why and how can i avoid this? > sorry here's the sample code: > > if(!$submit){ > ?> > > $filename="my.html"; > $fd=fopen($filename,"r+") or die("</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98824.html">RE: [PHP] Automatically included file?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Automatically+included+file%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Rich+Gray%22&o=newest">Rich Gray</a></span> </div> <blockquote><span class="msgFragment"> > New to PHP, I was wondering if PHP, running as a module under Apache 2, > had an automatically included script that would run prior to any/each > PHP script served by Apache? > > Tks, > Dwayne Dwayne Look into the auto_prepend_file directive that you can specify in php.ini - this may suit your n</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98823.html">Re: [PHP] Re: using php to rotate ad banners</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+using+php+to+rotate+ad+banners%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Manuel+Lemos%22&o=newest">Manuel Lemos</a></span> </div> <blockquote><span class="msgFragment"> Hello, On 02/27/2003 04:27 PM, Joseph Bannon wrote: Why don't you just use phpAdsNew? Because I prefer to write it myself so I can learn more. You can learn more studying the solutions provided by those that already attempted to implement the same problem. Just study phpAdsNew and you will lea</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98822.html">[PHP] Automatically included file?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Automatically+included+file%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Dwayne+Miller%22&o=newest">Dwayne Miller</a></span> </div> <blockquote><span class="msgFragment"> New to PHP, I was wondering if PHP, running as a module under Apache 2, had an automatically included script that would run prior to any/each PHP script served by Apache? Tks, Dwayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98821.html">[PHP] PHP to read MS-SQL (solution)</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+PHP+to+read+MS%5C-SQL+%5C%28solution%5C%29%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Bryan+Koschmann+%5C-+GKT%22&o=newest">Bryan Koschmann - GKT</a></span> </div> <blockquote><span class="msgFragment"> Thought I would throw this out if anyone is interested. We have some proprietary accounting software that uses MS-SLQ as it's backend. Not my choice, trust me. Anyhow, I hassled the guy who made the software long enough that he created a solution until we can swith to MySQL. Basically, it runs on </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98820.html">[PHP] Re: date, "first of next month"?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A++date%2C+%5C%22first+of+next+month%5C%22%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Bryan+Koschmann+%5C-+GKT%22&o=newest">Bryan Koschmann - GKT</a></span> </div> <blockquote><span class="msgFragment"> On Wed, 26 Feb 2003, Philip Hallstrom wrote: | |Use the w option of date() and loop through adding 86400 to $t until you |get to a number between 1 and 5. | | w - day of the week, numeric, i.e. "0" (Sunday) to "6" (Saturday) I may of gotten ahead of myself, but I tried it using if/else. Looks lik</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98819.html">Re: [PHP] date problem</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+date+problem%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Lowell+Allen%22&o=newest">Lowell Allen</a></span> </div> <blockquote><span class="msgFragment"> > From: "Alexander Tsonev" <[EMAIL PROTECTED]> > > Hello, > I would ask you a question about date type > if I have a variable from date type ($newdate) such as 2003-02-17 > how can I separate $newdate into 3 different variables? I want to create > such variables: > $day=17 > $month=2 > $year=2003 </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98818.html">[PHP] Re: Help with Extending PHP</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+Help+with+Extending+PHP%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22J+Smith%22&o=newest">J Smith</a></span> </div> <blockquote><span class="msgFragment"> This might help: http://www.tutorbuddy.com/software/phpcpp/phpcpp/ J Michel M. Dos Santos wrote: > > > Hi, > > I have a doubt about extending functions in PHP. I want to use C++ > language rather than C pure. I saw that dotnet module has cpp file. Is it > possible ? > > Thanks a lot, > > </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98817.html">[PHP] Re: date problem</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+date+problem%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22R%27twick+Niceorgaw%22&o=newest">R'twick Niceorgaw</a></span> </div> <blockquote><span class="msgFragment"> $date_array=explode("-",$newdate); $day = $date_array[2]; $month = $date_array[1]; $year = $date_array[0]; Or, $timestamp - strtotime($newdate); $today = getdate($timestamp); $month = $today['month']; $mday = $today['mday']; $year = $today['year']; "Alexander Tsonev" <[EMAIL PROTECTED]> wrote in</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98816.html">[PHP] Dynamic XUL?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Dynamic+XUL%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Leif+K%5C-Brooks%22&o=newest">Leif K-Brooks</a></span> </div> <blockquote><span class="msgFragment"> I'm considering making a dynamic application for Mozilla/Netscape using PHP and XUL. Has anyone here done this? Anything I should be aware of? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98815.html">[PHP] date problem</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+date+problem%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Alexander+Tsonev%22&o=newest">Alexander Tsonev</a></span> </div> <blockquote><span class="msgFragment"> Hello, I would ask you a question about date type if I have a variable from date type ($newdate) such as 2003-02-17 how can I separate $newdate into 3 different variables? I want to create such variables: $day=17 $month=2 $year=2003 I searched a lot, but I didn't find how to do this. I'll be very h</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98814.html">Re: [PHP] Help with Arrays</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help+with+Arrays%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22olinux%22&o=newest">olinux</a></span> </div> <blockquote><span class="msgFragment"> and what problem is that?> how about just using the example? http://www.php.net/manual/en/function.file.php $lines = file ('http://www.example.com/'); // Loop through our array, show html source as html source; and line numbers too. foreach ($lines as $line_num => $line) { echo "Line #{$line</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98813.html">[PHP] Help with Arrays</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help+with+Arrays%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Pushpinder+Singh+Garcha%22&o=newest">Pushpinder Singh Garcha</a></span> </div> <blockquote><span class="msgFragment"> Hello all I am having some problem with arrays THIS IS THE PHP CODE $temp = file("file.txt"); if(!$temp) { echo "File could not be read by array !! "; exit; } else echo "Array was opened !!"; $x = count($temp); echo "Array Count is: $x"; echo "$temp[0]"; //$P = str</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98812.html">RE: [PHP] Newbie look for some content specific tutorials</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Newbie+look+for+some+content+specific+tutorials%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Cal+Evans%22&o=newest">Cal Evans</a></span> </div> <blockquote><span class="msgFragment"> take a look at the database abstraction layer ADODB at php.weblog.com Even if you are like me and never use more than just MySQL, it makes like a lot easier. =C= * Cal Evans * Stay Plugged Into Your Audience * http://www.christianperformer.com -Original Message- From: Hunter, Jess [mail</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98811.html">[PHP] Re: Re: Re: Editors</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A++Re%5C%3A+Re%5C%3A+Editors%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Paul+Nicholson%22&o=newest">Paul Nicholson</a></span> </div> <blockquote><span class="msgFragment"> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Jim, - From the WINE Faq (http://www.winehq.org/). "3.8. Do I need to have a DOS partition on my system to use Wine? You do not need a licensed and installed copy of DOS or MS Windows to install, configure and run Wine. However, Wine has to b</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98810.html">[PHP] Help with Extending PHP</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Help+with+Extending+PHP%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Michel+M.+dos+Santos%22&o=newest">Michel M. dos Santos</a></span> </div> <blockquote><span class="msgFragment"> Hi, I have a doubt about extending functions in PHP. I want to use C++ language rather than C pure. I saw that dotnet module has cpp file. Is it possible ? Thanks a lot, Michel M. dos Santos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98809.html">[PHP] Newbie look for some content specific tutorials</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Newbie+look+for+some+content+specific+tutorials%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Hunter%2C+Jess%22&o=newest">Hunter, Jess</a></span> </div> <blockquote><span class="msgFragment"> Greets all, First time poster here and a 1 week old PHP/Mysql programmer I have bought several books and scoured the net for any and all PHP/MySQL tutorials. Here is the problem I am running into: 1. The docs tell how to access MySql through the MySql monitor 2. any docs that tutor how to make P</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98808.html">[PHP] Automatic .htaccess Authentication?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Automatic+.htaccess+Authentication%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Nick+Oostveen%22&o=newest">Nick Oostveen</a></span> </div> <blockquote><span class="msgFragment"> I'm looking for a way to have php automatically log a user into an htaccess protected directory. My problem is as follows. I currently have a large number of php scripts which use a database authentication system. Unfortunately, there are also a number of old CGI scripts which need to be prot</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98807.html">[PHP] HELP!! with array's</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+HELP%5C%21%5C%21+with+array%27s%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Richard+Kurth%22&o=newest">Richard Kurth</a></span> </div> <blockquote><span class="msgFragment"> Hello , I need a way to read the following text file and add to or delete from or change the data. I have been able to move it all into an array using this code $groups= file("group"); for ($i=0; $i<$number_in_group; $i++){ } But I can not figure out how to search the array and delete from or add </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98806.html">Re: [PHP] Restate: using php to rotate ad banners</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Restate%5C%3A+using+php+to+rotate+ad+banners%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jason+k+Larson%22&o=newest">Jason k Larson</a></span> </div> <blockquote><span class="msgFragment"> Have you seen phpAdsNew ? It really kicks ass. High quality development going on with that project. Plus, they've already worked out all the issues you are having with cookies and what not by using sessions. It's really fast too, and they have some caching options to make performance even be</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98805.html">[PHP] Re: Does PHP supports threads?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+Does+PHP+supports+threads%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22J+Smith%22&o=newest">J Smith</a></span> </div> <blockquote><span class="msgFragment"> Actually, there's a threads extension in PECL: http://cvs.php.net/cvs.php/pear/PECL/threads J Justin Garrett wrote: > PHP does not support threading. Depending on what you're trying to do you > may find the process control functions useful > http://www.php.net/manual/en/ref.pcntl.php > > Ju</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98804.html">Re: [PHP] Restate: using php to rotate ad banners</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Restate%5C%3A+using+php+to+rotate+ad+banners%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Daniel+Guerrier%22&o=newest">Daniel Guerrier</a></span> </div> <blockquote><span class="msgFragment"> Don't reinvent the wheel :) http://www.phpadsnew.com/one/ --- Joseph Bannon <[EMAIL PROTECTED]> wrote: > Anyone? Reply? > > > I recently created some scripts to rotate ad banners > on my site. One script is called show.php, which > serves the banner. The other is called click.php, > which redire</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98803.html">[PHP] Re: Re: Re: Editors</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A++Re%5C%3A+Re%5C%3A+Editors%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22James+Hatridge%22&o=newest">James Hatridge</a></span> </div> <blockquote><span class="msgFragment"> HI Paul,,, On Wednesday 26 February 2003 22:10, Paul Nicholson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wednesday 26 February 2003 02:19 pm, James Hatridge wrote: > [snip] > > > Thanks for the address. I looked into it closer and I find that it is > > only for Windows. Pity.</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98802.html">Re: [PHP] Re: using php to rotate ad banners</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+using+php+to+rotate+ad+banners%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Joseph+Bannon%22&o=newest">Joseph Bannon</a></span> </div> <blockquote><span class="msgFragment"> > Why don't you just use phpAdsNew? Because I prefer to write it myself so I can learn more. J. = RisingMusic.com 450,000 registered users. 14,000 registered bands and artists. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips,</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98801.html">[PHP] Restate: using php to rotate ad banners</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Restate%5C%3A+using+php+to+rotate+ad+banners%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Joseph+Bannon%22&o=newest">Joseph Bannon</a></span> </div> <blockquote><span class="msgFragment"> Anyone? Reply? I recently created some scripts to rotate ad banners on my site. One script is called show.php, which serves the banner. The other is called click.php, which redirects the people to the proper site for the banner they clicked on. Some people have noticed that when they click on t</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98800.html">Re: [PHP] restating plea for help with sort</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+restating+plea+for+help+with+sort%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Kevin+Stone%22&o=newest">Kevin Stone</a></span> </div> <blockquote><span class="msgFragment"> To append my own answer. In order to sort the non "n/a" values you're going to have to build a separate array and perhaps this will simplfy the problem. So instead of what I suggested below.. loop the array and start TWO new arrays within the loop. One array for "n/a" values and one for non-"n/a"</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98799.html">[PHP] php3 and php4</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+php3+and+php4%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Ozete+C.Filho%22&o=newest">Ozete C.Filho</a></span> </div> <blockquote><span class="msgFragment"> My friends, why this program no function in php4, just in php3? Pessoal, esse algoritmo é conhecido como Dijkstra, ele calcula o melhor caminho entre pontos( num grafo, por exemplo), mas nao consigo rodar ele no php4, so funciona no 3. Alguem sabe me dizer se há algo errado? 2, d => 3); $neigh</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98798.html">[PHP] htmlentities()</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+htmlentities%5C%28%5C%29%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Liam+Gibbs%22&o=newest">Liam Gibbs</a></span> </div> <blockquote><span class="msgFragment"> I seem to be having trouble with htmlentities(). Maybe someone has a clue I can borrow. Here's my function: function FitForHTML($string) { $asciitable = get_html_translation_table(HTML_ENTITIES); $string = htmlentities($string, ENT_COMPAT); $string = str_replace($asciitable[chr(255)],</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98797.html">Re: [PHP] restating plea for help with sort</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+restating+plea+for+help+with+sort%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Kevin+Stone%22&o=newest">Kevin Stone</a></span> </div> <blockquote><span class="msgFragment"> Hmm well upon first glance looks like all you need to do is loop that array and start a new array within the loop. An If/Else construct checks If the value is "n/a" then append to the back of the new array Else prepend to the front of the new array.You append the values manually or use array_p</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98796.html">Re: [PHP] PHP graphs</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+PHP+graphs%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jordan+Elver%22&o=newest">Jordan Elver</a></span> </div> <blockquote><span class="msgFragment"> > Secondly, I'd like to trace a basic X/Y graph with data provided from a DB, > any PHP help? JPGraph is good. -- Jordan Elver Put the key of despair into the lock of apathy. Turn the knob of mediocrity slowly and open the gates of despondency - welcome to a day in the average office. -- David</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98795.html">[PHP] restating plea for help with sort</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+restating+plea+for+help+with+sort%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jim+Long%22&o=newest">Jim Long</a></span> </div> <blockquote><span class="msgFragment"> Hi, I have an array with an html link as key and different $vars as val: $list = array ( 'http://someplace.com/";>some place' => $vendor1_total, 'http://anotherplace.com/";>another place' => $vendor2__total, [snip] etc.. some vals are numeric and some vals are "n/a" asort works to sort the arra</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98794.html">[PHP] PHP graphs</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+PHP+graphs%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22K%22&o=newest">K</a></span> </div> <blockquote><span class="msgFragment"> Hi guys, I would like to read the IP address from a PC that connects to my web site. Any function does that in PHP? Secondly, I'd like to trace a basic X/Y graph with data provided from a DB, any PHP help? Thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98793.html">[PHP] make error on solaris</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+make+error+on+solaris%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22R%27twick+Niceorgaw%22&o=newest">R'twick Niceorgaw</a></span> </div> <blockquote><span class="msgFragment"> Hi all, I'm trying to get a vanila installation of php 4.3.1(only the cli version) on a solaris 8 system. This is my first day on a solaris box so I don't know much about it. I'm running into some errors in the final linking stage. Any one experienced this problem and got any idea to fix it? (error</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98792.html">RE: [PHP] Preventing the "hijacking" of pictures</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Preventing+the+%5C%22hijacking%5C%22+of+pictures%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Daniel+Kushner%22&o=newest">Daniel Kushner</a></span> </div> <blockquote><span class="msgFragment"> Hi Merlin, What you are describing is named Hot Linking. A quick search on Google gave me this: http://www.htmlbasix.com/disablehotlinking.shtml Regards, Daniel Kushner Need PHP Training? http://www.nyphp.org/training.php > -Original Me</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98791.html">Re: [PHP] post xml</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+post+xml%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Mincu+Alexandru%22&o=newest">Mincu Alexandru</a></span> </div> <blockquote><span class="msgFragment"> you can provide only one variable in the array: http_post( '195.57.250.36', 80, '/barceloDS/interface/xml', array( "xml"=>$xml ) ); On some date, Diana Castillo wrote: >thanks a lot I have a question, how would I specifiy the name of the >variable I am sending if I am </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98790.html">RE: [PHP] HELP PLEASE ! Need PHP Advice !!!</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+HELP+PLEASE+%5C%21+Need+PHP+Advice+%5C%21%5C%21%5C%21%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Victor+Stan%22&o=newest">Victor Stan</a></span> </div> <blockquote><span class="msgFragment"> First of all, are they paying you to automate or to repurpose the content for the web? Taking a page designed for print and then "automating" it into a page for the web is the wrong approach, your problem is not technical it is a design problem. Technically it is easy, I think, does Quark not have </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98789.html">[PHP] Re: How to create an empty array</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+How+to+create+an+empty+array%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jun%22&o=newest">Jun</a></span> </div> <blockquote><span class="msgFragment"> Use $category_list = array() instead. When you do $category_list[] = array(), you are creating an array of arrays. $category_list becomes an array with 1 element and this element is an empty array. So use $category_list = array(); "Michael Zornek" <[EMAIL PROTECTED]> wrote in message news:[EMAI</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98788.html">RE: [PHP] Preventing the "hijacking" of pictures</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Preventing+the+%5C%22hijacking%5C%22+of+pictures%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Sysadmin%22&o=newest">Sysadmin</a></span> </div> <blockquote><span class="msgFragment"> What about using a MySQL database? Insert the picture into a field in a table, then use a php script to call the data. I've been working on something like this. Is it practical, or am I barking up the wrong tree? -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent:</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98787.html">Re: [PHP] How do I display the script file name?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+do+I+display+the+script+file+name%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Stephen+Ford%22&o=newest">Stephen Ford</a></span> </div> <blockquote><span class="msgFragment"> By including "\n" the html source looks like this, which is fine. I'll RTFM about $_SERVER and post back if in trouble. Thanks for help. Stephen $_SERVER['PHP_SELF']= $_SERVER['SCRIPT_NAME'] (etc)= __FILE__=/path/sfindex03.php $SCRIPT_FILENAME=/path/sfindex03.php Basename=sfindex03.php -- </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98786.html">Re: [PHP] Re: Mail (), BBC: recipients not receiving my Newsletter</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Re%5C%3A+Mail+%5C%28%5C%29%2C+BBC%5C%3A+recipients+not+receiving+my+Newsletter%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Manuel+Lemos%22&o=newest">Manuel Lemos</a></span> </div> <blockquote><span class="msgFragment"> Hello, On 02/27/2003 02:22 PM, Ricardo Fitzgerald wrote: I've dl your class and read some of your test scripts, but it's not working at all I tested using test_personalized_bulk_mail.php And I got :'Error: it was not possible to send email message' You most likely have a PHP configuration problem</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98785.html">Re: [PHP] How do I display the script file name?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+do+I+display+the+script+file+name%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Leif+K%5C-Brooks%22&o=newest">Leif K-Brooks</a></span> </div> <blockquote><span class="msgFragment"> The Jason k Larson wrote: > I disagree. While I tend to stay away from short tags in general, the > use of the short echo tag has yet to cause any trouble for me. And it > makes code exceptionally easier to read, which proves to be a > valueable asset. Maybe you could provide and example w</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98784.html">Re: [PHP] How do I display the script file name?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+do+I+display+the+script+file+name%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jason+k+Larson%22&o=newest">Jason k Larson</a></span> </div> <blockquote><span class="msgFragment"> I disagree. While I tend to stay away from short tags in general, the use of the short echo tag has yet to cause any trouble for me. And it makes code exceptionally easier to read, which proves to be a valueable asset. Maybe you could provide and example where a short tag is causing some trouble</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98783.html">Re: [PHP] How do I display the script file name?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+do+I+display+the+script+file+name%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Stephen+Ford%22&o=newest">Stephen Ford</a></span> </div> <blockquote><span class="msgFragment"> I've checked up on strings, and it seems like the quoting is like the Korn shell. You can see below that I found basename() which works fine with __FILE__, but $_SERVER['PHP_SELF'] etc print nothing. Any ideas? Stephen =PHP== $_SERVER[\'PHP_SELF\']= '.$_SERVER['PHP_SELF'].""; echo '$_</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98782.html">RE: [PHP] Counting table fields having specific values</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Counting+table+fields+having+specific+values%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Rich+Gray%22&o=newest">Rich Gray</a></span> </div> <blockquote><span class="msgFragment"> Mike Try ... Rich > -Original Message- > From: rentAweek support [mailto:[EMAIL PROTECTED] > Sent: 27 February 2003 17:32 > To: [EMAIL PROTECTED] > Subject: [PHP] Counting table fields having specific values > > > I have a table where the row named "hide" can have a value 0 or 1. > I</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98781.html">Re: [PHP] How do I display the script file name?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+do+I+display+the+script+file+name%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jason+k+Larson%22&o=newest">Jason k Larson</a></span> </div> <blockquote><span class="msgFragment"> Actually, echo can handle multiple arguments, which it thinks those are. echo 'foo', "bar", $foobar; //one example //echo x3 echo 'foo'; echo "bar"; echo $foobar; echo 'foo'."bar".$foobar; //yet another echo example There are even more complex ways too and, of course, the use of ()s ... but I t</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98780.html">Re: [PHP] Problem wit doing ldap_add and modify in same script</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Problem+wit+doing+ldap_add+and+modify+in+same+script%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Bill+MacAllister%22&o=newest">Bill MacAllister</a></span> </div> <blockquote><span class="msgFragment"> --On Wednesday, February 26, 2003 06:05:20 PM -0500 Jim Greene <[EMAIL PROTECTED]> wrote: > So you suggest turning the $info into an array... How would I go > about using the: No, I don't suggest "turning the $info into any array". It already is an array. Quoting from the www.php.net docum</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98779.html">[PHP] how do I strptime?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+how+do+I+strptime%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Paul+Chvostek%22&o=newest">Paul Chvostek</a></span> </div> <blockquote><span class="msgFragment"> I currently do this: $raw="Nov 28 18:26:35 2002"; $when=`date -jf '%a %b %e %T %Y' "$raw" '+%s'`; when I'd much rather do this: $raw="Nov 28 18:26:35 2002"; $when=strptime($raw, '%a %b %e %T %Y'); which is of course a non-existent function in PHP. I'd like to stop calling a su</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98778.html">Re: [PHP] Counting table fields having specific values</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Counting+table+fields+having+specific+values%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Tim+Ward%22&o=newest">Tim Ward</a></span> </div> <blockquote><span class="msgFragment"> if ($array = mysql_fetcharray($result)) {echo $array["SUM( hide = 0 )"]; } although for readability I'd prefer an " AS sum_hide " in the query and then use $array["sum_hide"] in general for reading from a mysql result ... // for a single return row (or the just the first row) if ($result =</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98777.html">RE: [PHP] How do I display the script file name?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+How+do+I+display+the+script+file+name%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22M.A.Bond%22&o=newest">M.A.Bond</a></span> </div> <blockquote><span class="msgFragment"> With the output you are getting you will not see the output from the .' '. As it inserts a space into the ouputted text. There is an error after the $_SERVER['PHP_SELF'] the , should be a . (is this just a typo in the e-mail?) Thanks Mark -Original Message- From: Stephen Ford [mailto:[E</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98776.html">[PHP] Counting table fields having specific values</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+Counting+table+fields+having+specific+values%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22rentAweek+support%22&o=newest">rentAweek support</a></span> </div> <blockquote><span class="msgFragment"> I have a table where the row named "hide" can have a value 0 or 1. I want to obtain a count of all the rows where "hide" has value 0. The following works on mysqladmin: SELECT SUM( hide = 0 ) FROM `names` LIMIT 0, - 1 Giving SUM( hide = 0 ) 7 The PHP script statements generated are: $sql = </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98775.html">RE: [PHP] Emacs?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Emacs%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22John+W.+Holmes%22&o=newest">John W. Holmes</a></span> </div> <blockquote><span class="msgFragment"> I'm fairly certain we decided not to count you anyhow. ;) John > Nope. It's 41 (I don't use Emacs) > > At 15:30 27.02.2003, Larry Brown spoke out and said: > [snip] > >Oops...I stand corrected. > > > >Larry S. Brown > >Dimension Networks, Inc. > >(727) 72</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98774.html">RE: [PHP] form with multiple lines to insert</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+form+with+multiple+lines+to+insert%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22John+W.+Holmes%22&o=newest">John W. Holmes</a></span> </div> <blockquote><span class="msgFragment"> > I'm working on a form that will submit multiple lines of data to a > database. > > The form's style is that of an order form, where there are lines for each > item available, and a single submit button at the foot of the page. > > For example: > > === > Item Quantity > ---</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98773.html">RE: [PHP] Re: Mail (), BBC: recipients not receiving my Newsletter</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Re%5C%3A+Mail+%5C%28%5C%29%2C+BBC%5C%3A+recipients+not+receiving+my+Newsletter%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Ricardo+Fitzgerald%22&o=newest">Ricardo Fitzgerald</a></span> </div> <blockquote><span class="msgFragment"> Hi Manuel, I've dl your class and read some of your test scripts, but it's not working at all I tested using test_personalized_bulk_mail.php And I got :'Error: it was not possible to send email message' Thank you, Rick Off Price Closeouts 1700 W 8 Ave Miami, FL 33010 (305) 888 2555 FAX (305) 8</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98772.html">RE: [PHP] Preventing the "hijacking" of pictures</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+Preventing+the+%5C%22hijacking%5C%22+of+pictures%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22John+W.+Holmes%22&o=newest">John W. Holmes</a></span> </div> <blockquote><span class="msgFragment"> > I recently discovered the reason why the traffic is rising so high on my > server. Some people are "stealing" bandwidth. They include > the link of an image into a forum posting. Now everytime somebody reads > this > threat on the other site this image is > served by my server!! No one cares abou</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98771.html">Re: [PHP] How to create an empty array</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+to+create+an+empty+array%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Adam+Voigt%22&o=newest">Adam Voigt</a></span> </div> <blockquote><span class="msgFragment"> $category_list = array(); On Thu, 2003-02-27 at 12:17, Michael Zornek wrote: I want to create an empty array so I can add elements to it later I'm currently using: $catergory_list[] =array(); But when I try to print this list I discover</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98770.html">[PHP] How to create an empty array</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+How+to+create+an+empty+array%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Michael+Zornek%22&o=newest">Michael Zornek</a></span> </div> <blockquote><span class="msgFragment"> I want to create an empty array so I can add elements to it later I'm currently using: $catergory_list[] =array(); But when I try to print this list I discover the element zero has the string "Array" in it. How can I create a truly empty array? ~ Mike -- MikeZornek.com New blog, new Q&A column,</span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98769.html">Re: [PHP] When is garbage collection initiated?</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22%5C%5BPHP%5C%5D+When+is+garbage+collection+initiated%5C%3F%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22Jason+k+Larson%22&o=newest">Jason k Larson</a></span> </div> <blockquote><span class="msgFragment"> My understanding is: - each time a request causes a *session file to be created or accessed*. -- Jason k Larson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php </span> </blockquote><br> <h3><span class=subject><a href="/php-general@lists.php.net/msg98768.html">RE: [PHP] post xml</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=php-general%40lists.php.net&q=date:20030227&o=newest">2003-02-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=php-general%40lists.php.net&q=subject:%22RE%5C%3A+%5C%5BPHP%5C%5D+post+xml%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=php-general%40lists.php.net&q=from:%22John+W.+Holmes%22&o=newest">John W. Holmes</a></span> </div> <blockquote><span class="msgFragment"> > I am sending an xml request as part of the url using urlencode to encode > my > xml. It doesnt work like that so the server that is receiving it doesnt > seem to like the data in the query string. > However, if I send it from a form using the method post then it works > fine. > Is there a way to</span> </blockquote><br> <h2>  1   <a href="/search?l=php-general%40lists.php.net&q=date%3A20030227&o=newest&start=100">2</a>   <a href="/search?l=php-general%40lists.php.net&q=date%3A20030227&o=newest&start=100" accesskey="n"> > </a> </h2> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <h2> 1 - 100 of 161 matches</h2> <br> <ul><li><a href="/search?l=php-general%40lists.php.net&q=date%3A20030227&a=1&o=newest">Advanced search</a></li></ul> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="php-general@lists.php.net"> <label class="hidden" for="q">Search the list</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search php-general" value="date:20030227"> <input class="submitbutton" id="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <h2 class="hidden"> Site Navigation </h2> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"> <a href="/php-general@lists.php.net" title="c" id="c">php-general - all messages</a></li> <li class="icons-about"> <a href="/php-general@lists.php.net/info.html">php-general - about the list</a></li> <li class="icons-expand"><a href="/search?l=php-general%40lists.php.net&q=date%3A20030227&o=newest&f=1" title="e" id="e">Expand</a></li> </ul> </div> <div class="listlogo margintopdouble"> <h2 class="hidden"> Mail list logo </h2> <a href="/php-general@lists.php.net"><img src="/php-general@lists.php.net/logo.png" alt="aims"></a> </div> </div> <div class="footer" role="contentinfo"> <h2 class="hidden"> Footer information </h2> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> </ul> </div> <script language="javascript" type="text/javascript"> document.onkeydown = NavigateThrough; function NavigateThrough (event) { if (!document.getElementById) return; if (window.event) event = window.event; if (event.target.tagName == 'INPUT') return; if (event.ctrlKey || event.metaKey) return; var link = null; switch (event.keyCode ? event.keyCode : event.which ? event.which : null) { case 69: link = document.getElementById ('e'); break; } if (link && link.href) document.location = link.href; } </script> </body> </html>