[PHP] Installing php with gd what a pain!

2003-09-08 Thread Dhaval Desai
Hello Guys, I am trying to install php 4.3.2 with gd support. I have already installed zlib and jpeg-6b. My configure line options are as below: ./configure --with-gd --with-jpeg-dir=/usr/lib it doesn't work. I tried ./configure --with-gd --with-jpeg-dir=/usr/local/bin it still doesn't work even

[PHP] Question about MySQL 4.0

2003-09-08 Thread T. Hart
I'm just curious that if anything special has to be done to PHP (besides recompiling) after upgrading to MySQL 4.0. I noticed that they are removing C API commands like mysql_connect() and was unsure if these are the same ones that PHP uses. Any help would be appreciated. Thanks. _

Re: [PHP] Single Quotes vs Double Quotes

2003-09-08 Thread Raditha Dissanayake
Hi, the $ sign inside single quotes is just a dollar sign. When you place it inside double quotes it's the start of a variable name. This is because what is inside single quotes are unparsed while whats inside double quotes are parsed. For this reasong if you are having to print out lengthy stri

Re: [PHP] Single Quotes vs Double Quotes

2003-09-08 Thread Rodney Green
Try this: http://www.faqts.com/knowledge_base/view.phtml/aid/208 - Original Message - From: "micro brew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 12:03 AM Subject: [PHP] Single Quotes vs Double Quotes > Hi everyone, > > Could somebody please explai

[PHP] SSL Client in PHP

2003-09-08 Thread Alvar Saenz Otero
Hi, I found the following e-mail in a PHP Development Archive, and I have exactly the same questions... ufnortunately there was no answer in the archive, only the pointer to e-mail this list. If you can help me, it would be greatly appreciated! Alvar To: php-dev at

Re: [PHP] Single Quotes vs Double Quotes

