Re: [PHP] Help!

2006-04-28 Thread T.Lensselink
A blade? come on :) Seems to me it's just an error in : /home/friend/public_html/process1.php line 158 that mangles up your email output. Try and fix this undefined constant. > Hi all - I am attempting to solve some maddening behaviour that has me > totally stumped and before I take a blade to my

[PHP] Help!

2006-04-28 Thread Dave Goodchild
Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipart emails to notify entrants of their progress in

[PHP] Help!

2006-04-28 Thread Dave Goodchild
Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipart emails to notify entrants of their progress in

RE: [PHP] Hosting php help

2006-04-26 Thread Nicolas Verhaeghe
http://www.google.com/search?hl=en&q=free+php+hosting -Original Message- From: Jesús Alain Rodríguez Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 2:26 PM To: php-general@lists.php.net Subject: [PHP] Hosting php help Please I need a free hosting with php and m

[PHP] Hosting php help

2006-04-26 Thread Jesús Alain Rodríguez Santos
Please I need a free hosting with php and mysql, and sendmail active. If you know any site, please send to me the address. -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio.

Re: [PHP] Help using a function within a function, both within a class

2006-04-19 Thread Adele Botes
chris smith wrote: On 4/19/06, Adele Botes <[EMAIL PROTECTED]> wrote: To anyone who can help, I would like to know why or how I can execute a function within a function used within this class. I want to redirect if the results of a insert query was successful, so i made a simple redirect fun

Re: [PHP] Help using a function within a function, both within a class

2006-04-19 Thread chris smith
On 4/19/06, Adele Botes <[EMAIL PROTECTED]> wrote: > To anyone who can help, I would like to know why or how I can execute a > function within a function used within this class. I want to redirect if > the results of a insert query was successful, so i made a simple redirect > function for later us

[PHP] Help using a function within a function, both within a class

2006-04-19 Thread Adele Botes
To anyone who can help, I would like to know why or how I can execute a function within a function used within this class. I want to redirect if the results of a insert query was successful, so i made a simple redirect function for later use, once I've build onto the class. The problem is that i a

Re: [PHP] help with multidimentional arrays

2006-04-12 Thread Bing Du
> On 4/11/06, Bing Du <[EMAIL PROTECTED]> wrote: >> => foreach ($sponsor_id as $sponsor => $arr) >> echo "$sponsor:"; >> foreach ($arr[$sponsor] as $project) { >> echo "$project"; >> } >> => > > It looks like you're building your array just fine.

Re: [PHP] help with multidimentional arrays

2006-04-12 Thread John Wells
On 4/11/06, Bing Du <[EMAIL PROTECTED]> wrote: > == > foreach ($sponsor_id as $sponsor => $arr) > echo "$sponsor:"; > foreach ($arr[$sponsor] as $project) { > echo "$project"; > } > == > It looks like you're building your array just fine. Here t

Re: [PHP] help with multidimentional arrays

2006-04-11 Thread Richard Lynch
On Tue, April 11, 2006 1:58 pm, Bing Du wrote: > What I intend to do is put the database query results in a > multidimentional array like this. > > $sponsor_id['sponsor1'] = ('project1 title', 'project2 title', > 'project3 > title'); > $sponsor_id['sponsor2'] = ('project1 title','project7 title');

[PHP] help with multidimentional arrays

2006-04-11 Thread Bing Du
Hello, What I intend to do is put the database query results in a multidimentional array like this. $sponsor_id['sponsor1'] = ('project1 title', 'project2 title', 'project3 title'); $sponsor_id['sponsor2'] = ('project1 title','project7 title'); Here is the code snippet for doing that: == w

Re: [PHP] Help with a complex scenario

2006-04-07 Thread tedd
At 4:59 PM -0400 4/7/06, Robert Fitzpatrick wrote: I have an order table that we are trying to figure out a way to find the best (cheapest) scenario to sending to vendors to fill the orders. Let's say we have 10 parts ordered, if we split that amongst vendors, even paying a higher shipping cost i

