Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-30 Thread Sameer N Ingole
tedd wrote: [snip] However, considering the experiences I've had with Indians, Hope you are serious about this sentence.. Out of entire Indian population, there are ~750,000 IT professionals. How many did you meet? Out of these how many experiences were bad/worse? I don't mean to sound racist,

[PHP] Re: trying to download birary data

2006-04-30 Thread benmoreassynt
Ross wrote: > On this page > http://www.nationalservicesscotland.com/publications/a-z.php > > I use the following code to donwload binary data. It is jsut gibberish. I > think the offending line is echo " href=\"$link\"$name"; > Seeing as you are echoing a simple html anchor, I can see no reaso

[PHP] Re: Picture for Form Security

2006-04-30 Thread Manuel Lemos
Hello, on 04/30/2006 09:37 PM [EMAIL PROTECTED] said the following: > Does anyone know of a good script for form security, where someone goes to > login and then they have to type a number, disabling automated scripts from > logging in versus a physical user. It is widely used by domain registrar

Re: [PHP] c99shell

2006-04-30 Thread Richard Lynch
On Sun, April 30, 2006 12:31 am, scot wrote: > Hi there, > Not sure if this is proper place to post but here it goes. We got > nailed by > someone using c99shell today. They were able to upload and overwrite a > bunch > of index files. I am working on discovering how they were able to get > it on

Re: [PHP] Re: undefined variable

2006-04-30 Thread Richard Lynch
On Sun, April 30, 2006 6:17 am, Smart Software wrote: > while(query )//here the query is opened Please, JUST post your real code in http://pastebin.com or something! We CANNOT figure out what the [bleep] you really have from this! > { > > > name ?> // record from database >

Re: [PHP] problem with mktime

2006-04-30 Thread Richard Lynch
On Sun, April 30, 2006 6:38 am, Ross wrote: > I am using this to compare todays date with dates retieved from a > database. > The problem is it seem to retrun the same value for the $then variable > > and can be seen ot working here > > http://nationalservicesscotland.com/cms/time.php > > > >

Re: [PHP] Picture for Form Security

2006-04-30 Thread Chris
[EMAIL PROTECTED] wrote: Does anyone know of a good script for form security, where someone goes to login and then they have to type a number, disabling automated scripts from logging in versus a physical user. It is widely used by domain registrars who protect the identity of a domain name. I

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Richard Lynch
Instantiating an object does have some extra overhead that the static call bypasses. How much overhead depends on the complexity of the object, I would predict that it's mainly in its constructor and any parent constructors. I can't speak to differences in PHP4/PHP5 in this specific regard, but w

Re: [PHP] Picture for Form Security

2006-04-30 Thread Richard Lynch
Google for CAPTCHA On Sun, April 30, 2006 7:37 pm, [EMAIL PROTECTED] wrote: > Does anyone know of a good script for form security, where someone > goes to > login and then they have to type a number, disabling automated scripts > from > logging in versus a physical user. It is widely used by do

Re: [PHP] trying to download birary data

2006-04-30 Thread Richard Lynch
If you use a text editor to look at your PDF, you will see this on the first line: id is 45%PDF-1.4^[34m^M%âãÏÓ^[34m^M The debug output "id is 45" is not going to make any PDF reader/viewer happy, in a big way. I dunno what else might be wrong, but that's gotta get fixed first and foremost. On

[PHP] Picture for Form Security

2006-04-30 Thread [EMAIL PROTECTED]
Does anyone know of a good script for form security, where someone goes to login and then they have to type a number, disabling automated scripts from logging in versus a physical user. It is widely used by domain registrars who protect the identity of a domain name.

RE: [PHP] re: undefined variable

2006-04-30 Thread ray . hauge
> Original Message > Subject: [PHP] re: undefined variable > From: "Smart Software" <[EMAIL PROTECTED]> > Date: Sun, April 30, 2006 1:50 pm > To: php-general@lists.php.net > > //get content of textbox > $q = isset($_REQUEST['$textbox']) ? $_REQUEST['$textbox'] : 0; You sho

Re: [PHP] c99shell

2006-04-30 Thread Dave Goodchild
Hey. That is not a good php.ini configuration. 1. display_errors should be disabled in production as it may output path info to the browser. 2. register_globals should be disabled (default in php5) as it allows scripts to be polluted with tainted data. 3. I would also disabled short_open_tags - n

Re: [PHP] c99shell

2006-04-30 Thread Stut
scot wrote: Hi there, Not sure if this is proper place to post but here it goes. We got nailed by someone using c99shell today. They were able to upload and overwrite a bunch of index files. I am working on discovering how they were able to get it on our server. Here's some basic info. I am by n

[PHP] c99shell

2006-04-30 Thread scot
Hi there, Not sure if this is proper place to post but here it goes. We got nailed by someone using c99shell today. They were able to upload and overwrite a bunch of index files. I am working on discovering how they were able to get it on our server. Here's some basic info. I am by no means a p

Re: [PHP] undefined variable

2006-04-30 Thread Smart Software
isset always returns 0 i create dynamic textbox called quantity0, textbox1, textbox3... then i a, trying to get the content of the textbox but it is always 0. as you can see, i tried the suggestions but it still dont work. is there something iam doing wroing? why is the textbox always 0?

[PHP] c99shell

2006-04-30 Thread scot
Hi there, Not sure if this is proper place to post but here it goes. We got nailed by someone using c99shell today. They were able to upload and overwrite a bunch of index files. I am working on discovering how they were able to get it on our server. Here's some basic info. I am by no means a php

Re: [PHP] PHP Standard style of writing your code

2006-04-30 Thread tedd
Beautiful code often contains fewer bugs. Dante I agree -- but, if nothing else, they're at least prettier bugs. :-) tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] php login

2006-04-30 Thread tedd
At 9:32 PM +0200 4/29/06, Schalk wrote: Greetings All, Where can I find a good tutorial on creating a login protected area using php? I did a Google search and found a couple but, I would like to get suggestions from the list. Thanks! -- Kind Regards Schalk Neethling Schalk: Not that you

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-30 Thread tedd
At 12:33 PM -0700 4/29/06, Paul Novitski wrote: At 10:46 AM 4/29/2006, tedd wrote: ... "I have found" it is simply a waste of my time to try to find profitable common ground. They are concerned with one thing, and one thing only, and that is how cheap can they get it -- and they seldom have a

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Stut
Jochem Maas wrote: me I'm just slow - I still on 'how the f*** do I use branches in CVS' after using it for 18 months+; and I haven't even begun to look at subversion yet :-P I strongly suggest you skip branches in CVS and go straight to subversion. I've been using CVS for years and have att

Re: [PHP] trying to download birary data

2006-04-30 Thread Jochem Maas
Ross wrote: On this page http://www.nationalservicesscotland.com/publications/a-z.php I use the following code to donwload binary data. It is jsut gibberish. I think the offending line is echo "$name"; How do I recompile the binaryy data into docs and pdfs? $name"; $link should a l

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Jochem Maas
Edward Vermillion wrote: On Apr 30, 2006, at 10:45 AM, Jochem Maas wrote: CVS or subversion (and 3 weeks intensive study of what branches are) might be of help to you - not for the faint-hearted though! Been reading the subversion manual for the past three days... ;) (I'm a slow reader

Re: [PHP] Removing special chars

2006-04-30 Thread Jochem Maas
Gerry Danen wrote: I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... $output = preg_replace('#[^a-z0

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Edward Vermillion
On Apr 30, 2006, at 10:45 AM, Jochem Maas wrote: CVS or subversion (and 3 weeks intensive study of what branches are) might be of help to you - not for the faint-hearted though! Been reading the subversion manual for the past three days... ;) (I'm a slow reader) Ed -- PHP General Mail

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Jochem Maas
Edward Vermillion wrote: On Apr 30, 2006, at 10:10 AM, Jochem Maas wrote: Edward Vermillion wrote: I'm still trying to get my head around all the OOP stuff and was wondering if there is any basic difference between calling a static function as opposed to creating an object, in situation

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Edward Vermillion
On Apr 30, 2006, at 10:10 AM, Jochem Maas wrote: Edward Vermillion wrote: I'm still trying to get my head around all the OOP stuff and was wondering if there is any basic difference between calling a static function as opposed to creating an object, in situations where both methods wil

Re: [PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Jochem Maas
Edward Vermillion wrote: I'm still trying to get my head around all the OOP stuff and was wondering if there is any basic difference between calling a static function as opposed to creating an object, in situations where both methods will do the same thing for you. Is there any overhead to

[PHP] OOP Static Functions vs. Objects

2006-04-30 Thread Edward Vermillion
I'm still trying to get my head around all the OOP stuff and was wondering if there is any basic difference between calling a static function as opposed to creating an object, in situations where both methods will do the same thing for you. Is there any overhead to creating an object from a

Re: [PHP] php pager-close but not no cigar!

2006-04-30 Thread Jochem Maas
Ross wrote: I have almost got my pager working here (just hit submit to return the full db) http://scottishsocialnetworks.org/editor2.php http://scottishsocialnetworks.org/editor2.phps The pager works fine until you hit any of the other links at the bottom then I get a blank page. I get

[PHP] php pager-close but not no cigar!

2006-04-30 Thread Ross
I have almost got my pager working here (just hit submit to return the full db) http://scottishsocialnetworks.org/editor2.php http://scottishsocialnetworks.org/editor2.phps The pager works fine until you hit any of the other links at the bottom then I get a blank page. Any ideas? Ross --

Re: [PHP] Re: problem with mktime

2006-04-30 Thread chris smith
On 4/30/06, Ross <[EMAIL PROTECTED]> wrote: soted it ! Thanks. please enlighten us in case someone else has the same sort of issue... ""Ross"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am using this to compare todays date with dates retieved from a database. >The problem

Re: [PHP] Session Array Disappears

2006-04-30 Thread Jochem Maas
Richard Lynch wrote: ... Your basic Human Interface principle, which is apparently going to be called Web 2.0 now. :-) lol, that sums it up perfectly. ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] re: Undefined Variable

2006-04-30 Thread Stut
Smart Software wrote: while(query )//here the query is opened { name ?> // record from database Please fill in your age: //text //textbox, name"; ?> " } Actually a Javascript question, but I seem to be in a rare good mood today, so

Re: [PHP] simplexml and serialize error

2006-04-30 Thread Jochem Maas
Richard Lynch wrote: On Sat, April 29, 2006 8:30 pm, Anthony Ettinger wrote: Warning: var_dump() [function.var-dump]: Node no longer exists in Foo.php on line 78 object(SimpleXMLElement)#86 (0) { } ["title"]=> I turn an xml string into a simplexml object, and then ran serialize() on it before

Re: [PHP] php login

2006-04-30 Thread Jochem Maas
Schalk wrote: Greetings All, Where can I find a good tutorial on creating a login protected area using php? I did a Google search and found a couple but, I would like to get suggestions from the list. Thanks! here is a set of functions that allow you to mimick a .htaccess style of protected