Re: [PHP] phpinfo page doesn't display anything
Maybe you should check the CHMOD (authorizations). Check if the "Execute" level is on. "Jody Cleveland" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > You're calling it through a web server, right? > > Yup: > http://email.winnefox.org/wals/info.php > > Jody -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.
Make sure your form is sent through the method="POST" "David Scott" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > I am going through the introductory tutorial on http://www.php.net/ and am > stuck on this page: > http://www.php.net/manual/en/tutorial.forms.php > > I have been able to get all of the examples up to this point to work. > > The form is simple: it asks for a text "name", a text "age" and has a submit > button. The information is submitted to action.php. > > Action.php contains this code: > Hi . > You are years old. > > I saved action.php as a text file with only the information above. > > When I enter JoeBob into the name field and 27 into the age field, I get > this for output: > Hi > Notice: Undefined index: name in c:\inetpub\wwwroot\action.php on line 1 > . You are > Notice: Undefined index: age in c:\inetpub\wwwroot\action.php on line 2 > years old. > > What can I do to remedy this? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php.ini
You have it in the zip when you download from php.net "Gregory Hernandez" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > hello. > > quick question. > can someone give a small example of what a php.ini file would look > like? > i had no php.ini file so i created blank one. > > if i wanted to set register_globals on (for example), how would i put > this in the php.ini file? > > or if i wanted to enable support for curl (for example) how would i do > this? > > > thanks, > > gregory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MySQL ?
I am really sorry but i can't find any good mySQL good mailing list... How can i make a little php function to check if a table exists ? Thanks a lot, Hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Variables and http
Hi all, I have a page (to create a database) with X text fields called chpX (chp0, chp1, chp2..Etc) that posts these variables to a php file. I would like to know how can i get these values ? (I have also the $i variable that tells me what is the max X) Thanks, Hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Newbie Question
Hi all, I have a mySQL database called "srchresult" in a "srchresult" base. In it, i have 9 fields. Everything works perfectly. I would like to know how can i list in a HTML table 30 results for example but only with 7 columns (7 fields only) ? I 've tried some scripts but i can't work this out (i'm a newbie) Thanks a lot, Hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Loooooooooonnnnnnnnnnggggggggg
Hi all, I made a script that works on a very long charachter chain and its process is lnggg about 5 minutes ! Do you have any tips to make it faster ? Thanks, Hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to break a "while" loop ?
Hi all, I made a while loop and i'd like to know the comand to break it from inside. Here is my script : while ($michou<=$maxFiles){ /// My script and ate the end : if ($michou>$michoumax) { break; } } But it doesnt work Can i put 2 conditions in the while() command ? if yes, what is the structure ? Thanks, hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need difficult help !
Thanks for all but i found a way to do it ! Regards > > Or you could use hash instead of string to store data. > > Hashes work basicly like arrays but you can use string as key/index value > and assosiate it with another string. > > And if you like to give that hash ie. as parameter to a another > php-script, one could use: > > $param = serialise($myHash); > > ... > > $hash = unserialise($param); > > .. you got the idea ? :) > > > On Fri, 15 Nov 2002, Ewout de Boer wrote: > > > You could try something like this: > > > > > > $verylongstring > > $data = ... // your cut function > > $verylongstring = substr($verylongstring, strln($data); > > > > > > > > regards, > > > > Ewout de Boer > > > > - Original Message - > > From: "Hacook" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, November 15, 2002 11:39 AM > > Subject: [PHP] Need difficult help ! > > > > > > > Hi all, > > > I have a very long charachter chain which is like that : > > > > > > Number*link*name*Number*link*name*Number*link*name*Number*link*name* > > > > > > I made a php script to cut it thanks to the "*" to make a list with a > > > number, and the name hyperlinked to the link. > > > The thing is that after i get a data (number, link or name), i use > > > str_replace to cut it off the chain to get the next one. > > > But as my numbers are sometime the same, i have troubles because it cuts > > all > > > the same numbers off. > > > Can i just cut one ? > > > Thanks a lot for reading me and maybe answer me ? :-) > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > > > > > -- > Lauri Jakku [ lauridotjakkuatwapicedotcom ] \-^-/ .- Idiots try to maintain > Tel : +358 40 823 6353 / +358 6 321 6159 ( o o )order, We can control > Addr: Ahventie 22-24 N 150/1, 62500 Vaasa _o00o___o00o_ chaos. { nospam.org } > http://www.wapice.com/~lauri/gnupg.key.asc > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Need difficult help !
Hi all, I have a very long charachter chain which is like that : Number*link*name*Number*link*name*Number*link*name*Number*link*name* I made a php script to cut it thanks to the "*" to make a list with a number, and the name hyperlinked to the link. The thing is that after i get a data (number, link or name), i use str_replace to cut it off the chain to get the next one. But as my numbers are sometime the same, i have troubles because it cuts all the same numbers off. Can i just cut one ? Thanks a lot for reading me and maybe answer me ? :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php