RE: [PHP] Sorting arrays

2003-12-13 Thread Bronislav Klucka
Try to explain a little bit more how the arrays could be sorted asscending and by hitting back and submitting form suddnely sorted descending... Brona > > Does anyone know of a way to keep sort from reversing the array order? > That is kinda fuzzy, let me explain. > > I have a couple arrays that

[PHP] Sorting arrays

2003-12-13 Thread Jake McHenry
Does anyone know of a way to keep sort from reversing the array order? That is kinda fuzzy, let me explain. I have a couple arrays that I am sorting. If the user hits the back button in their browser, and hits submit again without changing anything, the array is sorted again, now in decending orde

[PHP] Re: Whats wrong with this statement.

2003-12-13 Thread Justin Patrin
Philip J. Newman wrote: $websiteUrl="http://www.philipnz.com/";; $websiteEmail="[EMAIL PROTECTED]"; // CHECK TO SEE IF DATA MATCHS WHATS IN THE DATABASE. $sql = "SELECT hUrl,hContactEmail FROM hyperlinks_data"; $sql_result = mysql_query($sql, $connection) or die ("Could not get Query"); $exi

Re: [PHP] Re: What would the best way to veladate a URL string?

2003-12-13 Thread Philip J. Newman
Hay that works better thanks - Original Message - From: "Paul Chvostek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 14, 2003 2:17 PM Subject: [PHP] Re: What would the best way to veladate a URL string? > On Sun, Dec 14, 2003 at 11:23:25AM +1300, Philip J. Newman w

Re: [PHP] PHP IDE?

2003-12-13 Thread Mike
if you are using windows, I would highlt recommend PHPEdit, it is open source and has function completion. It boosts productivity a lot http://www.phpedit.net/products/PHPEdit/ Mike On Sat, 2003-12-13 at 17:06, Jough Jeaux wrote: > Was wondering what everyone's favortie IDE is for > coding in P

[PHP] Re: What would the best way to veladate a URL string?

2003-12-13 Thread Paul Chvostek
On Sun, Dec 14, 2003 at 11:23:25AM +1300, Philip J. Newman wrote: > > What would the best way to veladate a URL string? Validate? How about something like: eregi('^(f|ht)tp://([a-z0-9._:-]+@)?([a-z0-9][a-z0-9-]+\.)+[a-z][a-z]+(/([a-z0-9.%&=-]+)?)?',$string); You can adjust the "get" part to su

[PHP] Trying to check for a valid URL String.

2003-12-13 Thread Philip J. Newman
so far i got ... and i can't get it to work --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Whats wrong with this statement.

2003-12-13 Thread Philip J. Newman
http://www.philipnz.com/";; $websiteEmail="[EMAIL PROTECTED]"; // CHECK TO SEE IF DATA MATCHS WHATS IN THE DATABASE. $sql = "SELECT hUrl,hContactEmail FROM hyperlinks_data"; $sql_result = mysql_query($sql, $connection) or die ("Could not get Query"); $exists_hUrl = "0"; $exists_hContactEma

[PHP] What would the best way to veladate a URL string?

2003-12-13 Thread Philip J. Newman
What would the best way to veladate a URL string? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP IDE?

2003-12-13 Thread Tim Nilimaa
Jough Jeaux wrote: Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. --Jough __ Do you Yahoo!? New Yahoo! Photos - easier uploadin

Re: [PHP] setting word wrap

2003-12-13 Thread PAUL FERRIE
Ah Sorted cheers "Website Managers.Net" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Paul What you have entered there is not normal sentence structure. Since none of your characters have spaces between them, the browser has noplace to break into the next line. Try typing normal sen

Re: [PHP] setting word wrap

2003-12-13 Thread Website Managers.net
Paul What you have entered there is not normal sentence structure. Since none of your characters have spaces between them, the browser has noplace to break into the next line. Try typing normal sentences including spaces and you will see that the browser will break at or near the right edge, de

[PHP] Re: PHP IDE?

