Re: [PHP] Help with an error...

2008-07-24 Thread Ted Wood
Micah, Please provide an example of what your response was referring to in the original message. And it is possible to have commands in the middle of a string by using concatenation. $str = My name is .strtoupper($name).', but you can call me Sam.; ~Ted On 24-Jul-08, at

Re: [PHP] Help with an error...

2008-07-24 Thread Brady Mitchell
On Jul 24, 2008, at 1052AM, [EMAIL PROTECTED] wrote: $result = mysql_query($query) Missing a ; at the end of the line. $mailsend = mail([EMAIL PROTECTED],The IP's that Attacked $hostname, The following are ip's that have try to attack your system.\r\n\r\ You can't execute code

Re: [PHP] Help with an error...

2008-07-24 Thread Stut
On 24 Jul 2008, at 18:43, Thorsten Suckow-Homberg wrote: Daniel already answerd regarding your error, but... ?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); ... if you call the script via cron I'm pretty sure $_SERVER won't be available since the script is not used in a running

Re: [PHP] Help with an error...

2008-07-24 Thread Daniel Brown
On Thu, Jul 24, 2008 at 1:45 PM, Ted Wood [EMAIL PROTECTED] wrote: $str = My name is .strtoupper($name).', but you can call me Sam.; Though ucfirst() would be preferred. ;-P -- /Daniel P. Brown Better prices on dedicated servers: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Thanks guys. I will take everything that as been stated to heart. Thanks for the insight. I haven't don't much with mail. Payne On Jul 24, 2008, at 1052AM, [EMAIL PROTECTED] wrote: $result = mysql_query($query) Missing a ; at the end of the line. $mailsend = mail([EMAIL

Re: [PHP] Help with an error...

2008-07-24 Thread Micah Gersten
He had code blocks in the middle of a string. That's what I was referring to. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Ted Wood wrote: Micah, Please provide an example of what your response was referring to in the original message. And it is

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Well all the insight were great, I am not getting and errors but I am not getting mail. I am looking but php -e isn't telling me anything, and php -l says there no syntax. What else can I do for debugged. Payne Thanks guys. I will take everything that as been stated to heart. Thanks for the

Re: [PHP] Help with an error...

2008-07-24 Thread Dan Shirah
Have you set your SMTP server/port in your php.ini file? Have you checked your mail logs to make sure it is routing through? Have you verified it is sending from and to a valid email address?

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Have you set your SMTP server/port in your php.ini file? Checking Have you checked your mail logs to make sure it is routing through? Tailing the log as I run it. Have you verified it is sending from and to a valid email address? Yes, those are valid. -- PHP General Mailing List

Re: [PHP] Help with an error...

2008-07-24 Thread Wolf
[EMAIL PROTECTED] wrote: Well all the insight were great, I am not getting and errors but I am not getting mail. I am looking but php -e isn't telling me anything, and php -l says there no syntax. What else can I do for debugged. Payne !-- SNip -- 1. BOTTOM POST 2. mailq - this

Re: [PHP] Help with an error...

2008-07-24 Thread Jim Lucas
So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on What I am trying to do

Re: [PHP] Help with an error...

2008-07-24 Thread Payne
Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on

Re: [PHP] Help with an error...

2008-07-24 Thread Micah Gersten
It seems like you're still calling functions inside the string. Instead of concatenating, try the output buffering like was mentioned before. Also, if you want HTML tags in your PHP code, you need to end and start the PHP tags again, or print them as output in quotes. Thank you, Micah Gersten

Re: [PHP] Help with an error...

2008-07-24 Thread Jim Lucas
Payne wrote: Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE

Re: [PHP] Help with an error...

2008-07-24 Thread Wolf
!-- SNIP -- Here is the updated code Notice!! $message doesn't contain any PHP code within it $query only has a single ; within the whole line, right at the end of the ; to complete the PHP assignment string. Placing one inside it will barf the script typically. $headers are all

Re: [PHP] Help with login

2008-06-27 Thread Dan Shirah
Hey, I think this should be working but it doesn't seem to be. $_GET[page] $_SERVER['PHP_SELF'] What is the error message you are getting? And, why are you using different quotes throughout all of your script? I believe you should use single quotes for all of your server generated

Re: [PHP] Help with login

2008-06-27 Thread tedd
At 8:37 AM -0400 6/27/08, Dan Shirah wrote: Hey, I think this should be working but it doesn't seem to be. $_GET[page] $_SERVER['PHP_SELF'] What is the error message you are getting? And, why are you using different quotes throughout all of your script? I believe you should use

Re: [PHP] Help with login

2008-06-27 Thread Richard Heyes
if (isset($_COOKIE[auth]) !isset($_GET[page])) { include($GLOBALS['admin_index']); die(); } Your script is awfully insecure. $_COOKIE is user supplied, so in if I hand craft a request, I could just send an auth cookie which is set to 1. Relying on people not knowing is not

Re: [PHP] Help with login

2008-06-27 Thread Daniel Brown
On Fri, Jun 27, 2008 at 1:36 PM, Richard Heyes [EMAIL PROTECTED] wrote: if (isset($_COOKIE[auth]) !isset($_GET[page])) { include($GLOBALS['admin_index']); die(); } Your script is awfully insecure. $_COOKIE is user supplied, so in if I hand craft a request, I could just send an

Re: [PHP] Help with SSH2

2008-05-30 Thread Jim Lucas
Gonzalo Bettancourt wrote: Hello, I'm from Chile, so, I don't write great in English. My cuestion is: I'm programming a Website where you can see the files that you have in a remote PC. (In my University Computer Room) I don't know how to Download a file from the remote pc to my computer

Re: [PHP] Help mms (Get audio Stream)

2008-05-29 Thread Gabriel Sosa
what do you wanna do ?? just a bridge? or try to play it?? in that case you can't. i think you should get the streamming and try to play it with flash saludos On Thu, May 29, 2008 at 4:05 AM, Shelley [EMAIL PROTECTED] wrote: 1. URL

Re: [PHP] Help mms (Get audio Stream)

2008-05-29 Thread Shelley
My test result is that it works on Windows platform, but not on Linux. Maybe that's because it is Microsoft Media Services protocol? Whatever, I can not hear anything on Firefox 3 Beta 5 on Ubuntu. 2008/5/29 Gabriel Sosa [EMAIL PROTECTED]: what do you wanna do ?? just a bridge? or try to play

Re: [PHP] Help preg_replace with Non-English character

2008-05-22 Thread Richard Heyes
Just a question, I want to replace some Chinese characters with preg_replace(). But it does not work. The string is $str = 'test你好http://www.phparch.cn/ 完成'; The ideal output is : testa href=http://www.phparch.cn;你好/a 完成 Any suggestion will be greatly appreciated. Have a look to see if the

Re: [PHP] Help preg_replace with Non-English character