2003-09-08 Thread Chris Shiflett
--- micro brew <[EMAIL PROTECTED]> wrote: > Could somebody please explain to me the difference > between single quotes and double quotes in PHP. Strings within single quotes are not evaluated. String within double quotes are. Try this example: If there is nothing to be evaluated (such as a vari

Re: [PHP] Single Quotes vs Double Quotes

2003-09-08 Thread Tom Rogers
Hi, Tuesday, September 9, 2003, 2:03:34 PM, you wrote: mb> Hi everyone, mb> Could somebody please explain to me the difference mb> between single quotes and double quotes in PHP. It mb> seems like they can be used interchangeably a lot in mb> PHP but not always. For example: mb> This works: mb>

php-general Digest 9 Sep 2003 04:03:37 -0000 Issue 2286

2003-09-08 Thread php-general-digest-help
php-general Digest 9 Sep 2003 04:03:37 - Issue 2286 Topics (messages 161999 through 162033): Re: Passing query parameter which has value "###" 161999 by: murugesan Re: Creating a Calender 162000 by: Curt Zirzow 162023 by: Sn!per upload problems 162001 by: Do

[PHP] Single Quotes vs Double Quotes

2003-09-08 Thread micro brew
Hi everyone, Could somebody please explain to me the difference between single quotes and double quotes in PHP. It seems like they can be used interchangeably a lot in PHP but not always. For example: This works: header('Location: http://somedomain.com') This does not work: header('Location: $u

Re: [PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
yeah, sure. well, for archival purposes, i couldnt do it with PHP. the verbose option didnt work with PHP, CURLOPT_VERBOSE. but it did work on the command line. so i logged in and re-created my curl transfer on the command line with an added -v, for verbose. and it gave me back the headers it sent

Re: [PHP] Re: curl and sent headers

2003-09-08 Thread Chris Shiflett
--- John Ryan <[EMAIL PROTECTED]> wrote: > is there any way of seeing exactly what headers cURL sent in a > transfer, with PHP? --- John Ryan <[EMAIL PROTECTED]> wrote: > i found out myself if anyone wants to know... Yes, please. It is always helpful (and courteous) to mention how you solved your

[PHP] Re: Problem Coding a Tutorial

2003-09-08 Thread Stephen Tiano
Kae, Excuse my being dense, but I just want to get your meaning with the lines you added. You're saying to substitute if($_POST['submit']=='Sign!') for if ($submit == "Sign!") and to try ('$_POST[name]', ... (and not $_POST['name'])? Thank you. Steve Tiano -- PHP General Mailing List (ht

[PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
i found out myself if anyone wants to know... "John Ryan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is there any way of seeing exactly what headers cURL sent in a transfer, > with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] Database sessions and file sessions

2003-09-08 Thread Chris Shiflett
--- CDitty <[EMAIL PROTECTED]> wrote: > Can database sessions and file system sessions co-exist on the same > server. Sure, and it is trivial to do unless you are wanting to use the data from both sessions with the same application, though that is still possible. If you need to share data, you c

[PHP] tv programme lineup

2003-09-08 Thread Sn!per
nebody know where i can find a script that does something like: (the admin module) - add/edit/delete tv programme lineup daily/weekly/monthly - lineup will include things like programme title, episode, time, synopsis etc (the public portion) - can perform search - calendar - hilights - etc pls a

[PHP] Database sessions and file sessions

2003-09-08 Thread CDitty
Can database sessions and file system sessions co-exist on the same server. I have 2 applications that use sessions. One uses the standard php sessions and the other uses sessions that are stored in the database. Neither of these can be changed. Can anyone offer any advice on this? Chris

Re: [PHP] Re: Beta Testers Needed - Free software opportunity

2003-09-08 Thread andu
On Mon, 8 Sep 2003 16:48:24 -0700 (PDT) Chris Shiflett <[EMAIL PROTECTED]> wrote: > --- andu <[EMAIL PROTECTED]> wrote: > > Experience proves that his business model has worked in the past as > > well as present (not that I support or practice it), just count the > > number of people still buying

[PHP] Mail() question

2003-09-08 Thread Ryan A
Hi everyone, I am trying to create a new newsletter software as the ones i found on hotscripts were just not good enough or mucho $$ which i dont have :-( Have finished the basics but need some advise now. I am using a mysql database instead of text files. I have a table with the fields "name" an

Re: [PHP] Creating a Calender

2003-09-08 Thread Sn!per
PEAR Date Calc is your friend. rgds. -- Quoting "CPT John W. Holmes" <[EMAIL PROTECTED]>: > From: "Dan Anderson" <[EMAIL PROTECTED]> > > > > Does anybody know how to generate calendars easily? (i.e. print out > > complete calenders from the current month on) > > I'd check out PEAR or phpcla

Re: [PHP] Re: Beta Testers Needed - Free software opportunity

2003-09-08 Thread Chris Shiflett
--- andu <[EMAIL PROTECTED]> wrote: > Experience proves that his business model has worked in the past as > well as present (not that I support or practice it), just count the > number of people still buying and using Windows (or OSX for that > matter) when Linux has been around for all these years

[PHP] countries,states and cities

2003-09-08 Thread Augusto Cesar Castoldi
hi... where can I download a database with all countries and states and cities? like: http://www.datingplace.com/servlet/NewRegistration thanks, Augusto ___ Desafio AntiZona: participe do jogo de perguntas e respostas que vai

Re: [PHP] Re: Beta Testers Needed - Free software opportunity

2003-09-08 Thread andu
On Tue, 09 Sep 2003 00:58:07 +0300 Bogdan Stancescu <[EMAIL PROTECTED]> wrote: > I think you could adjust your business model a bit, there are quite a > few GPL projects offering a lot more than what you do, in a better > groupware environment. For instance you could check out > http://www.guyd

[PHP] curl and sent headers

2003-09-08 Thread John Ryan
is there any way of seeing exactly what headers cURL sent in a transfer, with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux Issues

2003-09-08 Thread Stephen Craton
Thanks for the email but I found the reason for it all not working. I have an ATI Radeon 9800 Pro and it's not supported by the Linux Kernel yet so... Thanks anyway, Stephen - Original Message - From: "Viraj Kalinga Abayarathna" <[EMAIL PROTECTED]> To: "Stephen Craton" <[EMAIL PROTECTED

[PHP] Re: Beta Testers Needed - Free software opportunity

2003-09-08 Thread Bogdan Stancescu
I think you could adjust your business model a bit, there are quite a few GPL projects offering a lot more than what you do, in a better groupware environment. For instance you could check out http://www.guydavis.ca/opt/ for a demo of a GPL project at least a few orders of magnitude above the o

[PHP] Beta Testers Needed - Free software opportunity

2003-09-08 Thread Matt Palermo
First, I would like to thank all of you who have helped me with my questions in the past. I am going to return the favor by giving you an opportunity to receive a free copy of the latest version of a calendar program, called TotalCalendar. SweetPHP.com will be giving out free copies of this softw

[PHP] php,up2date and mcrypt

2003-09-08 Thread Steve Buehler
I have a new RedHat Linux v.9 server that gets its php through 'up2date'. I want the ability to use mcrypt with php. I thought that I read somewhere a way to do this without having to recompile PHP. Can anybody point me to the right place or explain to me how to do this? Thanks Steve -- PHP

Re: [PHP] adodb and php5

2003-09-08 Thread Gilberto Garcia Jr.
I use adodb cause I need an abstraction layer for database cause the application can run under mysql, mssql, oracle and pgsql. so i have one config file that has the parameters for the conection. this is the reason for me use adodb layer. now, about ADONewConnection(), this function is from adodb

RE: [PHP] adodb and php5

2003-09-08 Thread Jay Blanchard
[snip] Does anyone had tested ADODB with php5? [/snip] D'oh **slapping forhead** I shouldn't be driving this late on Monday afternoon. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] adodb and php5

2003-09-08 Thread CPT John W. Holmes
From: "Gilberto Garcia Jr." <[EMAIL PROTECTED]> > Does anyone had tested ADODB with php5? > I can make a query, print the recordcount but when i try to show the result i got nothing > > while (!$qry->EOF) { > echo $qry->fields['campo'] . ""; > > $qry->MoveNext(); > } You might want to ask on the

RE: [PHP] adodb and php5

2003-09-08 Thread Jay Blanchard
[snip] Does anyone had tested ADODB with php5? I can make a query, print the recordcount but when i try to show the result i got nothing PConnect('some', 'some', 'some', 'some'); [/snip] You do not need the ADODB connection if you are using MySQL. Are you connecting to Access or MS SQL? If you

[PHP] adodb and php5

2003-09-08 Thread Gilberto Garcia Jr.
Does anyone had tested ADODB with php5? I can make a query, print the recordcount but when i try to show the result i got nothing PConnect('some', 'some', 'some', 'some'); $seleciona = " select campo from tabela "; $qry =& $conn->Execute($seleciona); if (!$qry) { echo $conn->ErrorMsg(); echo

RE: [PHP] Try/Catch

2003-09-08 Thread Jay Blanchard
[snip] Try/Catch Well, may question is about the Scope of Throwed Execeptions. [/snip] What version of PHP are you running? Only V5 has this kind of exception handling. See http://www.php.net/zend-engine-2.php HTH! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] Simple Selection Box

2003-09-08 Thread Scott Miller
AAHH - stupid mistake - thanks! Guess I better re-read PHP-101 Thanks, Scott - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Scott Miller" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 1:54 PM Subject: RE: [PHP] Simple Selection Box > [s

RE: [PHP] Simple Selection Box

2003-09-08 Thread Jay Blanchard
[snip] You have an error in your SQL syntax near '; City='Eureka/'' at line 6 $sql = "INSERT INTO My_Table_Name SET First_Name='$fname', Last_Name='$lname', Username='$username', Password='$password', Phone_Number='$phone'; City='$city'

[PHP] Simple Selection Box

2003-09-08 Thread Scott Miller
I"m attempting to create a simple selection box in PHP, but to no avail. It keeps giving me an error: You have an error in your SQL syntax near '; City='Eureka/'' at line 6 Here's a snip from my code: Add New User New user added'); } else { echo('Error adding new user: ' .

[PHP] site with linux binaries??

2003-09-08 Thread John Ryan
hi, i wanna upgrade php, but i dont have, and can never have root access on my server, plus no gcc or anything, so is there any site with binaries of php for linux-x86, with pretty much, all extras and modules! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] Dynamic Form checking

2003-09-08 Thread Dan Anderson
if $quantity isn't filled you get NULL or FALSE. so you could use: if ($_POST['variable']) etc. Try posting less code and more question to the list. Nobody's going to wade through 5 pages of code to analyze it and give you an answer. -Dan On Mon, 2003-09-08 at 03:41, Aris Santillan wrote: >

Re: [PHP] upload problems

2003-09-08 Thread Dan Anderson
If you go to the PHP site they have a nice section on file uploads: http://us2.php.net/features.file-upload Double check that $_FILES['cat1_thumb']['error'] == 0 See: http://us2.php.net/manual/en/features.file-upload.errors.php -Dan -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] upload problems

2003-09-08 Thread Marek Kilimajer
Does the form contain ? Doug Parker wrote: I'm trying to do some uploading on my server, and I'm not getting any value for my "tmp" upload setting - meaning this code: $source = $_FILES['cat1_thumb']['tmp_name']; echo $source; returns nothing. The form is fine - meaning that the text input name i

[PHP] upload problems

2003-09-08 Thread Doug Parker
I'm trying to do some uploading on my server, and I'm not getting any value for my "tmp" upload setting - meaning this code: $source = $_FILES['cat1_thumb']['tmp_name']; echo $source; returns nothing. The form is fine - meaning that the text input name is correct and I am indeed selecting a fil

Re: [PHP] Re: Creating a Calender

2003-09-08 Thread Curt Zirzow
* Thus wrote Dave Dash ([EMAIL PROTECTED]): > > begin 666 cal.css > M+F-A;&5N9&%R('L*"6)Ohttp://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread murugesan
Thanks for the reply.It is working -Murugesan - Original Message - From: "Chris Hayes" <[EMAIL PROTECTED]> To: "murugesan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 5:15 PM Subject: Re: [PHP] Passing query parameter which has value "###" > At 13:04 8-9-03,

[PHP] Re: Creating a Calender

2003-09-08 Thread Dave Dash
I've got a few elementry classes that might help, I think you just need to instantiate the class and then run the display method. "Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anybody know how to generate calendars easily? (i.e. print out > complete calenders

Re: [PHP] Creating a Calender

2003-09-08 Thread CPT John W. Holmes
From: "Dan Anderson" <[EMAIL PROTECTED]> > Does anybody know how to generate calendars easily? (i.e. print out > complete calenders from the current month on) I'd check out PEAR or phpclasses.org. I'm sure something is already written, but I don't know of any personally. ---John Holmes... --

RE: [PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-08 Thread Javier Tacon
$email = "[EMAIL PROTECTED]"; if(eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $email)) print "Valid"; It should work. Javier Tacón Iglesias. -Mensaje original- De: Jami Moore [mailto:[EMAIL PROTECTED] Enviado el: lunes, 08 de septiembre de 2003 17:02 Para: [EMAIL PROTECT

[PHP] Creating a Calender

2003-09-08 Thread Dan Anderson
Does anybody know how to generate calendars easily? (i.e. print out complete calenders from the current month on) Thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-08 Thread Jackson Miller
I see too easy options for you. 1) use the Validate class in PEAR. It achieves what you want. 2) look at the Validate class in PEAR and copy -Jackson On Monday 08 September 2003 10:01, Jami Moore wrote: > Jason, > > I have already done so and not found an answer, which is why I am asking > th

[PHP] PHPMVC

2003-09-08 Thread Jonathan Villa
has anyone used PHPMVC (from phpmvc.net) and if so, what is your experience with it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-08 Thread Jami Moore
Jason, I have already done so and not found an answer, which is why I am asking the group now. Do you have a suggestion or have you found a link that may help? That would be ten times more useful than, "Search the archives or ask google." Jami Moore LightSpark Digital Designs [EMAIL PROTECTED] h

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Chris Shiflett
--- Sid <[EMAIL PROTECTED]> wrote: > Many people ask me if ASP.net is faster than PHP. I know for a fact > that it is (because PHP is not optimized). Don't be so easily fooled by hollow terms. Go here: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm Start with the slide entitled Benc

Re: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Raditha Dissanayake
Can't resist trowing in my 0.02 either: As dan pointed out it's so much faster to do things in php. When you take into consideration the fact that code on windows never work the way it's supposed you are saving a lot of man hours. Second point worth mentioning is that a given languages/framewo

Re: [PHP] Form data

2003-09-08 Thread Dan Anderson
Forget about cookies and sessions (because cookies are evil). The way I do something like this is: $value) { if (!(($key == 'dont_save') OR ($key == 'dont_save_2'))) { hidden($key, $value); } } function hidden($key, $value) // saves lots of time { print "\n"; } ?> Then you can keep i

Re: [PHP] Form data

2003-09-08 Thread Marek Kilimajer
Hidden form variables. Hardik Doshi wrote: Hi Group, I have a form for adding a university course details. It has some fields for which the parent form calls the child form. For example: Each course is associated with at least one faculty member. So when the user enters faculty member then first

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Dan Anderson
> OMG! PHP > is slower. The difference is .035 seconds. Does this matter? Who is > asking which is faster? Why do they care? Are they looking for a reason > to choose one technology over another? I totally agree with you, but I find it funny that many times when talking to people they

Re: [PHP] Form data

2003-09-08 Thread CPT John W. Holmes
From: "Hardik Doshi" <[EMAIL PROTECTED]> > I have a form for adding a university course details. > It has some fields for which the parent form calls the > child form. For example: Each course is associated > with at least one faculty member. So when the user > enters faculty member then first use

[PHP] Form data

2003-09-08 Thread Hardik Doshi
Hi Group, I have a form for adding a university course details. It has some fields for which the parent form calls the child form. For example: Each course is associated with at least one faculty member. So when the user enters faculty member then first user needs to find the appropriate faculty m

Re: [PHP] Procedural Code Issue

2003-09-08 Thread Marek Kilimajer
Safe mode? If safe mode is on and the image is owned by apache, the script that is owned by your acount cannot read the image. Nathan Taylor wrote: Hey Guys, I am developing code that uses GD to create and store an image but it is giving me trouble with GetImageSize, maybe you guys can offer som

Re: [PHP] php, denial of service attack

2003-09-08 Thread John W. Holmes
nabil wrote: I have a postnuke website and i had denial of service attack the point is the attack is one only the home php page ... with cpu 100% and few apache procceses.. Any comment ? It was not me. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect:

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Sid
> Apparently if you read the terms of agreement when installing .NET > you can't publish your benchmarking results without their > permission. Is Micro$oft©® scared of being beaten? Now I am going to get the benchmarking results by hook or crook! Now I HATE M$. aahh!! I've seen a comparison

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Jay Blanchard
[snip] Many people ask me if ASP.net is faster than PHP. I know for a fact that it is (because PHP is not optimized). But then what about optimized PHP and compiled ASP.net. This would be a fairer comparison in my opinion. Anyone seen any benchmarks of this? If so please let me know as I would not

RE: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread Angelo Zanetti
yes David is right!! why dont you pass the password as a session variable? have you thought of it? I dont know how appropriate/inappropriate it will be. Angelo -Original Message- From: David Robley [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 1:53 PM To: [EMAIL PROTECTED] S

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Angelo Zanetti
Apparently if you read the terms of agreement when installing .NET you can't publish your benchmarking results without their permission. just a thought. would be interesting to see comparison, and maybe also JSP, cold fusion -Original Message- From: Sid [mailto:[EMAIL PROTECTED] Sent: Mo

Re: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread Chris Hayes
At 13:04 8-9-03, you wrote: I passed value main.php?name=$name&id=$id&id1=$id1 to next page where $id has value "###" In the next page I was not able to get the $id and $id1 values and I am able to get the two values $id1 and $name when I used main.php?name=$name&id1=$id1 What might be the problem

[PHP] Try/Catch

2003-09-08 Thread --
Well, may question is about the Scope of Throwed Execeptions. Look my example: I have something like this: //...cut... try { $res = $this->curl->GET($this->url[0]); } catch (Exception $e) {

Re: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Not at all. I tried it. > When I see the properties of that page it is showing me > http://172.16.1.193/main.php?name=murugesh&id=#&[EMAIL PROTECTED] > > but the actual value for id is ### > > -Murugesan > > - Original Message

[PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Sid
Hello, Many people ask me if ASP.net is faster than PHP. I know for a fact that it is (because PHP is not optimized). But then what about optimized PHP and compiled ASP.net. This would be a fairer comparison in my opinion. Anyone seen any benchmarks of this? If so please let me know as I would

Re: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread murugesan
Not at all. I tried it. When I see the properties of that page it is showing me http://172.16.1.193/main.php?name=murugesh&id=#&[EMAIL PROTECTED] but the actual value for id is ### -Murugesan - Original Message - From: "Angelo Zanetti" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL

RE: [PHP] Passing query parameter which has value "###"

2003-09-08 Thread Angelo Zanetti
try this main.php?name=" . $name . "&id=" . $id . "&id1=" . $id1 . " HTH -Original Message- From: murugesan [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Passing query parameter which has value "###" I passed value main.php?na

Re: [PHP] Problem Coding a Tutorial

2003-09-08 Thread murugesan
This may help you. //createenrty.php

[PHP] Re: null values

2003-09-08 Thread Bogdan Stancescu
Aris Santillan wrote: hi how to count null values in an array? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing query parameter which has value "###"

2003-09-08 Thread murugesan
I passed value main.php?name=$name&id=$id&id1=$id1 to next page where $id has value "###" In the next page I was not able to get the $id and $id1 values and I am able to get the two values $id1 and $name when I used main.php?name=$name&id1=$id1 What might be the problem? -Thanks & regards, Murug

[PHP] null values

2003-09-08 Thread Aris Santillan
hi how to count null values in an array? tnx

Re: [PHP] Problem Coding a Tutorial

2003-09-08 Thread MuToGeN
Hello Stephen, You say "then hit the "Sign, dammit!" button", and in your script you have "...if ($submit == "Sign!")...". Obviously, the problem is that "else" block is executed instead of "if". It's better to use some other variable to check whether the form is filled or not, something like "...

[PHP] Re: Problem Coding a Tutorial

2003-09-08 Thread Kae Verens
Stephen Tiano wrote: if ($submit == "Sign!") if($_POST['submit']=='Sign!') { $query = "insert into guest_info (name,location,email,url,comments) values <'$name', '$location', '$email', '$url', '$comments')" ('$_POST[name]','$_POST[location]','$_POST[email]','$_POST[url]','$_POST[comments]')" If

[PHP] Problem Coding a Tutorial

2003-09-08 Thread Stephen Tiano
I found a new book for again starting out to learn PHP/MySQL Web App programming. I've begun exercises toward that end. So far I've opened MySQL--I'm on a Macintosh PowerBook, so that's UNIX--as root and created a database I called guest_recorder. Then I GRANTed ALL to a new user (me) with a pa

[PHP] Re: highlighting multi term search results

2003-09-08 Thread jonas_weber
Am Montag, 08.09.03 um 04:21 Uhr schrieb Lee O'Mara: Why not just allow for bold tags in the search term? What I mean is, I think you can get the results you want by allowing any number of open or close bold tags between each letter of the search term. i thought so too (but i had no idea how to

[PHP] sending values in textbox

2003-09-08 Thread Angelo Zanetti
Hi I want to be able to send the vlaues that a user enters in a couple of input fields. However, my register_globals is set to off. So how do I do it using an image and HRef instead of a submit button? I have the following: "); ?> But this doesnt seem to get the value

Re: [PHP] Running PHP scripts in PHP Nuke

2003-09-08 Thread Jason Wong
On Monday 08 September 2003 01:27, Dan Anderson wrote: > > You need to be more specific. What error do you get? > > I don't get any error. It will ask me for the HTML code to the page and > just not work. So I'm assuming that instead of being processed by > Apache and a preprocessor that can send

Re: [PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-08 Thread Jason Wong
On Monday 08 September 2003 14:08, Jami Moore wrote: > I have been trying all weekend to get this right, and so far it does not > validate an e-mail address with a subdomain. [snip] > From my understanding, this should allow me to validate an e-mail > address like > [E

[PHP] Dynamic Form checking

2003-09-08 Thread Aris Santillan
hi this is the dynamic forms for($s=0;$s<$num;$s++) { $result = mssql_fetch_array($query); $result[2] = number_format($result[2]