2003-12-13 Thread Justin Patrin
I use Emacs with syntax PHP highlighting. It does tabbing very well as well and has a lot of features that I couldn't easily gert out of vim (and there's no annoying mode change ;-). (Note: I used to use vim and loved it, but emacs seduced me away.) -paperCrane -- PHP General Mailing List (ht

[PHP] setting word wrap

2003-12-13 Thread PAUL FERRIE
Hi guys i wonder if someone could help me with this. http://thor.ancilenetworks.co.uk/~pferrie/vin/php/adm/ If you select table "reviews" and the press "view database" u will see that the text goes whey out to the right of the page making the bottom scrollbar kickin, this is not good. When i add

php-general Digest 13 Dec 2003 20:49:33 -0000 Issue 2471

2003-12-13 Thread php-general-digest-help
php-general Digest 13 Dec 2003 20:49:33 - Issue 2471 Topics (messages 172631 through 172648): Re: count the elements of each dimension of the array 172631 by: Marek Kilimajer [Newbie Guide] For the benefit of new members 172632 by: Ma Siva Kumar Netscape4.7 will reload the

Re: [PHP] What is a XSS attacks?

2003-12-13 Thread Chris Shiflett
--- Chris Shiflett <[EMAIL PROTECTED]> wrote: > 2. A talk I gave at OSCON 2003: > http://conferences.oreillynet.com/os2003/ My apologies; the link is actually: http://shiflett.org/talks/oscon2003 Chris = Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP D

[PHP] Email Forwarders

2003-12-13 Thread Matt Palermo
I have a hosted website which uses CPanel. I can login to CPanel and create as many email forwarders as I want. Is there a way I can write a PHP script to manage these email forwarders? For example, somebody registers on my site and they want to be added to the for a certain email address (as an

Re: [PHP] PHP IDE?

2003-12-13 Thread Brian V Bonini
On Sat, 2003-12-13 at 12:06, Jough Jeaux wrote: > Was wondering what everyone's favortie IDE is for > coding in PHP. I've got a big PHP project in the > works. I'll be doing alot with it and am looking for > ways to boost my productivity. Quanta Plus: http://quanta.sourceforge.net Bluefish is a

Re: [PHP] PHP IDE?

2003-12-13 Thread Clint Tredway
I also have Note Tab Pro and I love it for simple stuff. The more complicated my stuff got the more I got away from note tab. Clint Tredway www.digital12studios.com Original Message: >From: "Website Managers.net" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: [PHP] PHP IDE? >Date: S

Re: [PHP] PHP IDE?

2003-12-13 Thread Website Managers.net
Some of us prefer the basics. Note Tab Pro www.notetab.com Has syntax highlighting and enough clip book libraries to do just about anything we want. NetCaptor www.netcaptor.com for previewing our work. Jim www.websitemanagers.net - Original Message - From: "Jough Jeaux" <[EMAIL PROTECTE

re: [PHP] PHP IDE?

2003-12-13 Thread Clint Tredway
I have started using PrimalScript from www.sapien.com It's cheaper than NuSphere and I love it. Clint Tredway www.digital12studios.com Original Message: >From: Jough Jeaux <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [PHP] PHP IDE? >Date: Sat, 13 Dec 2003 09:06:56 -0800 (PST) >Was wond

Re: [PHP] PHP IDE?

2003-12-13 Thread Richard Davey
Hello Jough, Saturday, December 13, 2003, 5:06:56 PM, you wrote: JJ> Was wondering what everyone's favortie IDE is for JJ> coding in PHP. I've got a big PHP project in the JJ> works. I'll be doing alot with it and am looking for JJ> ways to boost my productivity. I use NuSphere's phpED - it wa

Re: [PHP] PHP IDE?

2003-12-13 Thread Jough Jeaux
Hmm, I'm currently a vim user also. You'll have to elaborate on this folding and ctag business though... --- Ahbaid Gaffoor <[EMAIL PROTECTED]> wrote: > vim - with folding and ctags > > sweet. > > Ahbaid > > Jough Jeaux wrote: > > >Was wondering what everyone's favortie IDE is for > >coding

Re: [PHP] PHP IDE?

2003-12-13 Thread Ahbaid Gaffoor
vim - with folding and ctags sweet. Ahbaid Jough Jeaux wrote: Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. --Jough __ Do y

[PHP] PHP IDE?

2003-12-13 Thread Jough Jeaux
Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. --Jough __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. htt

Re: [PHP] What is a XSS attacks?

2003-12-13 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote: > What is a XSS attacks? I have a few resources on this available for free: 1. An article I wrote for php|architect: http://www.phparch.com/sample.php?mid=16 2. A talk I gave at OSCON 2003: http://conferences.oreillynet.com/os2003/ 3. A talk I gave at ApacheCon 2003

[PHP] session doesn't keep data

2003-12-13 Thread Kratos kenkes
Can someone tell me what am i doing wrong here? The session doesn't keep data variables. I'm using php 4.0.6 with register_globals on and the system is: "SunOS src 5.7 Generic_106541-12 sun4u sparc SUNW,UltraSPARC-IIi-cEngine" . The first page called "info.php" looks like that: " ; ?> and return

[PHP] session_start() make netscape 4.7 reload page.

2003-12-13 Thread Jonathan Zhang
test.php --> For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start() from this page, the issue will not exist. Is there any solution for it? thank

[PHP] Re: (0/T) executeing script below public

2003-12-13 Thread Mike
Ryan A wrote: I noticed one funny thing about this script, it starts with: #!/bin/sh right on top but does not have a file extention...what kind of a file is this? Unix-like systems do not rely on file extensions to determine the file type. It uses whats called a magic number (a unique reference

[PHP] Re: POST upload script timeout

2003-12-13 Thread Iain Staffell
"Eric Bolikowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Iain Staffell" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I have a script on my local machine to allow friends to send me files, as > IM > > or FTP transfers don't work, and so I would like to

[PHP] Netscape4.7 will reload the page when resize the window if there have session_start() in these page

2003-12-13 Thread Jonathan Zhang
test.php --> For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start() from this page, the issue will not exist. Is there any solution for it? thank

[PHP] [Newbie Guide] For the benefit of new members

2003-12-13 Thread Ma Siva Kumar
=== This message is for the benefit of new subscribers and those new to PHP. Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first

Re: [PHP] count the elements of each dimension of the array

2003-12-13 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: I have this script: This is illegal. Only one pair of empty square brackets is allowed. How whould php know where to add the new key? $ojpp[][] = "1"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 13 Dec 2003 08:15:53 -0000 Issue 2470

2003-12-13 Thread php-general-digest-help
php-general Digest 13 Dec 2003 08:15:53 - Issue 2470 Topics (messages 172591 through 172630): Re: Checking a URL string. 172591 by: Mike not parsing php files, giving us a save dialog. 172592 by: Ryan A 172594 by: Jay Blanchard 172596 by: Chris Shiflett

Re: [PHP] ereg is failing on this simple test

2003-12-13 Thread Eugene Lee
On Fri, Dec 12, 2003 at 07:54:16PM -0800, Manuel Ochoa wrote: : : Why is this test failing? : : $data = "A Simple test."; : If (ereg("^[a-zA-Z0-9\s.\-_']+$", $data)) { : echo "Valid text"; : } : else { : echo "Not valid text"; : } You can't use the character class "\s" within a range. And