php-general Digest 12 May 2001 19:55:41 -0000 Issue 682 Topics (messages 52550 through 52587): Re: Simulate the Enter key in Unix with PHP 52550 by: barce uploading problems 52551 by: Theo Richel 52562 by: SED mysql - SUBSTRING 52552 by: andreas \(.work\) 52553 by: CC Zona Test, please delete 52554 by: ws Re: Multiple ASP 2 PHP conversion 52555 by: Christian Reiniger Re: Hidden Input and Quotes? 52556 by: Christian Reiniger Re: grep all pages 52557 by: ,,, COM in PHP 52558 by: ws Re: gdImageCreateFromJpeg in -lgd... no 52559 by: Don Read Re: Site search engine suggestion. 52560 by: B. van Ouwerkerk 52573 by: Miles Thompson 52578 by: Ethan Schroeder 52583 by: ~~~i LeoNid ~~ 52586 by: Ryan W. Zajicek Re: PHP 4.0.5 - segmentation fault when using OCI8 52561 by: Robert Mena 52567 by: Thies C. Arntzen Re: php site hacked? 52563 by: sunny hundal 52566 by: py my query results won't clear! :( 52564 by: sunny hundal pdf generation 52565 by: Jochen Kaechelin 52576 by: Michael Kimsal Newbie Question. 52568 by: Raven 52572 by: Ethan Schroeder 52575 by: Miles Thompson 52577 by: Miles Thompson Re: PHP Editor 52569 by: Laurie Landry 52582 by: tcuhost.hotmail.com 52584 by: Altunergil, Oktay 52587 by: Ryan W. Zajicek Books! 52570 by: FredrikAT 52571 by: Adaran (Marc E. Brinkmann) 52574 by: Young Chi-Yeung Fan checking the mp3 bitrate 52579 by: Siim Einfeldt aka Itpunk File Permissions 52580 by: Phil Ewington referencing a constant inside an object 52581 by: cw 52585 by: Ethan Schroeder Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
ERRATA to the PREVIOUS E-MAIL: the following line: > pass: <input type=password name=user><br> should read: pass: <input type=password name=pass><br>
I try to upload a .sql file with PHPMyAdmin. Below 1 mb: no problem, above 1mb: impossible. We have increased the max_upload_file_size in PHP.ini but it still doesnt work. What other parameters in the php.ini influence this? Thanks very much Theo Richel
Hi Theo, I'm not sure it will help, but can it be because of script execution time? Increase the time I try again. If it works, please let me know. Greetz, SED -----Original Message----- From: Theo Richel [mailto:[EMAIL PROTECTED]] Sent: 12. maí 2001 08:17 To: [EMAIL PROTECTED] Subject: [PHP] uploading problems I try to upload a .sql file with PHPMyAdmin. Below 1 mb: no problem, above 1mb: impossible. We have increased the max_upload_file_size in PHP.ini but it still doesnt work. What other parameters in the php.ini influence this? Thanks very much Theo Richel
hi, if i use SUBSTRING(field,pos,len) in a SELECT statement it works fine but i cant work it out how to use this function in the WHERE clause ... WHERE SUBSTRING(field,pos,len) LIKE "ABC" ... WHERE SUBSTRING(field,pos,len) = 'ABC' ... WHERE SUBSTRING(field,pos,len) LIKE 'ABC' none of them work is this not possible or whats wrong ? thank you andreas
In article <000c01c0dabb$422d2bd0$01000001@devel01>, [EMAIL PROTECTED] ("andreas \(@work\)") wrote: > but i cant work it out how to use this function in the WHERE clause > > ... WHERE SUBSTRING(field,pos,len) LIKE "ABC" > ... WHERE SUBSTRING(field,pos,len) = 'ABC' > ... WHERE SUBSTRING(field,pos,len) LIKE 'ABC' > > none of them work Hard to say what's wrong without actual an actual query to look at, nor info on what error (if any) MySQL is reporting. Though perhaps as a point of reference, do note that use of the "like" keyword should usually be accompanied by a wildcard character, usually the "%": like "ABC%" like "%ABC" like "%ABC%" etc. IOW, "LIKE" without wildcards is the same as using the "=" comparison operator. -- CC
XXXX
On Saturday 12 May 2001 00:51, Brandon Orther wrote: > Hello, > > I found asp2php to be a great tool. Does anyone know of a way to make > it convert a whole directory or more than one file at a time? I don't know asp2php, but a simple cd src for i in `find -name '*.php'` ; do asp2php $i ../dest/$i done should do it in any decent environment (i.e. any Unix flavor :) -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Install once, run forever. Linux.
On Saturday 12 May 2001 04:20, Young Chi-Yeung Fan wrote: > If you have <input type="hidden" name="data" value="The word > "here" is in quotes." />, then when you submit your form, > $HTTP_POST_VARS["data"] or $HTTP_GET_VARS["data"] will be: > > The word \"here\" is in quotes. > > So you can put the value straight into MySQL. The slashes will not show > up in MySQL. The browser converted the " into ", and PHP for some > reason (I still don't know why) adds slashes before your ' and " The reason is that in your php.ini there is an entry magic_quotes_gpc = on set this to 'off' and the slashes are gone. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Install once, run forever. Linux.
Dear Sir I have received your email at the innovative-pk.com I want to know that to which user this email is destined cc at [EMAIL PROTECTED] Thanks & Regars Asim Ansari On Saturday, May 12, 2001 at 12:37:26 AM, Young Chi-Yeung Fan wrote: > Yamin Prabudy wrote: > > > Hi there > > I like to know can i grep a page say on http://www.somedomain.com > > (just the index.html) > > if it's possible can any guru out there enlight me how to do that > > I haven't done what you're trying myself, but the info on these two pages > might be helpful: > > http://www.php.net/manual/en/features.remote-files.php > http://www.php.net/manual/en/function.preg-grep.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > ,,, e-mail: [EMAIL PROTECTED]
Hi, here my problem with COM in PHP. <? echo "J-Server in der dynamischen PHP-Web-Site. <br><br>"; $jServer = new COM("jexeserver") or DIE ("Connect zum J Server ist nicht möglich"); $jServer->Show(1); $jServer->Log(1); $jServer->Do("0!:0 <(1!:40''),'system\extras\config\profile.ijs'"); $jServer->Do("load'd:\\j_tm1dll\\j\\tm1api.ijs'"); $jServer->Do("load'd:\\j_tm1dll\\j\\tm1con.ijs'"); $jServer->Do("load'd:\\j_tm1dll\\j\\tm1prop.ijs'"); $jServer->Do("load'd:\\j_tm1dll\\j\\tm1view.ijs'"); $jServer->Do("Tm1On''"); $jServer->Do("Tm1AdmSet'OLAPLINE01'"); $jServer->Do("SrvCon'zeiterf';'Admin';''"); #$jServer->Do("NN=:'XXX'"); $Var = "xxx"; $jServer->SetB("NN", $Var); // In the COM server: NN = $Var $jServer->Do("NN"); // Display NN in the COM server $jServer->Do("NN=:'yyy'"); // In the COM server: NN = "yyy" $jServer->GetB("NN", &$Var); // <=============== There is my problem: (& is a refernce) // In the COM server &$Var = NN echo $Var; // echo $Var Output: xxx and not yyy ?!? $jServer->Quit(); ?> Is there a bug in my code or is this a bug in COM ??? Wolf Schoemann [EMAIL PROTECTED]
On 11-May-01 Markus Held wrote: > Can do what i want. I need gif and jpeg > > habe installed jpeg-6b , gd-1.8.4gif.tar.gz > No, GIF support was removed in v1.6 or so http://www.boutell.com/gd/ <snip> Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.
>Any suggestion for a better site search program? I know quite a few people who really love htdig. Don't know if it's better. Not sure how good it is handling .php files. You could give it a try. THink I remember a search PHP script at php.net.. or was it freshmeat.. not sure about name of location. Bye, B.
There's a link on the ht:dig site for PHP scripting, but it will pretty well work right out of the box. Miles At 02:31 PM 5/12/01 +0200, B. van Ouwerkerk wrote: >>Any suggestion for a better site search program? > >I know quite a few people who really love htdig. Don't know if it's better. > >Not sure how good it is handling .php files. > >You could give it a try. > >THink I remember a search PHP script at php.net.. or was it freshmeat.. >not sure about name of location. > >Bye, > > >B. > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED]
I use udmsearch and love it. If you want php pages searchable it does actual http requests, so it doesn't give source code. If you don't want php searchable, you can configure it to ignore any file extensions you want. It comes with a php interface built in, also. Ethan Schroeder ----- Original Message ----- From: "elias" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 10:18 AM Subject: [PHP] Site search engine suggestion. > Hello guys, > > I need that badly! I need a suggestion, advise, solution or whatever that > might help! > > I need a Site Search script for a page that mostly have .PHP files some are > dynamic and some are not. > Basically i was using WebGlimpse but whenever I search using it, It shows > the source code of the PHP files! > So for example if i search "echo" , WebGlimpse displays the .PHP file source > code! > > Any suggestion for a better site search program? > > -elias > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
On 12 May 2001 00:04:26 -0700 impersonator of [EMAIL PROTECTED] ("elias") planted &I saw in php.general: >Hello guys,>I need that badly! Hello. If you wouldn't mind disclosing your site address, and the server will allow it, I may try my php-indexer-by-links. And we will see if it'll work. No garantee, of course, (and i didn't index .php for myself) and no deadline promised, (4 now atleast) but if works, it could be to our mutual benefit (testing 4 me; and index+ searcher script .php 2 you). And you won't loose anything beside innocence (who needs it for this case:) of you hidden site-address. See, how searcher works at http://leo.portland.co.uk/srch/srch.php Leon id.
Just a side not here... :) udmSearch is now mnoGoSearch (http://search.mnogo.ru/) Thank You Ryan mailto:[EMAIL PROTECTED] -----Original Message----- From: Ethan Schroeder [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 12, 2001 2:25 PM To: elias Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Site search engine suggestion. I use udmsearch and love it. If you want php pages searchable it does actual http requests, so it doesn't give source code. If you don't want php searchable, you can configure it to ignore any file extensions you want. It comes with a php interface built in, also. Ethan Schroeder ----- Original Message ----- From: "elias" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 10:18 AM Subject: [PHP] Site search engine suggestion. > Hello guys, > > I need that badly! I need a suggestion, advise, solution or whatever that > might help! > > I need a Site Search script for a page that mostly have .PHP files some are > dynamic and some are not. > Basically i was using WebGlimpse but whenever I search using it, It shows > the source code of the PHP files! > So for example if i search "echo" , WebGlimpse displays the .PHP file source > code! > > Any suggestion for a better site search program? > > -elias > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi Thies, Yes, httpd is linked against pthread. I've compiled 4.0.4pl1 and so far it is working ok. This problem (segmentation fault) seems to be happening quite often (after reading some posts). ldd /usr/sbin/httpd libm.so.6 => /lib/libm.so.6 (0x4001a000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40037000) libdb.so.3 => /lib/libdb.so.3 (0x40065000) libdl.so.2 => /lib/libdl.so.2 (0x4009f000) libpthread.so.0 => /lib/libpthread.so.0 (0x400a4000) libc.so.6 => /lib/libc.so.6 (0x400b7000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) - Thanks. --- "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote: > On Fri, May 11, 2001 at 06:51:35AM -0700, Robert > Mena wrote: > > Hi, I have a development machine with 4.0.4pl1 > which > > has been used for creating a set of scripts to > access > > oracle (using stored procedures). > > > > It seems to be working fine (the problems that > I've > > encountered seems to be related to the > > oracle/procedure itself). > > > > Last night I moved the scripts to the production > > server. Eveything was working ok until I try to > > access the part the uses the oracle where it hangs > for > > a while and then gives me a [notice] child pid > XXXXX > > exit signal Segmentation fault (11). > > > > I've compiled using './configure' '--with-apxs' > > '--with-ttf' '--with-xml' '--with-gd' '--with-ftp' > > '--enable-session' '--enable-trans-sid' > '--with-zlib' > > '--enable-inline-optimization' > > '--with-oci8=/u01/app/oracle/product/8.1.7/' > > --with-mcrypt --enable-sigchild > > is your apache linked against -lpthread? > > please read > http://www.php.net/bugs-dos-and-donts.php and > submit a bug report (with backtrace). > > re, > tc __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
On Sat, May 12, 2001 at 05:36:30AM -0700, Robert Mena wrote: > Hi Thies, > > Yes, httpd is linked against pthread. > I've compiled 4.0.4pl1 and so far it is working ok. > This problem (segmentation fault) seems to be > happening quite often (after reading some posts). a backtrace would be useful! http://www.php.net/bugs-dos-and-donts.php tc > > ldd /usr/sbin/httpd > libm.so.6 => /lib/libm.so.6 (0x4001a000) > libcrypt.so.1 => /lib/libcrypt.so.1 > (0x40037000) > libdb.so.3 => /lib/libdb.so.3 (0x40065000) > libdl.so.2 => /lib/libdl.so.2 (0x4009f000) > libpthread.so.0 => /lib/libpthread.so.0 > (0x400a4000) > libc.so.6 => /lib/libc.so.6 (0x400b7000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 > (0x40000000) > > - Thanks. > --- "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote: > > On Fri, May 11, 2001 at 06:51:35AM -0700, Robert > > Mena wrote: > > > Hi, I have a development machine with 4.0.4pl1 > > which > > > has been used for creating a set of scripts to > > access > > > oracle (using stored procedures). > > > > > > It seems to be working fine (the problems that > > I've > > > encountered seems to be related to the > > > oracle/procedure itself). > > > > > > Last night I moved the scripts to the production > > > server. Eveything was working ok until I try to > > > access the part the uses the oracle where it hangs > > for > > > a while and then gives me a [notice] child pid > > XXXXX > > > exit signal Segmentation fault (11). > > > > > > I've compiled using './configure' '--with-apxs' > > > '--with-ttf' '--with-xml' '--with-gd' '--with-ftp' > > > '--enable-session' '--enable-trans-sid' > > '--with-zlib' > > > '--enable-inline-optimization' > > > '--with-oci8=/u01/app/oracle/product/8.1.7/' > > > --with-mcrypt --enable-sigchild > > > > is your apache linked against -lpthread? > > > > please read > > http://www.php.net/bugs-dos-and-donts.php and > > submit a bug report (with backtrace). > > > > re, > > tc > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/
ok, i just clicked on the uk.php.net/mirrors.php and i got nothing. so i went to uk.php.net and i get some wierd "online.co.uk" corporate site which has no relation to php at all. am i the only one who gets this feeling someone's replaced the uk.php.net files?? /sunny --- "Altunergil, Oktay" <[EMAIL PROTECTED]> wrote: > I hate the fact that php.net, phpbuilder.com are down very > frequently and > mysql.com is slow usually.. > > It's too bad for our image. > > Oktay Altunergil > > -----Original Message----- > From: Philip Olson [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 1:26 PM > To: Don Pro > Cc: php list > Subject: Re: [PHP] Documentation > > > > > http://uk.php.net/mirrors.php > > > regards, > philip > > On Fri, 11 May 2001, Don Pro wrote: > > > Does anyone know alternative sites for PHP documentation? > > > > www.php.net seems to be down. > > > > Thankls, > > Don > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
You are not the only one, this is strange indeed, I would not believe it is a hacked tho. Maybe a technicien mixed up the dns db, or something like that ! Go to: http://uk2.php.net/ wich is fine, py ----- Original Message ----- From: sunny hundal <[EMAIL PROTECTED]> To: Altunergil, Oktay <[EMAIL PROTECTED]>; 'Philip Olson' <[EMAIL PROTECTED]>; Don Pro <[EMAIL PROTECTED]> Cc: php list <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 2:31 PM Subject: RE: [PHP] php site hacked? > ok, i just clicked on the uk.php.net/mirrors.php and i got nothing. > so i went to uk.php.net and i get some wierd "online.co.uk" corporate > site which has no relation to php at all. > > am i the only one who gets this feeling someone's replaced the > uk.php.net files?? > > /sunny > > > --- "Altunergil, Oktay" <[EMAIL PROTECTED]> wrote: > I hate the > fact that php.net, phpbuilder.com are down very > > frequently and > > mysql.com is slow usually.. > > > > It's too bad for our image. > > > > Oktay Altunergil > > > > -----Original Message----- > > From: Philip Olson [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 11, 2001 1:26 PM > > To: Don Pro > > Cc: php list > > Subject: Re: [PHP] Documentation > > > > > > > > > > http://uk.php.net/mirrors.php > > > > > > regards, > > philip > > > > On Fri, 11 May 2001, Don Pro wrote: > > > > > Does anyone know alternative sites for PHP documentation? > > > > > > www.php.net seems to be down. > > > > > > Thankls, > > > Don > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] > > > > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > >
i'm running a select query on a table, using php of course, and i have a form right underneath it which has similar names to the information in selected in the query above. yet despite using mysql_free_results before my form starts, it still keeps the last result of the query 1 in memory :( are there any solutions?? thanks /sunny ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
Hello list! When you create a pdf-document with Adobe Acrobat you can protect it with a password! Is there a way to protect it with php's pdf-funtions, too! I found nothing in the docs! -- phpArbeitsgruppe in Gruendung - Jochen Kaechelin Stuttgarter Str.3, D-73033 Goeppingen Tel. 07161-92 95 94, Fax 07161-92 95 98 http://www.php-arbeitsgruppe.de, mailto:[EMAIL PROTECTED]
On Sat, 12 May 2001, Jochen Kaechelin wrote: > Hello list! > > When you create a pdf-document with Adobe Acrobat > you can protect it with a password! > Is there a way to protect it with php's pdf-funtions, too! > > I found nothing in the docs! > No - there is no way to do this. Those password functions are proprietary to Adobe, though they have documented the internal algorithms. I don't think the password stuff will work if you use a non-adobe viewer. The non-adobe viewer would just try to render it without checking for a password. Apparently adobe normally encrypts the data if you use a password, so it's pretty non-workable to use a non-adobe reader against an adobe-encrypted pdf file. However, all this is based on my research of about 1 year ago - recollections might be a bit fuzzy on the details.
Hello to all. This is probably the most basic question of th PHP general list. I just installed PHP 4.0.5 on Apache 1.2.19. Could someone please explain a very basic test. I would like to write a "Hello World" page as a test. I have tried the following: And named the page: index.php and index.html <html> <head> <title>PHP Testing Ground</title> <body> <?php echo "Hello World"; ?> </body> </html> index.php - Displays the html code index.html - displays blank - exept I see the title: PHP Testing Ground in the title header of the browser. So the pages are loading. Help? How do I test this to see that Apache is configured correctly. PS: I followed the PHP Manual instructions for installing PHP on php.net. Apache reported setting up correctly after running make install. Any help would be appreciated. Thanks in advance, Tom Bedell Newbie
In your apache conf, make sure you have something similar to: AddType application/x-httpd-php .php .phtml .inc If you don't, add it and restart apache. ----- Original Message ----- From: "Raven" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 12:04 PM Subject: [PHP] Newbie Question. > Hello to all. > > This is probably the most basic question of th PHP general list. I just > installed PHP 4.0.5 on Apache 1.2.19. > > Could someone please explain a very basic test. > > I would like to write a "Hello World" page as a test. > > I have tried the following: And named the page: index.php and index.html > > <html> > <head> > <title>PHP Testing Ground</title> > <body> > <?php echo "Hello World"; ?> > </body> > </html> > > index.php - Displays the html code > index.html - displays blank - exept I see the title: PHP Testing Ground in > the title header of the browser. So the pages are loading. > > Help? How do I test this to see that Apache is configured correctly. > > PS: I followed the PHP Manual instructions for installing PHP on php.net. > Apache reported setting up correctly after running make install. > > Any help would be appreciated. > Thanks in advance, > Tom Bedell > Newbie > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Did you stop and restart Apache? Are the page types properly added to httpd.conf? (See the instructions, near the end.) Did you move and rename the .ini file, as in the instructions? If all those are OK, create this simple file in your web root, callinf it phpinfo.php: <? phpinfo(); ?> and call it from your browser. If everything is running properly, you will get a couple of attractively formatted screenfuls of information about your installation. To chekc apache's configuration, go to the /bin directory where apache is intstalled and type either: ./apachectl --help or ./hhtpd --help And you will bet the switches to use for checking status, starting, stopping, et.c This should be enough to get you going, and hope it helps. Miles Thompson PS Did I read the version of Apache correctly? 1.2? If so, go get the latest 1.3, 1.2 is really old. /mt At 12:04 PM 5/12/01 -0700, you wrote: >Hello to all. > >This is probably the most basic question of th PHP general list. I just >installed PHP 4.0.5 on Apache 1.2.19. > >Could someone please explain a very basic test. > >I would like to write a "Hello World" page as a test. > >I have tried the following: And named the page: index.php and index.html > ><?php echo "Hello World"; ?> >index.php - Displays the html code >index.html - displays blank - exept I see the title: PHP Testing Ground in >the title header of the browser. So the pages are loading. > >Help? How do I test this to see that Apache is configured correctly. > >PS: I followed the PHP Manual instructions for installing PHP on php.net. >Apache reported setting up correctly after running make install. > >Any help would be appreciated. >Thanks in advance, >Tom Bedell >Newbie > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED]
Sorry, should be ./httpd --help Miles At 01:52 PM 5/12/01 -0300, Miles Thompson wrote: ><snip> >or >./hhtpd --help <snip>
I like using Homesite - color coordination of code as well. I use Dreamweaver for the design elements as well, but sometimes it doesn't work very well for php coding. Laurie M. Landry <lmlweb> Design & Development www.lmlweb.com [EMAIL PROTECTED] T: (604) 872-6915 F: (425) 732-1547 > -----Original Message----- > From: Dave Mateer [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 2:36 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP Editor > > > I'm using ColdFusion Studio which makes life very easy - good colour > co-ordination of the code, and only takes 1 button the do an FTP upload up > to the web-server (I'm using a Windows box to do editing, then a Linux box > as webserver). > > We've been using Dreamweaver as well to bring the design elements > together...works well, when you're doing the html stuff. For > pure coding, I > recommend ColdFusion Studio. ahhh it costs money though. > > Textpad (from textpad.com) is good...can d/load an evaluation copy (fully > functional, and doesn't time out).. > > Hope this help > > David. > > > > "Daniel" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > Just wondering whether you guys use any type of editor when > programming in > > PHP? if so what have you found to be useful? > > > > > > Thanks > > > > > > Daniel > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > >
I use textpad. http://www.textpad.com. You can arrange your own coloring config and there are some very cool elements about it.... there are even modules to load into it for added functionality.... once you use it you will never go back..mmuuwwahahahaha ----- Original Message ----- From: "Laurie Landry" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 9:24 AM Subject: RE: [PHP] PHP Editor I like using Homesite - color coordination of code as well. I use Dreamweaver for the design elements as well, but sometimes it doesn't work very well for php coding. Laurie M. Landry <lmlweb> Design & Development www.lmlweb.com [EMAIL PROTECTED] T: (604) 872-6915 F: (425) 732-1547 > -----Original Message----- > From: Dave Mateer [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 2:36 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP Editor > > > I'm using ColdFusion Studio which makes life very easy - good colour > co-ordination of the code, and only takes 1 button the do an FTP upload up > to the web-server (I'm using a Windows box to do editing, then a Linux box > as webserver). > > We've been using Dreamweaver as well to bring the design elements > together...works well, when you're doing the html stuff. For > pure coding, I > recommend ColdFusion Studio. ahhh it costs money though. > > Textpad (from textpad.com) is good...can d/load an evaluation copy (fully > functional, and doesn't time out).. > > Hope this help > > David. > > > > "Daniel" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > Just wondering whether you guys use any type of editor when > programming in > > PHP? if so what have you found to be useful? > > > > > > Thanks > > > > > > Daniel > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
There's no extended replace in textpad.. More specifically you can't do extended replace if the files are not all Open. On the other hand there's no , parantheses, bracket maching in HomeSite. I still use HomeSite though :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 12, 2001 2:40 PM To: PHP Subject: Re: [PHP] PHP Editor I use textpad. http://www.textpad.com. You can arrange your own coloring config and there are some very cool elements about it.... there are even modules to load into it for added functionality.... once you use it you will never go back..mmuuwwahahahaha ----- Original Message ----- From: "Laurie Landry" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 9:24 AM Subject: RE: [PHP] PHP Editor I like using Homesite - color coordination of code as well. I use Dreamweaver for the design elements as well, but sometimes it doesn't work very well for php coding. Laurie M. Landry <lmlweb> Design & Development www.lmlweb.com [EMAIL PROTECTED] T: (604) 872-6915 F: (425) 732-1547 > -----Original Message----- > From: Dave Mateer [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 2:36 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP Editor > > > I'm using ColdFusion Studio which makes life very easy - good colour > co-ordination of the code, and only takes 1 button the do an FTP upload up > to the web-server (I'm using a Windows box to do editing, then a Linux box > as webserver). > > We've been using Dreamweaver as well to bring the design elements > together...works well, when you're doing the html stuff. For > pure coding, I > recommend ColdFusion Studio. ahhh it costs money though. > > Textpad (from textpad.com) is good...can d/load an evaluation copy (fully > functional, and doesn't time out).. > > Hope this help > > David. > > > > "Daniel" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > Just wondering whether you guys use any type of editor when > programming in > > PHP? if so what have you found to be useful? > > > > > > Thanks > > > > > > Daniel > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
My personal favorite is Ultra Edit (www.ultraedit.com). Thank You Ryan mailto:[EMAIL PROTECTED] -----Original Message----- From: Altunergil, Oktay [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 12, 2001 1:42 PM To: '[EMAIL PROTECTED]'; PHP Subject: RE: [PHP] PHP Editor There's no extended replace in textpad.. More specifically you can't do extended replace if the files are not all Open. On the other hand there's no , parantheses, bracket maching in HomeSite. I still use HomeSite though :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 12, 2001 2:40 PM To: PHP Subject: Re: [PHP] PHP Editor I use textpad. http://www.textpad.com. You can arrange your own coloring config and there are some very cool elements about it.... there are even modules to load into it for added functionality.... once you use it you will never go back..mmuuwwahahahaha ----- Original Message ----- From: "Laurie Landry" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 9:24 AM Subject: RE: [PHP] PHP Editor I like using Homesite - color coordination of code as well. I use Dreamweaver for the design elements as well, but sometimes it doesn't work very well for php coding. Laurie M. Landry <lmlweb> Design & Development www.lmlweb.com [EMAIL PROTECTED] T: (604) 872-6915 F: (425) 732-1547 > -----Original Message----- > From: Dave Mateer [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 11, 2001 2:36 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP Editor > > > I'm using ColdFusion Studio which makes life very easy - good colour > co-ordination of the code, and only takes 1 button the do an FTP upload up > to the web-server (I'm using a Windows box to do editing, then a Linux box > as webserver). > > We've been using Dreamweaver as well to bring the design elements > together...works well, when you're doing the html stuff. For > pure coding, I > recommend ColdFusion Studio. ahhh it costs money though. > > Textpad (from textpad.com) is good...can d/load an evaluation copy (fully > functional, and doesn't time out).. > > Hope this help > > David. > > > > "Daniel" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > Just wondering whether you guys use any type of editor when > programming in > > PHP? if so what have you found to be useful? > > > > > > Thanks > > > > > > Daniel > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Can anyone recommend a php(/mysql) book? -- --------------------------------- Fredrik A. Takle [EMAIL PROTECTED]
Hi FredrikAT, FredrikAT> Can anyone recommend a php(/mysql) book? Well, I don't know what language you do expect. I have read 3 Books in German, the best of them was "Internet intern: PHP 4 + MySQL" by Rolf D. Stoll & Gudrun Anna Leier. It's from Data Becker, and It is a really good book for beginners to intermediate's. Someone else may suggest some English books :P ----------------------- EnjoY, Adaran ([EMAIL PROTECTED]) check http://www.adaran.net
FredrikAT wrote: > Can anyone recommend a php(/mysql) book? I like Paul DuBois's book "MySQL". There are a few sections on PHP and how to use it with MySQL. Aside from that, I think the online resources are more than sufficient to learn PHP -- you don't need to get a book. Young
Hi, When uploading an .mp3 file, is it possible to check its bit rate with php? If you know anything about it, please send a mail to my private email as well. Thanks Siim EInfeldt [EMAIL PROTECTED]
Hi All, I am having problems with file permissions. I am trying to use fopen() to write to a text file and get the error - 'permission denied'. I then used chmod("file.txt", 0755); and got the message that I was not the file owner, can someone help me out? PHP 3.0.9 Solaris 2.7/Apache 1.3.3 TIA Phil. BTW: I am completely new to PHP and Apache. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Phil Ewington - Cold Fusion Developer T: 01344 643138 M: 07811 309116 E: mailto:[EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm trying to reference $PHP_SELF and $REMOTE_USER inside a class: var $page; var $user; $this->page=$PHP_SELF; $this->user=$REMOTE_USER; I'm using php4. What am I missing here? TIA, clif
global $PHP_SELF; global $REMOTE_USER; ----- Original Message ----- From: "cw" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Saturday, May 12, 2001 11:28 AM Subject: [PHP] referencing a constant inside an object > I'm trying to reference $PHP_SELF and $REMOTE_USER inside a class: > > var $page; > var $user; > $this->page=$PHP_SELF; > $this->user=$REMOTE_USER; > > I'm using php4. What am I missing here? > > TIA, > clif > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >