php-general Digest 27 May 2005 14:06:46 -0000 Issue 3478

2005-05-27 Thread php-general-digest-help
php-general Digest 27 May 2005 14:06:46 - Issue 3478 Topics (messages 215845 through 215855): passthru in IE: fullscreen display of SWF 215845 by: dc Report 215846 by: MAILER-DAEMON php uncongruence (or config?) 215847 by: Miguel Vaz 215853 by: Jochem Maas

[PHP] delivery failed

2005-05-27 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

RE: [PHP] further detail on mysql connect problem

2005-05-27 Thread Nalini Pal
Hi Jim, MySQL have changed the password hashing in version 4.1 Go to your mysql command prompt. If you are using windows you can find it from Start MySQL MySQL Server 4.1 MySQL Command Line Client. Or something like that... Type the following, replacing your values for some user, some host

[PHP] Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To

[PHP] novice: how to run .sql script from php?

2005-05-27 Thread tony yau
Hi All, I got this .sql script that setup the whole db schema, I can run mysql.exe to run on my pc but when it goes to a hosting company's server I don't have that command! So I tried to include(setup.sql) into a string and send that as one long sql query. BUT I need to get rid of all

[PHP] Stopping users to see uploaded files

2005-05-27 Thread symbulos
Dear friends, we are using php for developing a small tool for uploading files for download (publications). Using the usual move_uploaded_file, the publications are loaded into a directory where the webserver can write / read. Unfortunately, that means every person who connects to the

Re: [PHP] php uncongruence (or config?)

2005-05-27 Thread Jochem Maas
Miguel Vaz wrote: Hi, I am confused as to how to solve this simple problem. Although it seems as some little config issue i am missing. its the fact that your hosting provider is using an older php version than you are at home (I'm guessing here, but it seems the most

[PHP] Returned mail: Data format error

2005-05-27 Thread Mail Delivery Subsystem
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

[PHP] xml

2005-05-27 Thread Andy Pieters
Hi all I recently decided to switch to xml for the configuration of our programs. I am now looking for a good way to handle that xml data. Basically, what I am looking for is a functionality where I say Get tag x with attribute1=y, attribute2=z,..., read its contents and put it in an

[PHP] Re: Stopping users to see uploaded files

2005-05-27 Thread Jens Kleikamp
verffentlicht per Mail versendet symbulos wrote: Dear friends, we are using php for developing a small tool for uploading files for download (publications). Using the usual move_uploaded_file, the publications are loaded into a directory where the webserver can write / read.

Re: [PHP] novice: how to run .sql script from php?

2005-05-27 Thread John Nichel
tony yau wrote: Hi All, I got this .sql script that setup the whole db schema, I can run mysql.exe to run on my pc but when it goes to a hosting company's server I don't have that command! So I tried to include(setup.sql) into a string and send that as one long sql query. BUT I need to

Re: [PHP] novice: how to run .sql script from php?

2005-05-27 Thread Rory Browne
I'm assuming that the .sql file consists of a list of MySQL queries, that when performed sequentially will set up your system. That being the case, the perfered way ot install the thing is to do a 'mysql [host/username/password parameters] file.sql'. I believe you can also run file.sql scripts

Re: [PHP] xml

2005-05-27 Thread Philip Hallstrom
Hi all I recently decided to switch to xml for the configuration of our programs. I am now looking for a good way to handle that xml data. Basically, what I am looking for is a functionality where I say Get tag x with attribute1=y, attribute2=z,..., read its contents and put it in an

Re: [PHP] include file and problems with headers

2005-05-27 Thread Philip Hallstrom
Make sure you don't have any blankspace before or after the ?php ... ? in your stats.php file. That's usually what does it. On Sat, 21 May 2005, Ross wrote: I have the folowing code which checks whether the user has logged in. if (!isset ($_SESSION['new_session'] ) ) { $login_status = div

[PHP] Re: Free penetration test

2005-05-27 Thread Manuel Lemos
Hello, on 05/23/2005 06:19 AM Andy Pieters said the following: I am looking at where I can get my system tested for penetration. In case someone here would like to have a go This is the url http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/ It is actually a kind of CMS system so if

[PHP] addslashes/stripslashes issue

2005-05-27 Thread JM
Hi all, Ok here is what I need help with: $var = i like fi'sh; I'm able to addslashes(gather the data from a form), submit into the database, stripslashes(retrieve it). My problem is when I display it in a input type=text form the single quote is causing a truncation. input type=text

RE: [PHP] financial application form

2005-05-27 Thread Dave Sayer
[snip] There could be several ways to do this. One would be to set a variable to the value 'joint_' (or some other value) and append that to the variables of the second form once the first form is complete $2nd_form_var_prefix = 'joint_'; if(complete == $all_first_form_vars){

[PHP] php not allowed in .htaccess

2005-05-27 Thread Jack Jackson
Hi, dumb config issue. I'm putting a php_value include_path statement in an .htaccess file php_value include_path .:/home/user/public_html/dis/admin/:/home/nick/ php_value auto_prepend_file /home/user/public_html/dis/admin/wcsconf.php and getting a 500 Server Error. Apache logs say,

Re: [PHP] Building multi-page Word docs with PHP?

2005-05-27 Thread Rory Browne
If it were that important, then you could probably figure out a way to get OOo, to do it through Uno. On 5/25/05, Brent Baisley [EMAIL PROTECTED] wrote: I've only read about being able to generate a Word document if you are running under Windows (which I am not). I gave up long ago trying to

[PHP] per user per blog

2005-05-27 Thread Roger Thomas
Hi, Am looking for opensource blogging engine that does per user per blog with PHP and mySQL and authenticates user thru LDAP. Best rgds, Roger --- Sign Up for free Email at http://ureg.home.net.my/

[PHP] Voting Polls and preventing multiple votes

2005-05-27 Thread Dan Rossi
Hi there I am mocking up a quick voting poll system, however I would like to put hooks in place to prevent users posting more than once, voting bots etc. Is there a way to prevent them, obviously sessions, cookies, host ips cant be used as they can be removed, and especially with host ips ,

Re: [PHP] Building multi-page Word docs with PHP?

2005-05-27 Thread Rory Browne
Before we get ahead of ourselves, can we ask what OS you're using George? If you're using Windows, then you have COM. If you're not insane, then you'll have to use unix tools. For turning documents TO word docs, then the only way I can think of is to script OOo in some way. I'm assuming that

[PHP] CGI's on Apache

2005-05-27 Thread Rory Browne
Hi all. I know this isn't php related, but I'm not subscribed to an apache mailing list, and this is probably the closest of all the mailing lists I'm subscribed to, to the topic. I tried to enable CGI in my $HOME/public_html directory, by adding the ExecCGI option, to the Directory

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris
Chris W. Parker wrote: Marek Kilimajer mailto:[EMAIL PROTECTED] on Thursday, May 26, 2005 11:35 AM said: untested: function display($array, $prefix = '') { echo $prefix ':' . $array['name'] . \n; if(is_array($array['children']) $array['children']) {

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris
Chris W. Parker wrote: Hi everyone, I've been working on a problem for a few days now and I'm not making any headway so I think it's time I come to the list for some help (though this really disappoints me since it appears I'm not capable of solving this problem on my own!). Anyway, I'm

RE: [PHP] Stopping users to see uploaded files

2005-05-27 Thread Kim Madsen
-Original Message- From: symbulos [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 1:00 PM Unfortunately, that means every person who connects to the directory can see the files. If some of the files are for sale, how do you stop the user from seeing them / downloading them

[PHP] Re: printf() in a variable, or alternative to printf()

2005-05-27 Thread Jason Barnett
sprintf() http://php.net/manual/en/function.sprintf.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris
Chris W. Parker wrote: Hi everyone, I've been working on a problem for a few days now and I'm not making any headway so I think it's time I come to the list for some help (though this really disappoints me since it appears I'm not capable of solving this problem on my own!). Anyway, I'm using

[PHP] Sorting Objects in an array by object properties

2005-05-27 Thread Reto M. Kiefer
Hello list, I have an array which holds some objects. Each object represent elements from an email header in a given mailbox. Each object has properties like from, sendtime, subject etc. I want to sort the order of the objects in the array by their attribute sendtime in order to get a list

[PHP] Re: xml

2005-05-27 Thread Jason Barnett
Andy Pieters wrote: Hi all I recently decided to switch to xml for the configuration of our programs. I am now looking for a good way to handle that xml data. Basically, what I am looking for is a functionality where I say Get tag x with attribute1=y, attribute2=z,..., read its contents and

[PHP] Re: Sorting Objects in an array by object properties

2005-05-27 Thread Jason Barnett
Reto M. Kiefer wrote: ... PS: The array has the following structure: Array ( [0] = mail_Header Object ( [id] = 1 [pid] = 1 [read] = r [flagged] = n [from] = [EMAIL PROTECTED] [subject] = Re: [ugffm] TYPO3 anybody ? [sendtime] = 2005.05.17 - 18:27:25 ) [1] = mail_Header Object (

Re: [PHP] addslashes/stripslashes issue

2005-05-27 Thread Rasmus Lerdorf
JM wrote: Hi all, Ok here is what I need help with: $var = i like fi'sh; I'm able to addslashes(gather the data from a form), submit into the database, stripslashes(retrieve it). My problem is when I display it in a input type=text form the single quote is causing a truncation.

[PHP] DOM: browse childnodes but not recursively

2005-05-27 Thread Victor Spång Arthursson
Ciao! I really hope someone can help me on this, since I have been putting in to much time in it now, and I have to show off some results ;) The problem is that I can't browse nodelists in only one dimension, that is, whitout getting the sub-nodes of the nodes. My XML reads: element

[PHP] Re: Voting Polls and preventing multiple votes

2005-05-27 Thread Jason Barnett
Dan Rossi wrote: Hi there I am mocking up a quick voting poll system, however I would like to put hooks in place to prevent users posting more than once, voting bots etc. Is there a way to prevent them, obviously sessions, cookies, host ips cant be used as they can be removed, and especially

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Steve Brown
Food:Fruit:Red Food:Fruit:Green Food:Fruit:Yellow Food:Vegetables:Long Food:Vegetables:Round Food:Vegetables:Round:Spikey Food:Vegetables:Round:Smooth How is your structure being built? Is it hard-coded or dynamic (e.g. pulled from a DB)? We employ a similar tree structure for manging

Re: [PHP] addslashes/stripslashes issue

2005-05-27 Thread John Nichel
JM wrote: Hi all, Ok here is what I need help with: $var = i like fi'sh; I'm able to addslashes(gather the data from a form), submit into the database, stripslashes(retrieve it). My problem is when I display it in a input type=text form the single quote is causing a truncation. input

RE: [PHP] Stopping users to see uploaded files

2005-05-27 Thread symbulos
Thanks everybody for all the useful suggestions. That way´s just fine. You could upload directly to the dir outside webscope if You like? How do we do that? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] printf() in a variable, or alternative to printf()

2005-05-27 Thread mayo
I need to be able to format data. Printf() is perfect because I need a certain amount of characters (30 for address). However I need this formatted data to be inside a file that's fwrite() and then FTPed to a distributor who will parse it and input into their database. printf(%

[PHP] Returned mail: see transcript for details

2005-05-27 Thread Bounced mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

Re: [PHP] Voting Polls and preventing multiple votes

2005-05-27 Thread Rory Browne
On 5/26/05, Dan Rossi [EMAIL PROTECTED] wrote: Hi there I am mocking up a quick voting poll system, however I would like to put hooks in place to prevent users posting more than once, voting bots etc. You could use a captcha(www.captcha.net afaik), to prevent bots from voting. Is there a way

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Ryan A
You may want to try Security Space services. They perform many types of security checks remotely including penetration tests that may reveal serious vulnerabilities in your servers. Such vulnerabilities include holes, in your server OS version, Web and e-mail servers and even in the PHP

Re: [PHP] Impossible to list attributes of xml-element?

2005-05-27 Thread Christian Stocker
On 5/26/05, Victor Spång Arthursson [EMAIL PROTECTED] wrote: Ciao! I'm selecting an element in the xml using xpath. I know there is only one element matching the xpath-query, but still I get the result as a list. Nevermind. This list is of the type domnodelist, on which only one action is

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Rasmus Lerdorf
on 05/23/2005 06:19 AM Andy Pieters said the following: I am looking at where I can get my system tested for penetration. In case someone here would like to have a go This is the url http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/ It is actually a kind of CMS system so if

[PHP] Re: [PHP-DB] Letters loop

2005-05-27 Thread Stephen Johnson
Then this is what I would suggest. $alph = array('*', 'A', 'B','C'...etc) ; $i=0; EchoSelect name=foo; While($alph[$i]){ echooption value=$alph[$i]$alph[$i]; $i++; } Echo/Select; On 5/25/05 9:54 PM, MIGUEL ANTONIO GUIRAO AGUILAR [EMAIL PROTECTED] wrote: Yes, because I will create a

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Manuel Lemos
Hello, on 05/27/2005 02:30 PM Ryan A said the following: You may want to try Security Space services. They perform many types of security checks remotely including penetration tests that may reveal serious vulnerabilities in your servers. Such vulnerabilities include holes, in your server OS

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Andy Pieters
On Friday 27 May 2005 19:11, Rasmus Lerdorf wrote: You have all sorts of problems at that URL. To start with, here is a cross-site scripting hack: http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript%09 src%3D%22http://3423329163/v Hi Thank you! I just saw the potential

Re: [PHP] Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Ryan Grange
Gary C. New wrote: Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary I believe you would in effect by

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Rasmus Lerdorf
Andy Pieters wrote: On Friday 27 May 2005 19:11, Rasmus Lerdorf wrote: You have all sorts of problems at that URL. To start with, here is a cross-site scripting hack: http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript%09 src%3D%22http://3423329163/v Hi Thank you! I

RE: [PHP] printf() in a variable, or alternative to printf()

2005-05-27 Thread Jay Blanchard
[snip] I need to be able to format data. Printf() is perfect because I need a certain amount of characters (30 for address). However I need this formatted data to be inside a file that's fwrite() and then FTPed to a distributor who will parse it and input into their database. printf(%

RE: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris W. Parker
Steve Brown mailto:[EMAIL PROTECTED] on Thursday, May 26, 2005 11:47 AM said: How is your structure being built? Is it hard-coded or dynamic (e.g. pulled from a DB)? From a database. We employ a similar tree structure for manging items in our store front. Believe me when I say, its a

[PHP] how to convert char into number

2005-05-27 Thread Jeremy Reynolds
What function do I use to convert an ASCII character into it's equivalent number? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Very odd (bug??) with arrays, objects, and serialize (please read!)

2005-05-27 Thread Philip Hallstrom
Hi all - I came across a very odd bug in 4.3.10 (and 4.3.11). It's not in 4.3.4, and it's not in 5.0.4. My understanding is that in 4.x objects are assigned by value. So, why in the first part of the code is the output of serialize() indicating a reference? This would suggest that

[PHP] how to convert char into number

2005-05-27 Thread Jeremy Reynolds
What function do I use to convert an ASCII character into it's equivalent number? -- Sorry, I think my spam filters got any responses. If you replied, could you please resend it to me? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] rawurldecode problems

2005-05-27 Thread Jeremy Reynolds
I'm using the rawurldecode() function to try and polish up some data I get from a parameter I use the function below and this is what it does. It's as-if it only unencodes the last part. Anybody have ideas on what I'm doing wrong? $order = rawurldecode($HTTP_GET_VARS[x]);

[PHP] rawurldecode problems

2005-05-27 Thread Jeremy Reynolds
I'm using the rawurldecode() function to try and polish up some data I get from a parameter I use the function below and this is what it does. It's as-if it only unencodes the last part. Anybody have ideas on what I'm doing wrong? $order = rawurldecode($HTTP_GET_VARS[x]);

[PHP] fopen for http://

2005-05-27 Thread Jay Paulson
Hello all- I was wondering if anyone knew of a way to call a web site using fopen. Let me tell you how things are set up and what I'm trying to do. I can call fopen to read a site and then echo it back out. That's not a problem. The problem I run into is when I try to go to a restricted

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Steve Brown
On 5/27/05, Chris W. Parker [EMAIL PROTECTED] wrote: Let's say you're entering a new product, you'd want to see a list of all the available categories, not just the last node of a branch. Not neccesarily; it depends on how big your tree structure is. If you only have 10 categories where an

Re: [PHP] include file and problems with headers

2005-05-27 Thread Brian V Bonini
On Sat, 2005-05-21 at 06:30, Ross wrote: I have the folowing code which checks whether the user has logged in. if (!isset ($_SESSION['new_session'] ) ) { $login_status = div class=\standard_text\Your are not signed in /div; } if (isset ($_SESSION['new_session'] ) ) { $address =

Re: [PHP] Recursion: Ugh!

2005-05-27 Thread Steve Brown
** email gagging, sorry if this is a DP ** On 5/27/05, Chris W. Parker [EMAIL PROTECTED] wrote: Let's say you're entering a new product, you'd want to see a list of all the available categories, not just the last node of a branch. Not neccesarily; it depends on how big your tree structure is.

[PHP] Re: fopen for http://

2005-05-27 Thread Peter Brodersen
On Fri, 27 May 2005 13:57:12 -0500, in php.general [EMAIL PROTECTED] (Jay Paulson) wrote: For example, in my Apache httpd.conf file I have it set up to where I have a directory that is only accessible from certain IP addresses, one of which is 127. (the localhost). The script I'm running is

Re: [PHP] how to convert char into number

2005-05-27 Thread Rory Browne
www.php.net/chr or www.php.net/ord forget which is which - I always have to check. On 5/25/05, Jeremy Reynolds [EMAIL PROTECTED] wrote: What function do I use to convert an ASCII character into it's equivalent number? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: [PHP-DB] Letters loop

2005-05-27 Thread Rory Browne
or foreach(range('A', 'Z') as $letter){ echo option value='$letter'$letter/option } www.php.net/range On 5/27/05, Rory Browne [EMAIL PROTECTED] wrote: I didn't see the OP, but: for($i = 'A'; $i != 'Z'; $i = chr(ord($i) +1)){ echo \toption value=\$i\$i/option\n; } On 5/26/05,

[PHP] Fwd: fopen for http://

2005-05-27 Thread Jay Paulson
Hello all- I was wondering if anyone knew of a way to call a web site using fopen. Let me tell you how things are set up and what I'm trying to do. I can call fopen to read a site and then echo it back out. That's not a problem. The problem I run into is when I try to go to a restricted

Re: [PHP] Re: [PHP-DB] Letters loop

2005-05-27 Thread Rory Browne
I didn't see the OP, but: for($i = 'A'; $i != 'Z'; $i = chr(ord($i) +1)){ echo \toption value=\$i\$i/option\n; } On 5/26/05, Stephen Johnson [EMAIL PROTECTED] wrote: Then this is what I would suggest. $alph = array('*', 'A', 'B','C'...etc) ; $i=0; EchoSelect name=foo;

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Ryan A
snip Umm, you forgot to mention that you are connected to that site and you get a commision for sending them clients, if they sign up. Nothing wrong with getting an affiliate buck mind you, I have a few affiliate accounts around too, but I (and others on the list i have noticed, Jay B for

[PHP] rawurldecode problems

2005-05-27 Thread Jeremy Reynolds
I'm using the rawurldecode() function to try and polish up some data I get from a parameter I use the function below and this is what it does. It's as-if it only unencodes the last part. Anybody have ideas on what I'm doing wrong? $order = rawurldecode($HTTP_GET_VARS[x]);

[PHP] Moving PEAR installation (for self-contained class library)

2005-05-27 Thread Andrei Verovski (aka MacGuru)
Hi, I have a PEAR-related question. My class library using some PEAR packages, and I would like to make it self-contained, i.e. to be able to move it to a server (for example MacOS X) which do not have (and will not require) installation of any PEAR package(s). What I would like to do is just

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Rory Browne
On 5/27/05, Manuel Lemos [EMAIL PROTECTED] wrote: Hello, on 05/27/2005 02:30 PM Ryan A said the following: You may want to try Security Space services. They perform many types of security checks remotely including penetration tests that may reveal serious vulnerabilities in your servers.

Re: [PHP] how to convert char into number

2005-05-27 Thread Philip Hallstrom
What function do I use to convert an ASCII character into it's equivalent number? http://us2.php.net/ord int ord ( string string ) Returns the ASCII value of the first character of string. This function complements chr(). -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Re: Free penetration test

2005-05-27 Thread Chris W. Parker
Rasmus Lerdorf mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 4:15 PM said: He was apparently doing something along the lines of: foreach($_GET as $key=$val) { echo EOL input type=hidden name=$key value=$val EOL; } Probably just a lazyness thing. Generally you will want

[PHP] Returned mail: Data format error

2005-05-27 Thread Bounced mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

RE: [PHP] Recursion: Ugh!

2005-05-27 Thread Chris W. Parker
Steve Brown mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 2:17 PM said: So in your case, if you wanted to create a new item in the category Round, you would first have to navigate to Food Vegetables Round, then create the new item. This may seem more complicated, but think about how

[PHP] Compiling Phpcap

2005-05-27 Thread Gary C. New
I am trying to compile phpcap-0.2e with php-4.2.3 and get the following configure error: ./configure: line 52860: syntax error near unexpected token `PHP_NEW_EXTENSION(phpcap,' ./configure: line 52860: ` PHP_NEW_EXTENSION(phpcap, phpcap.c, $ext_shared)' The phpcap INSTALL file show

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Rasmus Lerdorf
Chris W. Parker wrote: One question. (Because I'm a lame brain when it comes to security as I'm not good at imagining how things can be exploited): Is it bad to give field names the same name as their database counterpart? i.e. In a database the first name column might be known as 'fname'.

RE: [PHP] Re: Free penetration test

2005-05-27 Thread Chris W. Parker
Rasmus Lerdorf mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 11:58 AM said: You have all sorts of problems at that URL. To start with, here is a cross-site scripting hack: http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript %09 src%3D%22http://3423329163/v

Re: [PHP] how to convert char into number

2005-05-27 Thread Brian V Bonini
On Wed, 2005-05-25 at 16:11, Jeremy Reynolds wrote: What function do I use to convert an ASCII character into it's equivalent number? -- Sorry, I think my spam filters got any responses. If you replied, could you please resend it to me? ord() -- PHP General Mailing List

Re: [PHP] fopen for http://

2005-05-27 Thread Rory Browne
On 5/27/05, Jay Paulson [EMAIL PROTECTED] wrote: Hello all- I was wondering if anyone knew of a way to call a web site using fopen. Let me tell you how things are set up and what I'm trying to do. I can call fopen to read a site and then echo it back out. That's not a problem. The

Re: [PHP] fopen for http://

2005-05-27 Thread Philip Hallstrom
I was wondering if anyone knew of a way to call a web site using fopen. Let me tell you how things are set up and what I'm trying to do. I can call fopen to read a site and then echo it back out. That's not a problem. The problem I run into is when I try to go to a restricted area of a

Re: [PHP] how to convert char into number

2005-05-27 Thread Brian V Bonini
On Wed, 2005-05-25 at 16:01, Jeremy Reynolds wrote: What function do I use to convert an ASCII character into it's equivalent number? ord() -- s/:-[(/]/:-)/g BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Rasmus Lerdorf
Chris W. Parker wrote: Rasmus Lerdorf mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 11:58 AM said: You have all sorts of problems at that URL. To start with, here is a cross-site scripting hack: http://www.vlaamse-kern.com/yourstore-0.0.2-beta1/admin/?%22%3E%3Cscript %09

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Andy Pieters
On Saturday 28 May 2005 01:05, Chris W. Parker wrote: Rasmus Lerdorf mailto:[EMAIL PROTECTED] on Friday, May 27, 2005 11:58 AM said: You have all sorts of problems at that URL. To start with, here is a cross-site scripting hack:

[PHP] Re: Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Ryan Grange wrote: Gary C. New wrote: Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary I believe you

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Ryan A
Hi, I have requested the free test several times and it was very useful because it brought my attention to aspects that I was not considering, some related to PHP in specific and other related to Internet in general. fair enough, you could have given him the link the the page directly

Re: [PHP] Very odd (bug??) with arrays, objects, and serialize (please read!)

2005-05-27 Thread Jochem Maas
Philip Hallstrom wrote: Hi all - I came across a very odd bug in 4.3.10 (and 4.3.11). It's not in 4.3.4, and it's not in 5.0.4. looks like a problem related to copy-on-change strategy php uses (that is when a copy is made its only actually copied if and when you change the copy, until

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Manuel Lemos
Hello, on 05/27/2005 05:30 PM Rory Browne said the following: You may want to try Security Space services. They perform many types of security checks remotely including penetration tests that may reveal serious vulnerabilities in your servers. Such vulnerabilities include holes, in your server

[PHP] Rusty's Magpie mod to cache to database

2005-05-27 Thread Brian Dunning
Has anyone ever used Russ Johnston's modified Mapgpie RSS to cache to a database? I'm trying to, but no records are being written to the database - just wondering if anyone's had success. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Free penetration test

2005-05-27 Thread Manuel Lemos
Hello, on 05/27/2005 06:46 PM Ryan A said the following: - I have requested the free test several times and it was very useful because it brought my attention to aspects that I was not considering, some related to PHP in specific and other related to Internet in general. - fair enough,

RE: [PHP] printf() in a variable, or alternative to printf() - SOLVED

2005-05-27 Thread mayo
Thx, It's amazing how sleep helps. Couldn't believe that when I read sprintf() I didn't see how it did exactly what I was looking for. Thx all mayo -Original Message- From: mayo [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 11:35 PM To: php-general@lists.php.net Subject: