Re: [PHP] PHP Applications?

2005-05-17 Thread Richard Lynch
On Tue, May 17, 2005 1:50 pm, Greg Donald said: > On 5/17/05, Brent Baisley <[EMAIL PROTECTED]> wrote: >> Zend sells a compiler to speed up your PHP code. Since it's compiled, >> it also does not contain the source code in readable form. You should >> visit the Zend website. > > Did you have a link

[PHP] Re: Secure delivery

2005-05-17 Thread lopopizarro
Please authenticate the secure message. +++ Attachment: No Virus found +++ Bitdefender AntiVirus - www.bitdefender.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Richard Lynch
On Tue, May 17, 2005 2:24 pm, Robert Meyer said: > Hello, > > Scenario: > 1) User is presented a blank form. with an MD5 hash which is stored in the database as "fresh" > 2) User fills in form. > 3) User submits form. > 4) Record is added to database. That particular MD5 has is marked as "used"

Re: [PHP] Mail function

2005-05-17 Thread Richard Lynch
On Tue, May 17, 2005 3:53 pm, [EMAIL PROTECTED] said: > I have a script which send emails using mail() function. I have 100 email > addresses and i set up the script to send 1 email every 10 seconds. So, it > will take 1000 seconds > to send all 100 emails. > > My question is: If I stop the script

Re: [PHP] libxml_set_streams_context

2005-05-17 Thread Richard Lynch
On Tue, May 17, 2005 9:03 pm, Bill Hoffman said: > I'm trying to use libxml_set_streams_context() to load a remote xml > file via HTTP conditional GET with DOMDocument::load() by stuffing an > 'If-Modified-Since: --- " HTTP header into the stream, but no matter > how I try it I always get an HTTP 2

Re: [PHP] PHP Applications?

2005-05-17 Thread Chris Shiflett
Danny Brow wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. Any free ones? http://pecl.php.net/package/APC -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbu

[PHP] libxml_set_streams_context

2005-05-17 Thread Bill Hoffman
I'm trying to use libxml_set_streams_context() to load a remote xml file via HTTP conditional GET with DOMDocument::load() by stuffing an 'If-Modified-Since: --- " HTTP header into the stream, but no matter how I try it I always get an HTTP 200 response when I know the last- modified date is

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Robert Meyer
As a last resort, I may have to do that, but that is by no means the preferred method. I want to keep database access to a minimum. I thought by this time this problem would have had a standard solution. It would be nice if PHP had a function like refreshed() so one could do ... if (!refreshe

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Robert Meyer
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Robert Meyer wrote: >> Hello, >> >> Scenario: >> 1) User is presented a blank form. >> 2) User fills in form. >> 3) User submits form. >> 4) Record is added to database. >> 5) Back to 1). > > Go really back to 1) - us

RE: [PHP] array, trouble updating - SOLVED

2005-05-17 Thread mayo
Yikes, Who would have thought something so easy would be such a pain in the butt. I solved it with embedded if-else clauses. Thx all -Original Message- From: mayo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 9:19 AM To: 'php' Subject: [PHP] array, trouble updating I usually

RE: [PHP] array, trouble updating

2005-05-17 Thread mayo
Jason, Thx. Even though I have what I need for the client (I finally got things to work as desired), I'll rework it and update the client version. I knew I was doing things poorly and it degenerated into simply "get the damn thing to work." Thx, Mayo -Original Message- From: Jason Wo

Re: [PHP] Re: hey dip shit

2005-05-17 Thread Ryan A
Or why sometimes its ok to punch a friend in the mouth... On 5/18/2005 1:42:30 AM, Mary-Anne Nayler ([EMAIL PROTECTED]) wrote: > This is a perfect example of the reason why you should lock your screen > when you are away from your desk!! > > Jason Motes wrote, On 18/05/05 07:53 AM: > > > Sorry

[PHP] Curious bug and crash

2005-05-17 Thread Dave Lists
Hi, Tonight I installed a new php5 instance. php5.0.4/apache-1.3.33/mysql-4.1.10. I was getting "\Wed May 18 01:59:42 2005] [notice] child pid 1621 exit signal Segmentation fault (11)" error whenever I accessed a PHP enable page. I recompiled a few times and removed unnecessary modules. Still

Re: [PHP] PHP Applications?

2005-05-17 Thread Danny Brow
On Tue, 2005-05-17 at 15:34 -0400, Brent Baisley wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. > Any free ones? -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: PHP Complex Data Structures

2005-05-17 Thread Matthew Weier O'Phinney
* Zzapper <[EMAIL PROTECTED]>: > I seem to remember that you access/use PHP data in the same/similar > way to Perl data and that you can create complex data structures ie > arrays of arrays, arrays of records etc. > > For once Google let me down so can any one point at any doc info. Did you try bu

[PHP] Re: PHP Applications?

2005-05-17 Thread Manuel Lemos
Hello, on 05/17/2005 11:27 AM Brian Dunning said the following: My background is mostly with Lasso. One cool feature is the ability to make "LassoApps" - single file applications that are secure and can be sold & distributed without providing access to the source. Does PHP offer any such capa

Re: [PHP] Re: hey dip shit

2005-05-17 Thread Mary-Anne Nayler
This is a perfect example of the reason why you should lock your screen when you are away from your desk!! Jason Motes wrote, On 18/05/05 07:53 AM: Sorry for this post. A coworker was messing around with my computer and sent it. Please direct all flames to [EMAIL PROTECTED] Sorry!! Jason Motes

Re: [PHP] Re: hey dip shit

2005-05-17 Thread Ryan A
Well, I guess he was just talking to himself. Please forward this to your pal at [EMAIL PROTECTED] Cheers! On 5/17/2005 11:53:20 PM, Jason Motes ([EMAIL PROTECTED]) wrote: > Sorry for this post. A coworker was messing around with my computer and > sent it. > > Please direct all flames to [EMA

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Marcus Joyce
Why dont you check that data isnt being duplicated? $query = "SELECT auto_col FROM table where col1 = $var1 & col2 = $var 3."; $call_query = mysql_query($query,... $query_data = mysql_assoc($call_query); if(!$query_data) { do form } else echo "information already exists in databas

[PHP] Mail function

2005-05-17 Thread virtualsoftware
Hi, I have a script which send emails using mail() function. I have 100 email addresses and i set up the script to send 1 email every 10 seconds. So, it will take 1000 seconds to send all 100 emails. My question is: If I stop the script after,let's say 12 seconds, it will send only 1 email or

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Marek Kilimajer
Robert Meyer wrote: Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). Go really back to 1) - use redirect. After the record is added to the database, use something like: header('Location: http://yourserve

Re: [PHP] hey dip shit

2005-05-17 Thread John Nichel
Jason Motes wrote: HAH This list could really use an active moderator. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Jay Blanchard
[snip] 6) User clicks refresh. 7) Another record is added, same data except auto-increment field. How do I prevent these last two steps, or at least prevent a record from being added when refresh is clicked? [/snip] Test for the existence (SELECT statement with the variables therein) of the record

[PHP] Re: hey dip shit

2005-05-17 Thread Jason Motes
Sorry for this post. A coworker was messing around with my computer and sent it. Please direct all flames to [EMAIL PROTECTED] Sorry!! Jason Motes wrote: HAH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array, trouble updating

2005-05-17 Thread Jason Wong
On Tuesday 17 May 2005 21:18, mayo wrote: > I usually work with cold fusion and took on a little project to get my > feet wet in php and am spinning my wheels. What I thought might be > difficult was easy and what I thought would be a piece of cake has > caused me much grief over the last few days

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Brian V Bonini
On Tue, 2005-05-17 at 15:58, Richard Lynch wrote: > > On Tuesday 17 May 2005 21:01, Brian V Bonini wrote: > > > >> Still no go... Other changes in php.ini DO take effect, just not > >> this I'm at a loss > > Does phpinfo() show trans_sid as "on" or "off"? Shows it as 0 or 1 depending on h

RE: [PHP] PHP Complex Data Structures

2005-05-17 Thread Jay Blanchard
[snip] I seem to remember that you access/use PHP data in the same/similar way to Perl data and that you can create complex data structures ie arrays of arrays, arrays of records etc. For once Google let me down so can any one point at any doc info. [/snip] Start with http://www.php.net/array --

[PHP] Refresh (F5) adds another SQL record.

2005-05-17 Thread Robert Meyer
Hello, Scenario: 1) User is presented a blank form. 2) User fills in form. 3) User submits form. 4) Record is added to database. 5) Back to 1). All is fine to here. 6) User clicks refresh. 7) Another record is added, same data except auto-increment field. How do I prevent these last two steps, or

[PHP] Re: PHP Complex Data Structures

2005-05-17 Thread Jason Barnett
Zzapper wrote: Hi, I seem to remember that you access/use PHP data in the same/similar way to Perl data and that you can create complex data structures ie arrays of arrays, arrays of records etc. For once Google let me down so can any one point at any doc info. class A { } /** Initialize the arr

[PHP] hey dip shit

2005-05-17 Thread Jason Motes
HAH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Applications?

2005-05-17 Thread Greg Donald
On 5/17/05, Brent Baisley <[EMAIL PROTECTED]> wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. Did you have a link for this 'compiler' ? All I see in the site menu is a

[PHP] PHP Complex Data Structures

2005-05-17 Thread zzapper
Hi, I seem to remember that you access/use PHP data in the same/similar way to Perl data and that you can create complex data structures ie arrays of arrays, arrays of records etc. For once Google let me down so can any one point at any doc info. -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Z

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Richard Lynch
> On Tuesday 17 May 2005 21:01, Brian V Bonini wrote: > >> Still no go... Other changes in php.ini DO take effect, just not >> this I'm at a loss Does phpinfo() show trans_sid as "on" or "off"? -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/

Re: [PHP] php file list with forced download

2005-05-17 Thread Richard Lynch
On Mon, May 16, 2005 5:49 pm, Miguel Vaz said: > Was coding a directory listing for several dirs on a client's server > that > would list the files and allow users to download them. The question is, is > there a way to force download of all files, regardless of their types? > i.e., if the li

Re: [PHP] Blank page in browser

2005-05-17 Thread Richard Lynch
On Tue, May 17, 2005 1:41 am, Nayeem said: > I'm new to PHP programming and I just try to display small information > from > database on web page but its shows blank page. So my code is mention below > and let me know what's wrong in it but when I execute same program on > command prompt then its s

Re: [PHP] PHP Applications?

2005-05-17 Thread Richard Lynch
On Tue, May 17, 2005 7:27 am, Brian Dunning said: > My background is mostly with Lasso. One cool feature is the ability > to make "LassoApps" - single file applications that are secure and > can be sold & distributed without providing access to the source. > Does PHP offer any such capability? No.

Re: [PHP] regex question

2005-05-17 Thread Al
Murry's solution here is ideal since it only captures the single occurrence. Since I want to use it for a preg_replace(), it is perfect. A couple of folks sent this pattern [EMAIL PROTECTED]@[EMAIL PROTECTED]; but, it doesn't work because I then have to remove the unwanted caracters on either si

Re: [PHP] PHP Applications?

2005-05-17 Thread Brent Baisley
Zend sells a compiler to speed up your PHP code. Since it's compiled, it also does not contain the source code in readable form. You should visit the Zend website. On May 17, 2005, at 10:27 AM, Brian Dunning wrote: Hi all - My background is mostly with Lasso. One cool feature is the ability to

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Jason Wong
On Tuesday 17 May 2005 21:01, Brian V Bonini wrote: > Still no go... Other changes in php.ini DO take effect, just not > this I'm at a loss What version of PHP are you using? In older versions (have a look at the changelog) you had to configure with --enable-trans-sid, in newer versions

Re: [PHP] counting ocuring words in a string

2005-05-17 Thread Jason Wong
On Tuesday 17 May 2005 18:00, Merlin wrote: > I am trying to find a way to count the number of times (if any) words > are inside a string. explode() array_count_values() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting

[PHP] RE: regex question

2005-05-17 Thread Carl Furst
I think there maybe a few ways to do this... One is [EMAIL PROTECTED]@[EMAIL PROTECTED] That basically says "find me the pattern where one non-at symbol is followed by an at symbol followed by another non-at symbol" So if you do numMatch: 3 Array ( [0] => Array ( [0]

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Brian V Bonini
On Tue, 2005-05-17 at 09:53, Jason Barnett wrote: > Brian V Bonini wrote: > ... > > > > Still no go... Other changes in php.ini DO take effect, just not > > this I'm at a loss > > > > > > By any chance are you changing PHP values through Apache's conf file? I am, in ANOTHER virtual hos

[PHP] Upload Files

2005-05-17 Thread Stuart Nielson
I have a few interpretive questions on uploading files. There is the max_input_time, and the max_execution_time. I am uploading files and they continue to time out after a few minutes. Looking at the php.ini file from phpinfo() shows max_input_time set to -1 and max_execution_time set to 60. Do

[PHP] php addslashes etc

2005-05-17 Thread Pieter Breed
Hi, First of, sorry for the attachment. It is a screenshot of the output of the following code. It also shows the contents of the array data in question. I have the following piece of actual code: // $arrayData is the data in an array form $arrayData = ArrayIzeDbResult( $db2 ) ; // we want to

Re: [PHP] PHP Phone Number Validation

2005-05-17 Thread Paul Fierro
On 05/16/2005 7:48 PM, IMEX Research <[EMAIL PROTECTED]> wrote: > OK, I know this has probably gone aruond the list a few times, but how do I > validate a phone number that is in the format ddd-ddd- ?? I can't figure > out how. I try to not restrict the way your users enter phone numbers or

Re: [PHP] PHP and COM+ prob

2005-05-17 Thread Jochem Maas
bob pilly wrote: Hi all! I am trying to start word using com and php and having problems. I am running php 5.04 and apache 2.054 on windows. I have used a simple example from the php site but cant get it working. |Version}\n"; //bring it to front $word->Visible = 1; //open an empty document $word->

Re: [PHP] Sending a string with $_POST/$_GET

2005-05-17 Thread disguised.jedi
> I want to write a string to a variable and use $_POST or $_GET to retrieve > it on another page. > > I keep gettting an undefined index errror. Can someone show me how this is > done? /* How are you trying to accomplish this? Are you setting the $_GET in the page code, or using a hidden form?

[PHP] PHP Applications?

2005-05-17 Thread Brian Dunning
Hi all - My background is mostly with Lasso. One cool feature is the ability to make "LassoApps" - single file applications that are secure and can be sold & distributed without providing access to the source. Does PHP offer any such capability? - Brian -- PHP General Mailing List (http://ww

Re: [PHP] counting ocuring words in a string

2005-05-17 Thread Brian V Bonini
On Tue, 2005-05-17 at 06:00, Merlin wrote: > Hi there, > > I am trying to find a way to count the number of times (if any) words are > inside > a string. So I played around with ereg, preg_match_all and so on, but could > not > put together a working code. Maybe something like this? '; fore

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Jason Barnett
Brian V Bonini wrote: ... Still no go... Other changes in php.ini DO take effect, just not this I'm at a loss By any chance are you changing PHP values through Apache's conf file? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Phone Number Validation

2005-05-17 Thread John Nichel
IMEX Research wrote: OK, I know this has probably gone aruond the list a few times, but how do I validate a phone number that is in the format ddd-ddd- ?? I can't figure out how. preg_match ( "/^\d{3}-\d{3}-\d{4}$/", $phnumber ) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTE

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Brian V Bonini
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: > Does show the same /path/to/php.ini as the one you edit? > Yup > To be 100% certain, use 'stop' to stop Apache and then do: > ps aux | grep httpd > > You should see only the "grep httpd" output, or no output at all. Did that... > Then

[PHP] array, trouble updating

2005-05-17 Thread mayo
I usually work with cold fusion and took on a little project to get my feet wet in php and am spinning my wheels. What I thought might be difficult was easy and what I thought would be a piece of cake has caused me much grief over the last few days. I'm making a little shopping basket, writing t

Re: [PHP] Sending a string with $_POST/$_GET

2005-05-17 Thread Burhan Khalid
Ross wrote: I want to write a string to a variable and use $_POST or $_GET to retrieve it on another page. I keep gettting an undefined index errror. Can someone show me how this is done? Do I have to use session_start() ? This would be ideal. Have checked the documentation, can't find a really

Re: [PHP] PHP 5.0 and mysql

2005-05-17 Thread Burhan Khalid
Jay Blanchard wrote: [snip] This is going to a very naive question, but how do I make mysql work with PHP 5? I run PHP on IIS on Windows 2000. Help! [/snip] Read the instructions http://us4.php.net/mysql Also See > http://www.php.net/manual/en/install.windows.extensions.php -- PHP General Mailing L

Re: [PHP] Re-initiating an autostarted session

2005-05-17 Thread Ville Mattila
[EMAIL PROTECTED] wrote: Look in the user contributed notes in the session-destroy page. There is a function to wipe out the session and has worked nicely for me! http://www.php.net/session_destroy Thank you for a message. Anyway, I could not get it working (the code follows) - I do still have ex

Re: [PHP] Cache

2005-05-17 Thread Rory Browne
> Probably, but not serializing at all, and stuffing the data directly into > shared memory would perhaps be faster, at least as I vaguely understood > the results of a thread on serialization on this very forum from a month > or two ago. (Check archives for "serialize" "shared memory" and "Rasmus

Re: [PHP] Re: I have some upload questions.

2005-05-17 Thread Lee Chen
"James E Hicks III" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > Lee Chen wrote: > > >Thanks > >I check the phpinfo, and my safe_mode is off. > >This is my phpinfo > >http://homepage.ntu.edu.tw/~b91401010/phpinfo().htm > >It is just a copy, not on the server.(so it's html file, not a php fi

RE: [PHP] Blank page in browser

2005-05-17 Thread Leila Lappin
Blank page usually means there was an error during parsing of PHP. The error will be in the error.log file under apache. Find that file and check it, it'll show you what happened. -Original Message- From: Nayeem [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 4:42 AM To: php-gene

Re: [PHP] counting ocuring words in a string

2005-05-17 Thread Petar Nedyalkov
On Tuesday 17 May 2005 13:00, Merlin wrote: > Hi there, > > I am trying to find a way to count the number of times (if any) words are > inside a string. So I played around with ereg, preg_match_all and so on, > but could not put together a working code. > > Can anybody help me on that? > > This is

RE: [PHP] PHP 5.0 and mysql

2005-05-17 Thread Jay Blanchard
[snip] This is going to a very naive question, but how do I make mysql work with PHP 5? I run PHP on IIS on Windows 2000. Help! [/snip] Read the instructions http://us4.php.net/mysql -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 5.0 and mysql

2005-05-17 Thread Eustace
This is going to a very naive question, but how do I make mysql work with PHP 5? I run PHP on IIS on Windows 2000. Help!

[PHP] counting ocuring words in a string

2005-05-17 Thread Merlin
Hi there, I am trying to find a way to count the number of times (if any) words are inside a string. So I played around with ereg, preg_match_all and so on, but could not put together a working code. Can anybody help me on that? This is the current code: function count_words($str, $words) { if

Re: [PHP] Syntax Coloring

2005-05-17 Thread Burhan Khalid
hima wrote: Hi all, I am trying to apply syntax coloring to my source code as I type it in unix shell. I work on a mac machine. How do I achieve this. In the php.ini file I see these following lines commented out. ; Colors for Syntax Highlighting mode. Anything that's acceptable in ; would work

RE: [PHP] JavaScript+Html+PH

2005-05-17 Thread Richard Sitompul
Of course, why not, or you can use smarty template engine. http://smarty.php.net/ Thanks, Richard Sitompul -Original Message- From: ÃÃÂÃÃÃ [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 12:26 To: php-general@lists.php.net Subject: [PHP] JavaScript+Html+PH Hiï Can I use Java

[PHP] Sending a string with $_POST/$_GET

2005-05-17 Thread Ross
I want to write a string to a variable and use $_POST or $_GET to retrieve it on another page. I keep gettting an undefined index errror. Can someone show me how this is done? Do I have to use session_start() ? Have checked the documentation, can't find a really basic example. R. -- PHP Ge

[PHP] PHP and COM+ prob

2005-05-17 Thread bob pilly
Hi all! I am trying to start word using com and php and having problems. I am running php 5.04 and apache 2.054 on windows. I have used a simple example from the php site but cant get it working. |Version}\n"; //bring it to front $word->Visible = 1; //open an empty document $word->Documents->Ad

[PHP] Blank page in browser

2005-05-17 Thread Nayeem
Dear All, I'm new to PHP programming and I just try to display small information from database on web page but its shows blank page. So my code is mention below and let me know what's wrong in it but when I execute same program on command prompt then its shows all result correctly with HTML Tags

RE: [PHP] PHP Phone Number Validation

2005-05-17 Thread Kim Madsen
> -Original Message- > From: IMEX Research [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 17, 2005 2:49 AM > To: php-general@lists.php.net > Subject: [PHP] PHP Phone Number Validation > > OK, I know this has probably gone aruond the list a few times, but how do > I validate a phone number

Re: [PHP] JavaScript+Html+PH

2005-05-17 Thread fabien champel
no javascript won't call a php function. you'll need to open another page or do it in javascript -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php and com

2005-05-17 Thread Bob Pilly
I am trying to start word using com and php. I am running php 5.04 and apache 2.054 on windows. I have used a simple example from the php site but cant get it working. |Version}\n"; //bring it to front $word->Visible = 1; //open an empty document $word->Documents->Add(); //do some weird stuff $w

Re: [PHP] mysql + addslashes + stripslashes

2005-05-17 Thread Milen Yordanov
Thank you VERY much for you detailed reply. Especially that part: " MySQL "sees" the \' and "knows" that is an embedded apostrophe and saves your data as "Joe's Grill" down in the guts of MySQL files. Note that MySQL does *NOT* *NOT* *NOT* store \' as part of the data. The \ is simply a marker th

RE: [PHP] JavaScript+Html+PH

2005-05-17 Thread YaronKh
yes -Original Message- From: çæä [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 7:26 AM To: php-general@lists.php.net Subject: [PHP] JavaScript+Html+PH Hiï Can I use JavaScript+Html+PHP in a file? Function sort(){ Sort_asc(); } E-mail/MSN: [EMAIL

Re: [PHP] regex question

2005-05-17 Thread Petar Nedyalkov
On Monday 16 May 2005 22:53, Al wrote: > What pattern can I use to match ONLY single occurrences of a character in a > string. > > e.g., "Some text @ and some mo@@re and [EMAIL PROTECTED], etc @@@. Use the following: /(^@)(@{1})(^@)/ This way you'll be sure the regexp will match only single occu