[PHP] Help with a complex scenario

2006-04-07 Thread Robert Fitzpatrick
I have an order table that we are trying to figure out a way to find the best (cheapest) scenario to sending to vendors to fill the orders. Let's say we have 10 parts ordered, if we split that amongst vendors, even paying a higher shipping cost in some cases can be cheaper. We can send 2 of those p

Re: [PHP] help with some logic.

2006-04-06 Thread Dallas Cahker
Thanks makes it alot easier to follow. On 4/4/06, Dallas Cahker <[EMAIL PROTECTED]> wrote: > > Okay I'll look at that. > > What about switching to setting the password in md5 format in the cookie > rather then a regular id. I might not call the cookie password but to me in > thinking about it see

Re: [PHP] help with some logic.

2006-04-04 Thread Dallas Cahker
Okay I'll look at that. What about switching to setting the password in md5 format in the cookie rather then a regular id. I might not call the cookie password but to me in thinking about it seems like the same thing as setting a random id and then saving the random id in the db. On 4/4/06, Dan

Re: [PHP] help with some logic.

2006-04-04 Thread Dan McCullough
hey Dallas, have you thought about breaking this up and making two seperate functions one the checks the cookie and one that checks the session information? I'm not sure if that is what you were looking for as far as an answer but it might be a good start. On 4/4/06, Dallas Cahker <[EMAIL PROTEC

[PHP] help with some logic.

2006-04-04 Thread Dallas Cahker
I've been looking at this code for a few hours now and I get the nagging feeling that I am overcomplicating something, something I never ever do. I have a login that puts some information on the session, and if the customer wants they can ask to be remembered, the cookie is given the customers use

RE: [PHP] Help?

2006-03-24 Thread Clinton, Rochelle A
ichard Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 3:39 PM To: Clinton, Rochelle A Cc: php-general@lists.php.net Subject: RE: [PHP] Help? On Thu, March 23, 2006 2:19 pm, Clinton, Rochelle A wrote: > Hi Richard, > > WOW! Thanks for such a quick response - this is

Re: [PHP] help with smarty+cms

2006-03-23 Thread Richard Lynch
On Thu, March 23, 2006 11:28 am, ganu wrote: > Hello all, > > I worked with one site and now is working fine with smarty. > Now I want to implement the CMS in that, > I went thru the link http://smarty.php.net/resources.php?category=2 > > now I want a CMS so my existing site looks as it is and with

RE: [PHP] Help?

2006-03-23 Thread Richard Lynch
On Thu, March 23, 2006 2:19 pm, Clinton, Rochelle A wrote: > Hi Richard, > > WOW! Thanks for such a quick response - this is just driving me > crazy! Not to mention consuming my time. > > I actually had been using the $line = in front of my replace attempts. > > Here is the exact offending

Re: [PHP] Help?

2006-03-23 Thread Richard Lynch
On Thu, March 23, 2006 1:50 pm, Clinton, Rochelle A wrote: > I am fairly new to PHP and am having an (SILLY) issue that I cannot > seem > to resolve: > > I am pulling data from an html file and some of the lines of text that > I > need start with "". Show us an actual line, copy/paste, to be sure

Re: [PHP] Help?

2006-03-23 Thread John Nichel
Clinton, Rochelle A wrote: Hello, I am fairly new to PHP and am having an (SILLY) issue that I cannot seem to resolve: I am pulling data from an html file and some of the lines of text that I need start with "". I cannot seem to get rid of that tag!!! I have tried: * str_re

[PHP] Help?

2006-03-23 Thread Clinton, Rochelle A
Hello, I am fairly new to PHP and am having an (SILLY) issue that I cannot seem to resolve: I am pulling data from an html file and some of the lines of text that I need start with "". I cannot seem to get rid of that tag!!! I have tried: * str_replace("<\a>", "", $line) *

[PHP] help with smarty+cms

2006-03-23 Thread ganu
Hello all, I worked with one site and now is working fine with smarty. Now I want to implement the CMS in that, I went thru the link http://smarty.php.net/resources.php?category=2 now I want a CMS so my existing site looks as it is and with some or lot of changes I can implement CMS in that. som

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread Anthony Ettinger
I did something similar on my page. I did a simple comparison in a loop through the menu DOM, foreach ($nodeList as $node){ if ($currentPage eq $nodeHref) { //set class attribute = 'active'; } } On 3/16/06, tedd <[EMAIL PROTECTED]> wrote: > >http://www.inspired-evolution.com/About_Me.php > >

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread tedd
http://www.inspired-evolution.com/About_Me.php What I want to do next is to change the menu from being hard coded on all of my pages to being an include making the menu more manageable. The stumbling block is I want to be able to keep the CSS functionality where you have the active indicator whic

[PHP] help with setting menu styles with PHP

2006-03-16 Thread Bruce Gilbert
am trying to accomplish something utlizing PHP. What I have is a menu marked up as such: About Me Skill set Hire Me Portfolio Contact Résumé http://inspiredevolution.blogs.com/inspiredevolutioncom/"; title="the blog for Inspired-Evolution.com" >Blog RSS and then I have everything styled nic

Re: [PHP] help with this error message please

2006-03-06 Thread Angelo Zanetti
Mark wrote: Can anyone tell me why i am getting this message when trying to login to the admin section, i am running the script off my local machine. Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at C:\VertrigoServ\_

Re: [PHP] help with this error message please

2006-03-05 Thread chris smith
On 3/5/06, Mark <[EMAIL PROTECTED]> wrote: > Can anyone tell me why i am getting this message when trying to login to the > admin section, i am running the script off my local machine. > > Warning: session_register() [function.session-register]: Cannot send session > cookie - headers already sent b

[PHP] help with this error message please

2006-03-05 Thread Mark
Can anyone tell me why i am getting this message when trying to login to the admin section, i am running the script off my local machine. Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at C:\VertrigoServ\_htdocs\mytippe

[PHP] help with this error message please

2006-03-05 Thread Mark
Can anyone tell me why i am getting this message when trying to login to the admin section, i am running the script off my local machine. Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at C:\VertrigoServ\_htdocs\myti

[PHP] Help with Acrostix

2006-03-03 Thread Jay Contonio
I am using acrostix so I can add text and photos to an existing pdf. So far I have the text working with this, pages[0], $lines); $image = ax_load_jpeg_file("dingo.jpg", 1, 1, 72); ax_add_page_elements($doc->pages[0], $image); header("Content-type: application/pdf"); ax_output_pdf_file($doc);

Re: [PHP] help with nl2br

2006-03-03 Thread canobit canobit
> > > All that said, you might want to invest some time in learning a DB > abstraction layer such as ADODb or PEAR::DB (there are lots of others). > You'll commonly find convenience functions to do things like output > query results into an HTML table. Why waste time debugging the wheel? > -- >

Re: [PHP] help with nl2br

2006-03-03 Thread canobit canobit
Thanks Pablo, that did the trick with one minor change, I had to remove the . in the quotations as it is was leading the first line of text with a . echo "" . nl2br($row[2]) . ""; TD. On 3/3/06, Pablo M. Rivas <[EMAIL PROTECTED]> wrote: > > Hello canobit: > > Did you try echo "." . nl2br($row[1

Re: [PHP] help with nl2br

2006-03-03 Thread Max Schwanekamp
canobit canobit wrote: I have cobbled the following code that when it retrieves the data from Mysql, the data is displayed with no line breaks which results in one large paragraph. I have been trying for quite awhile without sucess to get nl2br working with this code. The original data is ent

[PHP] help with nl2br

2006-03-03 Thread canobit canobit
I have cobbled the following code that when it retrieves the data from Mysql, the data is displayed with no line breaks which results in one large paragraph. I have been trying for quite awhile without sucess to get nl2br working with this code. The original data is entered by the user via a te

[PHP] Help with query

2006-02-21 Thread Ing. Tom�s Liendo
Hi I need the students that didn't take an exam. The tables: exams(id_test, title, desciption, ) results(id_student, id_test, date, qualification...) I'm using a version of MySQL that doesn't support NOT IN, then I tried in this way: SELECT * FROM exams LEFT JOIN results ON exams.id_test=r

Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-16 Thread Olaf Greve
Hi all, Yesterday I had trouble when configuring Apache 2.2 with PHP 4.4.2, which caused Apache to crash (segmentation fault) when calling various PHP functions. Just before heading home I encountered the source of the issue, as well as the solution. The hint to the answer resided in the /va

Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Kevin Kinsey
Olaf Greve wrote: Hi guys, I suspect something went wrong in the way I try to use PHP. Basically, I first removed the installed /usr/ports/lang/php4 port, then built and installed the /usr/ports/www/mod_php4 port, and then added various php4-extensions, using the /usr/ports/lang/php4-extensi

Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Jochem Maas
apache2 needs to be built/run using the prefork worker module (as opposed to a threaded worker module which causes php to blow up quite often [due to the fgact that there are php extensions which are not thread safe]) - check that first. the duplicate name errors seem to stem fom the fact that so

[PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Olaf Greve
Hi guys, Alright, after having been stuck with this for an hour or two now, I'm going to call upon your infinite wisdom regarding the following: On a FreeBSD 5.2.1-RELEASE #0 (so says dmesg) machine, I'm trying to set-up Subversion, Trac and our regular PHP4 and MySQL stuff. The main issue

Re: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread Chris
Greg Schnippel wrote: Has anyone developed a really good defense against email injection attacks? A bit late but this is a good guide: http://securephp.damonkohler.com/index.php/Email_Injection -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread Stut
Greg Schnippel wrote: Has anyone developed a really good defense against email injection attacks? I've implemented a complex algorithm to help prevent this problem. Every form I have has a text field with a random name surrounded by the text... "If you are human please enter 'human' (with

Re: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread Liam Delahunty
> On 2/6/06, Jim Moseby wrote: > Is it time to abandon using mail() for all user contributed data? Sort of. Don't write any user input to the headers. Send the data to a default address, don't include anything in the subject or the headers from the input and you'll avoid the problems. -- Kind

Re: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread Russell Jones
Why dont you just break the code. Before anything goes through replace colons with dashes, dashes with underscores, etc. Stuff that will not mess up readability but would prevent it from being parsed by the mail function. On 2/6/06, Jim Moseby <[EMAIL PROTECTED]> wrote: > > > - The most foolpro

Re: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread John Hinton
Greg Schnippel wrote: Has anyone developed a really good defense against email injection attacks? I'm waging a prolonged campaign against these luser hordes on a number of non-profit sites I help maintain. I've tried to secure all of the feedback forms using the function below that I cobbled to

RE: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread Jim Moseby
> - The most foolproof solution I can think of would be to continue > logging the successful entries to a database and _not_ send the email. > That way even if they get through, no emails get sent. The form would > log the feedback and send an email to the admin that a comment is > available for v

[PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread Greg Schnippel
Has anyone developed a really good defense against email injection attacks? I'm waging a prolonged campaign against these luser hordes on a number of non-profit sites I help maintain. I've tried to secure all of the feedback forms using the function below that I cobbled together from various php s

Re: [PHP] Help with mysql_query and INSERT INTO

2006-02-05 Thread Colin Davis
Thank you, that is perfect. Regards Colin Davis http://www.ukpages.org "Johan Martin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > http://www.php.net/manual/en/function.mysql-insert-id.php > This will give you the record id of the last record inserted (or created). > > Johan Mar

Re: [PHP] Help with mysql_query and INSERT INTO

2006-02-05 Thread Johan Martin
On Saturday, Feb 4, 2006, at 07:22 America/Los_Angeles, Colin Davis wrote: I need to insert a new record into a MySQL table which has an auto_increment field Ref as the primary index. When I have inserted the new record, I need to get the new Ref value in order to name some files to relate

[PHP] Help with mysql_query and INSERT INTO

2006-02-05 Thread Colin Davis
I need to insert a new record into a MySQL table which has an auto_increment field Ref as the primary index. When I have inserted the new record, I need to get the new Ref value in order to name some files to relate to the record. At the moment I have to do a SELECT command and search for anot

Re: [PHP] Help retrieving an HTML array

2006-02-02 Thread Richard Lynch
On Wed, February 1, 2006 3:06 pm, John Nichel wrote: > I also don't _have_ to declare variables, don't _have_ to call > mysql_close, etc, but that doesn't make it a good practice. The above > 'standard' is pretty and all, but how many browsers out there are 100% > standards compliant? Quoting wil

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread John Nichel
David Dorward wrote: Robert Cummings wrote: Slop? Yes, slop, ie sloppy. authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46),

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Robert Cummings
On Wed, 2006-02-01 at 18:34, David Dorward wrote: > Richard Lynch wrote: > > >>> There's no excuse for writing slop. > > > "We recommend using quotation marks even when it is possible to > > eliminate them." > > Presumably because its less hassle to do so then to try to remember the > exceptions

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread David Dorward
Richard Lynch wrote: >>> There's no excuse for writing slop. > "We recommend using quotation marks even when it is possible to > eliminate them." Presumably because its less hassle to do so then to try to remember the exceptions. It doesn't make code that ignores that suggestion "slop". -- Dav

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Richard Lynch
On Wed, February 1, 2006 2:52 pm, David Dorward wrote: > Robert Cummings wrote: > >> > >> I also took the liberty of adding double quotes to your attributes. >> There's no excuse for writing slop. > > Slop? > > authors may specify the value of an attribute without any quotation > marks. The att

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Richard Lynch
Change it to: input name="xname[]" On Wed, February 1, 2006 10:07 am, Mauricio Pellegrini wrote: > Hi , > I have a HTML page with a form in which there are some inputs like > these: > > input type=text name=xname value="3303" > input type=text name=xname value="9854" > ..

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread David Dorward
Robert Cummings wrote: > > I also took the liberty of adding double quotes to your attributes. > There's no excuse for writing slop. Slop? authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9)

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread John Nichel
Mauricio Pellegrini wrote: Thank you all for your valuable support. The problem is solved. Note: This kind of input definition (without the brackets) actually *DOES* create an array under HTML 4.x (and its subindexes are accesible thru javascript) If that's the case (I can't find a

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Mauricio Pellegrini
Thank you all for your valuable support. The problem is solved. Note: This kind of input definition (without the brackets) actually *DOES* create an array under HTML 4.x (and its subindexes are accesible thru javascript) You forgot the array append operator: > > ..

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread John Nichel
Please don't hijack threads. Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..."

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Robert Cummings
On Wed, 2006-02-01 at 11:07, Mauricio Pellegrini wrote: > Hi , > I have a HTML page with a form in which there are some inputs like > these: > > input type=text name=xname value="3303" > input type=text name=xname value="9854" > > input type=text name=xname value="

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Joe Henry
The input name must include [] (brackets) to let php know it's an array. Ex: input type=text name=xname[] value="3303" On Feb 1, 2006, at 9:07 AM, Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname va

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Jochem Maas
Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..." the name of the input is al

[PHP] Help retrieving an HTML array

2006-02-01 Thread Mauricio Pellegrini
Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname value="3303" input type=text name=xname value="9854" input type=text name=xname value="n..." the name of the input is always the same ( xname ) This

Re: [PHP] Help with getting PHP to see Pear.

2006-01-24 Thread Jesús Fernández
if you look to your phpinfo it says: '--without-pear' Maybe you'll need to install it with pear support or is it right just to add pear to the include_path? -- Esú - http://esu.proyectoanonimo.com http://www.proyectoanonimo.com

Re: [PHP] Help with getting PHP to see Pear.

2006-01-24 Thread Sumeet
Payne wrote: Hi, I just installed SuSE 10 and I am having a problem with my phpnuke site and my maia site. PHPNUKE gives me this error... *Warning*: main(db/mysql.php): failed to open stream: No such file or directory in */srv/www/htdocs/bse/db/db.php* on line *53* *Warning*: main(): Failed

RE: [PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Albert
Payne wrote: > How can I get php to see pear, it is installed. I have install modules > with pear for maia and horde but neither seem to see pear. I'm running SuSE 9.3 and had to add /usr/share/php to the include path in /etc/php.ini to be able to use the installed PEAR extensions. To enable bc

[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke site and my maia site. PHPNUKE gives me this error... *Warning*: main(db/mysql.php): failed to open stream: No such file or directory in */srv/www/htdocs/bse/db/db.php* on line *53* *Warning*: main(): Failed opening 'db/my

[PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Payne
Hi, I just installed SuSE 10 and I am having a problem with my phpnuke site and my maia site. PHPNUKE gives me this error... *Warning*: main(db/mysql.php): failed to open stream: No such file or directory in */srv/www/htdocs/bse/db/db.php* on line *53* *Warning*: main(): Failed opening 'db/my

RE: [PHP] help me plz

2006-01-20 Thread Thomas
with javascript (if you do not need 'fresh' data) Thomas -Original Message- From: Robert Graham [mailto:[EMAIL PROTECTED] Sent: 19 January 2006 09:34 AM To: suresh kumar Cc: php-general@lists.php.net Subject: Re: [PHP] help me plz suresh kumar wrote: > hi, >i am usin

Re: [PHP] Help with regular expressions

2006-01-19 Thread Richard Lynch
On Tue, January 17, 2006 1:54 pm, Carl Furst wrote: > Ok I am so stumped.. I'm doing something stupid and I can't figure it > out.. > > Here's the code: > > > $eml = '[EMAIL PROTECTED] > ceo'; > if (strpos($eml, ' ')) echo "yep, there are spaces\n"; //does strpos > see the > spaces? > echo preg_re

Re: [PHP] help me plz

2006-01-18 Thread Robert Graham
suresh kumar wrote: hi, i am using 2 combo box one for country & another one for city.when i select country name from combo box their corresponding city names has to be changed in their corresponding combo box.i dont know how 2 implement this.pz give me some idea.its urgent.

Re: [PHP] help me pllzzzzzz

2006-01-18 Thread Richard Correia
Whatever Suresh, I know as a beginer you are facing this problems. I would suggest that you check standalone htm version of php document. The dynamic combo script can be located at http://www.weberdev.com/get_example.php3?count=4074&mode=text This site has 1000s of FREE ready to use PHP,My

Re: [PHP] help me pllzzzzzz

2006-01-18 Thread Robert Cummings
On Wed, 2006-01-18 at 11:11, John Nichel wrote: > Jay Blanchard wrote: > > [snip] > >i am having 2 combo box one for city & another one > > for country,when i select particular country say > > "india" their corresponding cities will be displayed > > in city combobox as "delhi,bangalore

Re: [PHP] help me pllzzzzzz

2006-01-18 Thread Anas Mughal
You need to build JavaScript logic for that. Try searching on JavaScript developer sites and mailing lists. This has nothing to do with PHP -- unless you are dynamically building the JavaScript. -- Anas Mughal On 1/18/06, suresh kumar <[EMAIL PROTECTED]> wrote: > > hi, >i am having 2 comb

Re: [PHP] help me pllzzzzzz

2006-01-18 Thread Jochem Maas
suresh kumar wrote: hi, i am having 2 combo box one for city & another one for country,when i select particular country say "india" their corresponding cities will be displayed in city combobox as "delhi,bangalore.",when i select "Australia" thier cities like "perth,brisbane..

RE: [PHP] help me pllzzzzzz

2006-01-18 Thread Duffy, Scott E
et Subject: RE: [PHP] help me pllzz Or my sense of sailing to deadlines :) -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 16:11 To: php-general@lists.php.net Subject: Re: [PHP] help me pllzz Jay Blanchard wrote: > [snip] >i am having

RE: [PHP] help me pllzzzzzz

2006-01-18 Thread Dan Parry
Or my sense of sailing to deadlines :) -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 16:11 To: php-general@lists.php.net Subject: Re: [PHP] help me pllzz Jay Blanchard wrote: > [snip] >i am having 2 combo box one for city & a

Re: [PHP] help me pllzzzzzz

2006-01-18 Thread John Nichel
Jay Blanchard wrote: [snip] i am having 2 combo box one for city & another one for country,when i select particular country say "india" their corresponding cities will be displayed in city combobox as "delhi,bangalore.",when i select "Australia" thier cities like "perth,brisbane

RE: [PHP] help me pllzzzzzz

2006-01-18 Thread Jay Blanchard
[snip] i am having 2 combo box one for city & another one for country,when i select particular country say "india" their corresponding cities will be displayed in city combobox as "delhi,bangalore.",when i select "Australia" thier cities like "perth,brisbane"will be displayed.p

[PHP] help me pllzzzzzz

2006-01-18 Thread suresh kumar
hi, i am having 2 combo box one for city & another one for country,when i select particular country say "india" their corresponding cities will be displayed in city combobox as "delhi,bangalore.",when i select "Australia" thier cities like "perth,brisbane"will be displayed.plz

Re: [PHP] help me plz

2006-01-18 Thread Max Belushkin
If this is on the same web page, your question has nothing to do with PHP - look into, i.e., JavaScript. suresh kumar wrote: hi, i am using 2 combo box one for country & another one for city.when i select country name from combo box their corresponding city names has to be changed in their c

[PHP] help me plz

2006-01-18 Thread suresh kumar
hi, i am using 2 combo box one for country & another one for city.when i select country name from combo box their corresponding city names has to be changed in their corresponding combo box.i dont know how 2 implement this.pz give me some idea.its urgent. A.suresh

Re: [PHP] Help with regular expressions

2006-01-17 Thread Al
Al wrote: John Nichel wrote: Carl Furst wrote: Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: $eml = '[EMAIL PROTECTED] ceo'; if (strpos($eml, ' ')) echo "yep, there are spaces\n"; //does strpos see the spaces? echo pr

RE: [PHP] Help with regular expressions

2006-01-17 Thread php-mail
was spaceless (spaced out?)... maybe worth a try? HTH Dan -- -Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 22:45 To: php-general@lists.php.net Subject: Re: [PHP] Help with regular expressions John Nichel wrote: > Carl Furst wrote: > >> Ok I

Re: [PHP] Help with regular expressions

2006-01-17 Thread Al
John Nichel wrote: Carl Furst wrote: Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: if (strpos($eml, ' ')) echo "yep, there are spaces\n"; //does strpos see the spaces? echo preg_replace('/\s/', '', $eml); //WTF? Preg_replace does not? echo "$

Re: [PHP] Help with regular expressions

2006-01-17 Thread John Nichel
Carl Furst wrote: Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: As you can see there are a bunch of spaces in that email address. I'm trying to use preg_replace to get rid of them. Strpos sees the spaces and the first echo statement is executed.

[PHP] Help with regular expressions

2006-01-17 Thread Carl Furst
Ok I am so stumped.. I'm doing something stupid and I can't figure it out.. Here's the code: As you can see there are a bunch of spaces in that email address. I'm trying to use preg_replace to get rid of them. Strpos sees the spaces and the first echo statement is executed. The second echo prin

Re: [PHP] help plz [Books]

2006-01-16 Thread Travis Doherty
Ligaya Turmelle wrote: > I personally liked George Schlossnagle's book "Advanced PHP > Programming", published by Sams. > I am also assuming you actually do know the basics of MySQL and PHP > and are looking for that next step - past the beginner stuff. I agree. I have seen this book alone tak

Re: [PHP] help plz

2006-01-16 Thread Ligaya Turmelle
I am also assuming you actually do know the basics of MySQL and PHP and are looking for that next step - past the beginner stuff. Ligaya Turmelle wrote: I personally liked George Schlossnagle's book "Advanced PHP Programming", published by Sams. http://www.amazon.com/gp/product/0672325616/qid

RE: [PHP] help plz

2006-01-16 Thread Weber Sites LTD
http://toolbar.weberdev.com -Original Message- From: suresh kumar [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 8:31 AM To: php-general@lists.php.net Subject: [PHP] help plz hi, i am working as a web designer in PHP & Mysql.i know the basics of PHP & Mysql,i want 2 become PHP

Re: [PHP] help plz

2006-01-16 Thread Jay Paulson
I have this book and have been very impressed with it. However, if you are a beginner programmer I would say not to get it until you understand the basic programming concepts and have a working knowledge of PHP. :) On 1/16/06 1:14 AM, "Ligaya Turmelle" <[EMAIL PROTECTED]> wrote: > I personally

Re: [PHP] help plz

2006-01-16 Thread Richard Correia
Hey Suresh, I know ..we all have faced similar problem when we started our career in php perl mysql. Please visit the http://weberdev.com for ultimate article and code example for Php and Mysql. Try Wrox books for php5. Thanks Richard On 1/16/06, suresh kumar <[EMAIL PROTECTED]> wrote: > > hi,

Re: [PHP] help plz

2006-01-15 Thread Ligaya Turmelle
I personally liked George Schlossnagle's book "Advanced PHP Programming", published by Sams. http://www.amazon.com/gp/product/0672325616/qid=1137394700/sr=2-1/ref=pd_bbs_b_2_1/104-0195316-0794320?s=books&v=glance&n=283155 suresh kumar wrote: hi, i am working as a web designer in PHP & Mysql

Re: [PHP] Help taking a string from a file

2006-01-15 Thread Curt Zirzow
On Sat, Jan 14, 2006 at 09:03:24AM -0700, Lists wrote: > > My goal is to take just the HTML for the image and link from the > Flickr badge js script. > ... > > // allow retrieval of external web source > ini_set('allow_url_fopen',1); > > // get flickr js file > $photo = file_get_contents("htt

[PHP] help plz

2006-01-15 Thread suresh kumar
hi, i am working as a web designer in PHP & Mysql.i know the basics of PHP & Mysql,i want 2 become PHP Expert,i am planning to buy one Book,but i dont know which book 2 buy.plz give me info . A.suresh Send instant messages to your online friends http://

[PHP] Help taking a string from a file

2006-01-14 Thread Lists
Hello List, I made something work, but probably in the most crappy way possible. My goal is to take just the HTML for the image and link from the Flickr badge js script. This is what I did, please help me do in a better way. I'd appreciate good sources to read to learn to strip stuff away

Re: [PHP] Help for ISPs rolling out PHP

2006-01-13 Thread Richard Lynch
On Thu, January 12, 2006 1:51 pm, Ben Rockwood wrote: > I'm working with a medium sized ISP to start rolling out PHP and MySQL > services to customers. I've been looking around for best practices or > help > with such a roll out but not found anything. I'm confident I can roll > out > the service

<    3   4   5   6   7   8   9   10   11   12   >