2008-05-22 Thread Shelley
Yes, I have checked and tried that. And I have successfully tested it with GB2312 encoding, but when turned to UTF8. It does not work any more. The server is using UTF8 encoding, and also the database. Weird. On Thu, May 22, 2008 at 4:51 PM, Richard Heyes [EMAIL PROTECTED] wrote: Just a

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
You missed what I meant. Suppose there is a piece of code like: script language-javascript function hello() { document.write hello; } /script I want to call that method inside PHP: ?php $c = hello(); echo $c; ? Hope you get it. On Tue, May 20, 2008 at 5:40 PM, Chetan Rane [EMAIL

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
Yea, of course. On Tue, May 20, 2008 at 5:44 PM, jose javier parra sanchez [EMAIL PROTECTED] wrote: Do you know that php runs on the server and that javascript runs on the client ? 2008/5/20 Shelley [EMAIL PROTECTED]: Hi all, How can I call a javascript method inside PHP? That is:

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Richard Heyes
Shelley wrote: Hi all, How can I call a javascript method inside PHP? That is: Suppose there is a js file: http://someurl/somejs.js There are some js methods in that js file, I want to include that js into PHP and call its methods. Is it possible? No. What you can do though is use PHP to

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shiplu
On 5/20/08, Shelley [EMAIL PROTECTED] wrote: Hi all, How can I call a javascript method inside PHP? That is: Suppose there is a js file: http://someurl/somejs.js There are some js methods in that js file, I want to include that js into PHP and call its methods. Is it possible? If it is,

Re: [PHP] HELP !!!!! PHP SOAP Not building objects correctly

2008-05-16 Thread Nathan Nobbe
On Fri, May 16, 2008 at 1:04 PM, Tim Traver [EMAIL PROTECTED] wrote: Hi all, sorry for the cross post to the general PHP list as well as the SOAP PHP list, but I'm a little bit desperate... Ok, for some reason when I am sending the proper objects to the __soapCall method, it is not

Re: [PHP] HELP !!!!! PHP SOAP Not building objects correctly

2008-05-16 Thread Tim Traver
Nathan Nobbe wrote: On Fri, May 16, 2008 at 1:04 PM, Tim Traver [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, sorry for the cross post to the general PHP list as well as the SOAP PHP list, but I'm a little bit desperate... Ok, for some reason when I am sending the

Re: [PHP] Help with a foreach statement

2008-05-11 Thread Craige Leeder
Hi Ron, This code should work: ?php $path_to_shopping_cart = './'; $iLength = count($cart); foreach ($cart as $product_name = $quantity) { echo lia href=\ . $path_to_shopping_cart . product/ . $cart[$product_id] . /\ . $product_name . /a - . $quantity . /li\r\n; } ?

Re: [PHP] Help with preg_match_all regex for alt tags

2008-04-29 Thread James Dempster
try preg_match_all('/img[^]*alt=([^]*)/i', $subject, $result); -- /James On Tue, Apr 29, 2008 at 8:18 PM, Joe Harman [EMAIL PROTECTED] wrote: Hey y'all ... i am having alittle trouble with this regex for finding ALT tags for images... Here is my statement

Re: [PHP] Help with SSH2 persistent connection in php

2008-04-11 Thread Jason Norwood-Young
On Fri, 2008-04-11 at 10:14 -0300, Rodrigo Reis da Rocha wrote: I want to make an persistent connection via ssh2 to a server with php, but all I can get with the present API is an temporary connection that is lost at end of the script. Anyone have an idea of how I can save the Resource and

Re: [PHP] Help with inputbox

2008-04-02 Thread Wolf
!-- SNIP -- div id=\quadro_1\ID : $x nbsp;nbsp;nbsp; Criação:nbsp;input type=\text\ size=\50\ maxlength=\12\ name=\\ value=$creation Modificação:nbsp;input type=\text\ size=\50\ maxlength=\50\ name=\\ value=$modif Origin_Val:nbsp;input type=\text\ size=\10\ maxlength=\50\

Re: [PHP] help with autoload

2008-03-24 Thread Carlton Whitehead
Jonathan Mast wrote: I have a project the someone else wrote and that I can't get to work. It uses a rather large library of classes that are not apparently getting loaded by the provided __autoload() function. I'm not very well versed in PHP and one of the first things I did was see if in

Re: [PHP] Help for openssl_pkcs7_verify function

2008-03-17 Thread Stut
On 17 Mar 2008, at 21:34, Carlo Carbone wrote: I need help for this function to verify a p7m file . The funcion return always error value ( -1 ) this is the sintax that I use to verify the sign on the file openssl_pkcs7_verify(prova.p7m, PKCS7_BINARY ,prova.pdf, array(c:\cert.pem) ); I 'm

Re: [PHP] Help on running external command

2008-02-20 Thread Hiep Nguyen
On Wed, 20 Feb 2008, Mário Gamito wrote: Hi, I need to run an eternal command from a PHP page. My code is: $username= 'lixo'; $username = 'lixo'; exec('su - vpopmail -c /var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/ . $username'); try: exec('su - vpopmail -c

Re: [PHP] Help on running external command

2008-02-20 Thread Zoltán Németh
2008. 02. 20, szerda keltezéssel 14.31-kor Mário Gamito ezt írta: Hi, I need to run an eternal command from a PHP page. My code is: $username= 'lixo'; $username = 'lixo'; exec('su - vpopmail -c /var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/ . $username'); But I

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Daniel Brown
On Feb 20, 2008 9:59 AM, Mário Gamito [EMAIL PROTECTED] wrote: Of course the code is: $username = 'lixo'; exec(su -c - vpopmail \/var/qmail/bin/maildirmake /home/vpopmail/domains/wwlib.lan/\$username); Oh, yes, of course it is! That still doesn't mean that Apache has the right

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Mário Gamito
Hi, Thank you for your answers. I got it working with: //$username = 'lixo'; exec(su -c - vpopmail \/var/qmail/bin/maildirmake /home/vpopmail/domains/wwlib.lan/\$username); Now, if I run it from the shell, it creates the directory. From a page on the web server it doesn't. Directory

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Mário Gamito
Of course the code is: $username = 'lixo'; exec(su -c - vpopmail \/var/qmail/bin/maildirmake /home/vpopmail/domains/wwlib.lan/\$username); Mário Gamito wrote: Hi, Thank you for your answers. I got it working with: //$username = 'lixo'; exec(su -c - vpopmail \/var/qmail/bin/maildirmake

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Daniel Brown
On Feb 20, 2008 9:52 AM, Mário Gamito [EMAIL PROTECTED] wrote: Now, if I run it from the shell, it creates the directory. From a page on the web server it doesn't. Chances are, the user as which the HTTP server (probably Apache) is running does not have permission to write/create in that

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Mário Gamito
Hi, ? $username = lixo; exec('su -c - vpopmail /var/qmail/bin/maildirmake /home/vpopmail/domains/wwlib.lan/'.$username.'',$ret,$err); echo pre /\n; print_r($ret); echo /pre\n; echo isset($err) ? Error: .$err : null; ? No output at all and I have display_errors = On in php.ini Still no

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Daniel Brown
On Feb 20, 2008 10:30 AM, Mário Gamito [EMAIL PROTECTED] wrote: Please keep the replies on-list, Mario. It helps others out, and ensures that you'll get better advice from a larger group of talented people. ? $username = lixo; exec('su -c - vpopmail /var/qmail/bin/maildirmake

Re: [PHP] Help on running external command / Partially solved

2008-02-20 Thread Chris
Daniel Brown wrote: On Feb 20, 2008 10:30 AM, Mário Gamito [EMAIL PROTECTED] wrote: Please keep the replies on-list, Mario. It helps others out, and ensures that you'll get better advice from a larger group of talented people. ? $username = lixo; exec('su -c - vpopmail

Re: [PHP] help me out with form details converted into pdf file save it one place as well as send mail attactment

2008-02-13 Thread Brady Mitchell
On Feb 13, 2008, at 426AM, pretty wrote hi any one help me out, im using cronofirm, i need to field form details will converted into pdf as well as it will go maill attachment doing this in joomla, atleast i need this only php with out joomla. For sending email: The standard mail

Re: [PHP] help me out with form details converted into pdf file save it one place as well as send mail attactment

2008-02-13 Thread David Giragosian
On 2/13/08, pretty [EMAIL PROTECTED] wrote: hi any one help me out, im using cronofirm, i need to field form details will converted into pdf as well as it will go maill attachment doing this in joomla, atleast i need this only php with out joomla. It might be overkill for your purposes, but

Re: [PHP] help me out with form details converted into pdf file save it one place as well as send mail attactment

2008-02-13 Thread Richard Lynch
On Wed, February 13, 2008 6:26 am, pretty wrote: hi any one help me out, im using cronofirm, i need to field form details will converted into pdf as well as it will go maill attachment doing this in joomla, atleast i need this only php with out joomla. To make a PDF, you can use:

RE: [PHP] Help looking for inventory software

2008-01-30 Thread Bastien Koert
check for code / systems on www.hotscripts.com http://sourceforge.net hth bastien Date: Wed, 30 Jan 2008 19:14:57 +0100 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Help looking for inventory software Hello, I am sorry if this is appropriate but does anyone know

Re: [PHP] Help Sending Mail

2007-12-15 Thread Richard Lynch
On Tue, December 11, 2007 4:24 pm, Daniel Brown wrote: On Dec 11, 2007 12:20 PM, Richard Lynch [EMAIL PROTECTED] wrote: I dunno if RFC822 specifies which ending but I *do* know that this breaks the current PEAR mimePart.php code. RFC 822 has been obsolete since RFC 2822 was introduced

Re: [PHP] Help Sending Mail

2007-12-15 Thread Daniel Brown
On Dec 15, 2007 1:09 PM, Richard Lynch [EMAIL PROTECTED] wrote: A standard nobody follows isn't a standard; It's a waste of paper. Only if you printed it out in the first place. ;-P That aside, I completely agree with you. It's sort of like the ^M versus \n versus \r\n line

Re: [PHP] Help Sending Mail

2007-12-11 Thread Jim Lucas
Robert Cummings wrote: Yeah, he's all over the place with his line endings. Personally, I use an array to track the headers and use implode in one shot before sending. Cheers, Rob. Same here -- Jim Lucas Perseverance is not a long race; it is many short races one after the

Re: [PHP] Help Sending Mail

2007-12-11 Thread Nathan Rixham
If you want a source to very verify against, send yourself an email, then view it's source; then change your class till it outputs the same info, gauranteed winner every time. Nathan Jim Lucas wrote: Robert Cummings wrote: Yeah, he's all over the place with his line endings. Personally, I

Re: [PHP] Help Sending Mail

2007-12-11 Thread Richard Lynch
Until today, there was a very nifty MIME Message Lint tool to check your email message here: http://www.apps.ietf.org/msglint.html The homepage is now the default Apache install page though, and that URL is 404. I'm posting it in hopes that somebody knows a good similar tool and/or that it will

Re: [PHP] Help Sending Mail

2007-12-11 Thread Richard Lynch
PS GMail will not accept \r\n between header lines, only \n I dunno if RFC822 specifies which ending but I *do* know that this breaks the current PEAR mimePart.php code. Editing the code to hack \r\n to just \n for the _CRLF constant works for gmail, but may break other mail clients if \r\n is

Re: [PHP] Help Sending Mail

2007-12-11 Thread Andrew Ballard
On Dec 11, 2007 12:20 PM, Richard Lynch [EMAIL PROTECTED] wrote: PS GMail will not accept \r\n between header lines, only \n I dunno if RFC822 specifies which ending but I *do* know that this breaks the current PEAR mimePart.php code. Editing the code to hack \r\n to just \n for the _CRLF

Re: [PHP] Help Sending Mail

2007-12-11 Thread Jochem Maas
heh Richard! long time no see, guess you had withdrawal symtoms or you managed to bust out of whatever compound they were holding you in ;-) ... Richard Lynch wrote: PS GMail will not accept \r\n between header lines, only \n I dunno if RFC822 specifies which ending but I *do* know that

Re: [PHP] Help Sending Mail

2007-12-11 Thread Daniel Brown
On Dec 11, 2007 12:20 PM, Richard Lynch [EMAIL PROTECTED] wrote: I dunno if RFC822 specifies which ending but I *do* know that this breaks the current PEAR mimePart.php code. RFC 822 has been obsolete since RFC 2822 was introduced in 2001. We (that is, myself and other members of the

Re: [PHP] Help Sending Mail

2007-12-10 Thread Robert Cummings
On Tue, 2007-12-11 at 06:33 +0200, Me2resh Lists wrote: Dear All, i wrote this class below to send Mail. but when i use it. i get the sender No Body. and from the address of the server, not the From address that i specify. and the MIME Headers as text in the message itself. and the

Re: [PHP] Help Sending Mail

2007-12-10 Thread Jim Lucas
Me2resh Lists wrote: Dear All, i wrote this class below to send Mail. but when i use it. i get the sender No Body. and from the address of the server, not the From address that i specify. and the MIME Headers as text in the message itself. and the attachment is pasted as binary text also. can

Re: [PHP] Help Sending Mail

2007-12-10 Thread Jim Lucas
Robert Cummings wrote: On Tue, 2007-12-11 at 06:33 +0200, Me2resh Lists wrote: Dear All, i wrote this class below to send Mail. but when i use it. i get the sender No Body. and from the address of the server, not the From address that i specify. and the MIME Headers as text in the message

Re: [PHP] Help Sending Mail

2007-12-10 Thread Robert Cummings
On Mon, 2007-12-10 at 21:05 -0800, Jim Lucas wrote: Robert Cummings wrote: On Tue, 2007-12-11 at 06:33 +0200, Me2resh Lists wrote: Dear All, i wrote this class below to send Mail. but when i use it. i get the sender No Body. and from the address of the server, not the From address that

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-11 Thread Dimiter Ivanov
On Nov 9, 2007 5:48 PM, robert mena [EMAIL PROTECTED] wrote: Hi Daniel, According to the audit this happened yesterday. I am searching astalavista but could not find anything, probably because I am being too specific. From the php side (or closely) what steps would you recommend in order

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Daniel Brown
On Nov 9, 2007 9:27 AM, robert mena [EMAIL PROTECTED] wrote: Hi, One server that hosts several domains ended up with the message Owned by W4n73d H4ck3r.While still performing an audit I am very confident that this was caused by a php script (it is a linux server) uploaded via FTP or by a

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread David Giragosian
On 11/9/07, Daniel Brown [EMAIL PROTECTED] wrote: On Nov 9, 2007 9:27 AM, robert mena [EMAIL PROTECTED] wrote: Hi, One server that hosts several domains ended up with the message Owned by W4n73d H4ck3r.While still performing an audit I am very confident that this was caused by a

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread robert mena
Hi Daniel, Thanks for the reply. I agree that there are steps that go outside php scope (chroot apache etc) but I think this partially belongs to this list specially since google shows that the same message (perhaps a copycat?) appears in tons of sites. I was hoping that someone already had

RE: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Edward Kay
I'd be interested in reading this thread. OK with me to keep it on the list. Ditto. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Daniel Brown
On Nov 9, 2007 10:05 AM, robert mena [EMAIL PROTECTED] wrote: Hi Daniel, Thanks for the reply. I agree that there are steps that go outside php scope (chroot apache etc) but I think this partially belongs to this list specially since google shows that the same message (perhaps a copycat?)

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread robert mena
Hi Daniel, According to the audit this happened yesterday. I am searching astalavista but could not find anything, probably because I am being too specific. From the php side (or closely) what steps would you recommend in order to have a better security? I could not find a consistent 'list' of

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Daniel Brown
On Nov 9, 2007 10:48 AM, robert mena [EMAIL PROTECTED] wrote: Hi Daniel, According to the audit this happened yesterday. I am searching astalavista but could not find anything, probably because I am being too specific. From the php side (or closely) what steps would you recommend in order

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Tom Chubb
Me too. Guess a lot of us can learn something here from another's misfortune. Thanks Robert and good luck On 09/11/2007, Edward Kay [EMAIL PROTECTED] wrote: I'd be interested in reading this thread. OK with me to keep it on the list. Ditto. -- PHP General Mailing List

RE: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Bastien Koert
me, too this would be interesting bastien Date: Fri, 9 Nov 2007 09:01:09 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; php-general@lists.php.net Subject: Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r On 11/9/07, Daniel Brown [EMAIL PROTECTED] wrote

RE: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Instruct ICC
The person doing this seems to be relatively new to the scene, only defacing websites with common vulnerabilities that you can find anywhere on the Internet (http://astalavista.box.sk/ for example). Check out Zone-H (http://www.zone-h.net/) to see if your domains are on there, and

Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Daniel Brown
That's an old SPAW exploit. Google (gotta' love how that's a verb now) for `spaw exploit` and the first result is MARC. [NOTE: All previous text cleared because this is the THIRD time I've sent the message after Mailman rejected it twice due to URLs in log inclusion.] -- Daniel P.

Re: [PHP] help with link from mysql

2007-11-07 Thread Andrew Ballard
On Nov 7, 2007 5:22 PM, Joey [EMAIL PROTECTED] wrote: I have a situation where I am storing data to a blob field. Everything works in respect to in and out of the DB, however when we type in a link like so HYPERLINK http://www.abc.com/subfolder/folder2/http://www.abc.com/subfolder/folder2/

Re: [PHP] Help with OOPHP

2007-10-31 Thread Simon Welsh
On 1/11/2007, at 5:48, Andrew Peterson wrote: I'm hoping you guys can help me out. I'm not sure if you can do this, but i'm trying to create a class that is build of another class. I also want to be able to do functions on the class1 from within class2. example: class fruitBasket{

RE: [PHP] help with code not wrking

2007-10-24 Thread Instruct ICC
From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 24 Oct 2007 15:27:28 -0400 Subject: [PHP] help with code not wrking Hi all, I have inherited a problem script from a client, and it's a simple upload function. The problem is that while the image is being

Re: [PHP] HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread Nathan Nobbe
On 10/18/07, LKSunny [EMAIL PROTECTED] wrote: ? $a=1+1; //variables(string) //how can arithmetic variables(string) ?? //N ROW //output echo $a //i need output 2 not 1+1 //Please Help, Thank You Very Much !! ? $a = 1+1; echo $a; -nathan

Re: [PHP] help with session

2007-08-31 Thread Dan
You should be sanatizing code here. When you save it to the session and when it's output. Look arround the newsgroups or online for info about it, it's everywhere. - Dan mike [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 8/26/07, Jason Cartledge [EMAIL PROTECTED] wrote: I

Re: [PHP] help with session

2007-08-26 Thread mike
On 8/26/07, Jason Cartledge [EMAIL PROTECTED] wrote: I would replace $_REQUEST with $_GET or $_POST (as appropriate) if ( !empty($_REQUEST['gender']) ) { $registrationGender=$_REQUEST['gender']; } else { Personally I would use

Re: [PHP] help with session

2007-08-26 Thread Wouter van Vliet / Interpotential
I would go for: if (isset($_REQUEST['gender'])) $_SESSION['registrationGender'] = $_REQUEST['gender']; print isset($_SESSION['registrationGender']) ? You are registered as gender: .$_SESSION['registrationGender'] : Your gender is unknown; And make no assumptions about a gender when you

Re: [PHP] help with ming library

2007-08-10 Thread Stut
Diana wrote: How do I install the ming library on windows?? I copied the php_ming.dll that I had on another computer and enabled this line in php.ini extension=php_ming.dll but I still get that error Call to undefined function Ming_setScale() Have you restarted your web server (Apache, IIS,

Re: [PHP] help with ming library

2007-08-10 Thread Richard Lynch
On Fri, August 10, 2007 6:24 am, Diana wrote: How do I install the ming library on windows?? I copied the php_ming.dll that I had on another computer and enabled this line in php.ini extension=php_ming.dll but I still get that error Call to undefined function Ming_setScale() There are

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-27 Thread brian
Chris wrote: Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-26 Thread Chris
Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove

RE: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 9:01 AM To: Bosky, Dave Cc: php-general@lists.php.net Subject: Re: [PHP] Help needed with Curl On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything

Re: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything seems to work fine except for Curl. -- PHP Version 5.2.3 cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3 -- It keeps

Re: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: Yes. The script is the same on both machines. I can pull up a web browser and connect to the ssl url that I'm trying to connect using php/curl. The only DLLs I need to add are libeay.dll, ssleay32.dll, right? I'm running Windows 2003 Server with

Re: [PHP] Help setting up php

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote: Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. This line: Configuration File (php.ini) Path C:\WINDOWS tells you that PHP *looked*

Re: [PHP] Help setting up php

2007-07-13 Thread Joker7
In news: [EMAIL PROTECTED] - Richard Lynch wrote : On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote: Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. This line: Configuration File

Re: [PHP] Help setting up php

2007-07-12 Thread Robert Cummings
On Thu, 2007-07-12 at 09:25 -0400, Karl Schmitt wrote: Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. Your webserver is looking for it here: C:\WINDOWS\php.ini Is it there? Cheers,

RE: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-30 Thread Brian Seymour
Patrick, did you trying going to http://www.php.net/unsub.php yet? =D Brian Seymour AeroCoreProductions http://www.aerocore.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-30 Thread Daniel Brown
On 6/30/07, Brian Seymour [EMAIL PROTECTED] wrote: Patrick, did you trying going to http://www.php.net/unsub.php yet? =D Brian Seymour AeroCoreProductions http://www.aerocore.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-29 Thread Paul Scott
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-29 Thread Chris
-Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Click the unsubscribe link that appears at the bottom of every email. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] HELP - I have tried to unsubscribe from this listmutiple times but cannot.

2007-06-29 Thread M. Sokolewicz
Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul

Re: [PHP] HELP - I have tried to unsubscribe from this listmutiple times but cannot.

2007-06-29 Thread Chris
M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread M. Sokolewicz
Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
M. Sokolewicz wrote: Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Jim Lucas
-Patrick wrote: M. Sokolewicz wrote: Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this

<    1   2   3   4   5   6   7   8   9   10   >