[PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joe Harman
I found this on my server... I have no idea what it is... can someone tell me what it does... Thanks -- html head titlePHP Shell - CP/title /head body bgcolor=#FF text=#33 link=#00 vlink=#00 alink=#00 h1

Re: [PHP] tags to lowercase

2003-07-31 Thread Jeff Harris
| |On Wednesday, July 30, 2003, at 02:53 PM, Jeff Harris wrote: | | On Jul 30, 2003, Curt Zirzow claimed that: | | |* Thus wrote Justin French ([EMAIL PROTECTED]): | | Hi all, | | | |hello. | | | | | | has anyone developed or know of a function to convert all tags to | | lowercase, but still

[PHP] System() works on /usr/sbin commands

2003-07-31 Thread tirumal b
hello, i was using system function to invoke useradd command but it doesn't work. well it works for all the commands but not those in /usr/sbin. why is it so. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Adrian
everyone can execute shell commands via system(); on your server. - delete the script ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] System() works on /usr/sbin commands

2003-07-31 Thread Adrian
afaik requires useradd like the other sbin stuff root rights - and php doesn't run as root hello, i was using system function to invoke useradd command but it doesn't work. well it works for all the commands but not those in /usr/sbin. why is it so.

Re: [PHP] System() works on /usr/sbin commands

2003-07-31 Thread Evan Nemerson
You usually need to be root to execute /usr/sbin/* check the permissions of the file you're trying to execute. On Wednesday 30 July 2003 11:13 pm, tirumal b wrote: hello, i was using system function to invoke useradd command but it doesn't work. well it works for all the commands but

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Peter James
Via: http://www.google.ca/search?q=Crime+Perfect+2003ie=UTF-8oe=UTF-8hl=enmeta= Found: http://www.zone-h.org/ Search: Crime Perfect See: Results (doesn't look good) :-( -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original

Re: [PHP] System() works on /usr/sbin commands

2003-07-31 Thread tirumal b
hello, yes the /usr/sbin commands require root permissions but is there any way to run these commands using system() through suid or something.please let me know Thank you __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joe Harman
Fortunatly I don't think they were doing something correctly, cause it didn't deface my site like some of the others Thanks all Joe -Original Message- From: Adrian [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 2:14 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Possible My

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Curt Zirzow
I'd be ashamed to put that code on someones computer :) Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] System() works on /usr/sbin commands

2003-07-31 Thread Curt Zirzow
* Thus wrote tirumal b ([EMAIL PROTECTED]): hello, yes the /usr/sbin commands require root permissions but is there any way to run these commands using system() through suid or something.please let me know I would seriously not recomend not to suid the script. The /usr/sbin/* files

[PHP] I don't understand...

2003-07-31 Thread Jason Martyn
Hey, I'm trying to create a table based on user configurations (saved in mysql db). The user is able to filter the table view to only the columns he needs. The tables are setup like this: each season has its own table. config table currentseason table Each column in the season table = row in

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joel Rees
Assuming you are not just trolling, Fortunatly I don't think they were doing something correctly, cause it didn't deface my site like some of the others Don't count on it. They only deface servers they don't want to use. ... everyone can execute shell commands via system(); on your

Re: [PHP] I don't understand...

2003-07-31 Thread Leif K-Brooks
Jason Martyn wrote: Here's kinda what I'm trying to do (not working of course). [snip unimportant code] mysql_query = (select); while ($result = mysql_fetch_array($sql_uc, MYSQL_ASSOC) { mysql_query .= ( . $season ...$result['field_name']. as

Re: [PHP] I don't understand...

2003-07-31 Thread John Manko
You're trying to assign to a function, seriousley messed up. I reccomend you make sure you know PHP before going any further. Leif, Let's try and be a little more constructive. Jason, mysql_query is a function, so you need to call it, not assign to it. For example. (is this a

RE: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joe Harman
Yeah, definatley reason to explore the possibilities... But this is really my own stupid fault it got there in the first place... I had an image upload form and I didn't tell it only to accept image/jpeg or image/gif Resolution... I deleted everything, and took down the upload form and notified

Re: [PHP] foreach help

2003-07-31 Thread jan
Hi try this: html code for all of checkboxes: input type=checkbox name=ch_box[] php code: if(isset($_POST['ch_box'])) { foreach($_POST['ch_box'] as $ch_box_id = $ch_box_value) { processing instructions } } Regards Jan On Thu, 2003-07-31 at 03:50, Ryan A

[PHP] How to you compare dates in a query in Mysql

2003-07-31 Thread Safal Solutions
Dear friends, Plesae help in finding the correct syntax for comparing two dates in a query in MySql database Thank you Subodh Gupta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to you compare dates in a query in Mysql

2003-07-31 Thread Bogdan Stancescu
Depends on what exactly you're after, but for strict comparison arithmetic operators work as expected (, , =). Bogdan Safal Solutions wrote: Dear friends, Plesae help in finding the correct syntax for comparing two dates in a query in MySql database Thank you Subodh Gupta -- PHP General

[PHP] Re: php-cli - Controlling external programs

2003-07-31 Thread Bogdan Stancescu
Have you checked out the -F option for tar? It may prove helpful: If you want more elaborate behavior than this, give tar the --info-script=script-name (--new-volume-script=script-name, -F script-name) option. The file script-name is expected to be a program (or shell script) to be run instead

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joel Rees
Well, now I feel slightly embarassed. I wasn't thinking of the possibility your site was hosted. My apologies for being a little overly dramatic. Yeah, definatley reason to explore the possibilities... But this is really my own stupid fault it got there in the first place... I had an image

[PHP] Re: Refresh a page in another frame

2003-07-31 Thread Steve Fulleylove
Thanks Mehdi, Works a treat. Steve Mehdi Achour [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Steve Fulleylove wrote: Hi all, I have a PHP web site that uses frames. I can use the header() function to redirect the user to a new page, but can I use this function to load a

Re: [PHP] System() works on /usr/sbin commands

2003-07-31 Thread Marek Kilimajer
Check out sudo (man sudo), but you must be carefull. tirumal b wrote: hello, yes the /usr/sbin commands require root permissions but is there any way to run these commands using system() through suid or something.please let me know Thank you __ Do you Yahoo!?

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread skate
Yeah, definatley reason to explore the possibilities... But this is really my own stupid fault it got there in the first place... I had an image upload form and I didn't tell it only to accept image/jpeg or image/gif i see this happen quite a lot, both in these lists, and the security

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Randum Ian
Although this is a very good idea it would only benefit people who had access to their own installation of PHP. Most people are only able to use PHP on a shared server so perhaps wouldn't have access to the php.ini file. Yeah, definatley reason to explore the possibilities... But this is

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread skate
Although this is a very good idea it would only benefit people who had access to their own installation of PHP. Most people are only able to use PHP on a shared server so perhaps wouldn't have access to the php.ini file. but then most service providers could protect themselves? i don't see

[PHP] Article: PHP vs ASP

2003-07-31 Thread Ralph Guzman
Might want to file this link, next time somebody asks about PHP vs. ASP http://www.wowwebdesigns.com/wowbb/forum12/149.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Trans_sid not working

2003-07-31 Thread AM ImpacT [Tom Suter]
Hey everyone, I'm using PHP 4.1.2 and I want to pass the SID through the URL when the user switched off cookies. I enabled session.use_trans_sid in my php.ini, but that doesn't seem to work. With cookies it works perfect. Thanks for any help, Tom Suter

RE: [PHP] session header issue

2003-07-31 Thread Ow Mun Heng
snip The Location: header requires a correctly formed URL, ie http://... /snip I'm running fine using only Location:home.php on Mozilla IE 6 maybe I should change. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Jason Wong

RE: [PHP] php-cli - Controlling external programs

2003-07-31 Thread Jay Blanchard
[snip] Bah, not the answer I was looking for...I really wanted to use PHP and I have most of what I wanted accomplished. Thanks for the tip, I will investigate. [/snip] http://us3.php.net/features.commandline If you use -a for your command line script the script will run interactively example:

RE: [PHP] Article: PHP vs ASP

2003-07-31 Thread Jay Blanchard
[snip] Might want to file this link, next time somebody asks about PHP vs. ASP http://www.wowwebdesigns.com/wowbb/forum12/149.html [/snip] And the thing is that you cannot compare ASP to PHP. ASP is a platform, PHP is a language. This arg has been going on for a couple of years. ASP (Active

[PHP] Right Click Hyperlink

2003-07-31 Thread Matt Palermo
Does anyone know if there is anything in PHP or any other language that would allow a specific action to occur if a visitor right-clicked on a link. For example, they could left click on it an go to a specified page, and they could also right-click it to go to a different page. Anyone know of

RE: [PHP] Google APIs with PHP

2003-07-31 Thread Donald Tyler
You probably shouldn't have posted your Google key here... -Original Message- From: Daniel Ke [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Google APIs with PHP Sorry about it. I should include the code

Re: [PHP] Possible My Website was hacked... with PHP... please tellme what this is???

2003-07-31 Thread John Coggeshall
Looks like it is a PHP script to give people shell access as the web server user. On Thu, 2003-07-31 at 02:06, Joe Harman wrote: I found this on my server... I have no idea what it is... can someone tell me what it does... Thanks --

[PHP] PHP or CGI in C/C++

2003-07-31 Thread hAj
Greetinx, I'm a newbie and wondering which PHP script or CGI in C/C++ generally can run/respond faster via http from the same server doing the same tasks. I appreciate your comments in advance. Best, hAj http://advancedmeta-metaphorofapagan.net ||| ||| || || || || Seij minus aÇ

[PHP] Re: Right Click Hyperlink

2003-07-31 Thread Bogdan Stancescu
If you were to somehow accomplish this, you'd do it client-side, not server-side (i.e. using JavaScript, Visual Basic or whatever other scripting you could have the browser run, not PHP). Which makes the question kinda OT. But I don't think you'll be able to do this, *maybe* you could use

Re: [PHP] Right Click Hyperlink

2003-07-31 Thread desa15
you refer to this script language=JavaScript var message=some text; function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) {

Re: [PHP] Right Click Hyperlink

2003-07-31 Thread Joona Kulmala
Does anyone know if there is anything in PHP or any other language that would allow a specific action to occur if a visitor right-clicked on a link. For example, they could left click on it an go to a specified page, and they could also right-click it to go to a different page. Anyone know

[PHP] xml and php

2003-07-31 Thread Steff
Hello I'm a beginner in php. Sorry to disturb you but I have two problems and I hope you can help me. I use php 4.3.2(InetPub\Php is my php directory) under windows 2000 server with IIS 5.0. I want to manipulate xml file with Php (add some element, modify some element,

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] I'm a beginner in php. I want to manipulate xml file with Php (add some element, modify some element, delete some element and consult some element) but when I try domxml_open_file I obtain system error : Call to undefined function: domxml_open_file() I heard about use

[PHP] Re: How to you compare dates in a query in Mysql

2003-07-31 Thread sven
take a look into mysql-manual 6.3.1.2 Comparison Operators ciao SVEN Bogdan Stancescu wrote: Depends on what exactly you're after, but for strict comparison arithmetic operators work as expected (, , =). Bogdan Safal Solutions wrote: Dear friends, Plesae help in finding the correct

Re: [PHP] session header issue

2003-07-31 Thread Sam Folk-Williams
Don't you mean they get sent to login.php? Nope -- index.php contians just the form elements for the user to type in user id and password, then it calls login.php which contains just the script. The Location: header requires a correctly formed URL, ie http://... It works fine having Location:

Re: [PHP] Querying a form

2003-07-31 Thread Gerard Samuel
Those links pretty much show how to use forms with php. What Im looking for is a way to post data to a form, and retrieve the following page's results, within php, if it is at all possible... If Im not making sense, let me know, and Ill explain it a little more... Jeff Harris wrote: On Jul 30,

Re: [PHP] PHP or CGI in C/C++

2003-07-31 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 31 Jul 2003 at 13:38, lines prefixed by '' were originally written by you. Greetinx, I'm a newbie and wondering which PHP script or CGI in C/C++ generally can run/respond faster via http from the same server doing the same tasks. I

Re: [PHP] session header issue

2003-07-31 Thread Sam Folk-Williams
Same here.. I get new problem with Location: main.php Sam Ow Mun Heng [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip The Location: header requires a correctly formed URL, ie http://... /snip I'm running fine using only Location:home.php on Mozilla IE 6 maybe I should change.

Re: [PHP] Querying a form

2003-07-31 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Thu, 31 Jul 2003 at 14:22, lines prefixed by '' were originally written by you. Those links pretty much show how to use forms with php. What Im looking for is a way to post data to a form, and retrieve the following page's results, within

Re: [PHP] Right Click Hyperlink

2003-07-31 Thread skate
Does anyone know if there is anything in PHP or any other language that would you can't do this in PHP, physically impossible. you also can't do it with any other server side language. the only way to do it is with a client side language, such as the JavaScript ways posted, or possibly

[PHP] Re: xml and php

2003-07-31 Thread sven
on a windows box you don't need to compile your php (--with-domxml). i think you installed the precompiled binaries from php.net. so if you want to enable this extension, look into your php.ini and uncomment the following line: extension=php_domxml.dll hth SVEN Steff wrote: Hello I'm a

Re: [PHP] xml and php

2003-07-31 Thread Steff
Thanks for you answer in php_info I only have this XML Support active XML Namespace Support active EXPAT Version 1.95.2 and nothing about dom xml so I can parse and read xml file but I can't add or modify nothing in my xml file and even not create xml file ! I tried to use expat but I

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] so I can parse and read xml file but I can't add or modify nothing in my xml file and even not create xml file ! [/snip] Uh, XML files are text files which you can modify with any of the text handling functions in PHP. What exactly are you trying to accomplish? -- PHP General Mailing List

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread John Manko
I'm wondering if there is an IIS extention for allow PHP in ASP. Wouldn't that be a kick in the ass. (I'm not talking about PHP for IIS, either) Jay Blanchard wrote: [snip] Might want to file this link, next time somebody asks about PHP vs. ASP

RE: [PHP] Article: PHP vs ASP

2003-07-31 Thread Joe Harman
Oh, do you mean like Chilisoft for PHP on a IIS server... LOL.. That would be funny -Original Message- From: John Manko [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:13 AM To: Jay Blanchard Cc: Ralph Guzman; PHP General Mailing List Subject: Re: [PHP] Article: PHP vs ASP

[PHP] Ticketmaster.com and Word Images

2003-07-31 Thread John Manko
Does anyone know how sites like Ticketmaster.com creates the Word Image used for ticket purchase verification? Do they generate the image on-the-fly from a dictionary, or do the images pre-exist and they are pulled from a DB along with the word. John -- PHP General Mailing List

RE: [PHP] Article: PHP vs ASP

2003-07-31 Thread Jay Blanchard
[snip] I'm wondering if there is an IIS extention for allow PHP in ASP. Wouldn't that be a kick in the ass. (I'm not talking about PHP for IIS, either) [/snip] But why go to the extra-effort? Just to save yourself the installation of PHP on the IIS box? -- PHP General Mailing List

RE: [PHP] Ticketmaster.com and Word Images

2003-07-31 Thread Jay Blanchard
[snip] Does anyone know how sites like Ticketmaster.com creates the Word Image used for ticket purchase verification? Do they generate the image on-the-fly from a dictionary, or do the images pre-exist and they are pulled from a DB along with the word. [/snip] The word can be pulled from the DB

Re: [PHP] Ticketmaster.com and Word Images

2003-07-31 Thread Aaron Gould
http://www.zend.com/zend/tut/tutorial-mehmet1.php -- Aaron Gould [EMAIL PROTECTED] Web Developer Parts Canada - Original Message - From: John Manko [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:16 AM Subject: [PHP] Ticketmaster.com and Word Images

RE: [PHP] learning php - problem already

2003-07-31 Thread Ford, Mike [LSS]
-Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 23:05 Curt Zirzow wrote: Ok... I'm getting the red pen out now :) [snip] the each() function returns a one element array that the current (internal) array pointer is pointing to and will

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread John Manko
Have you looked at the requirements for Chilisoft? Talk about bloatware. *Required:* * Memory: 256 MB required; 512 MB or more recommended * Disk Space: 150 MB 150MB? hmm. I guess it's not as bad as Microsoft's 1GB install of XP. Joe Harman wrote: Oh, do you mean like Chilisoft

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread John Manko
because it would be funny Jay Blanchard wrote: [snip] I'm wondering if there is an IIS extention for allow PHP in ASP. Wouldn't that be a kick in the ass. (I'm not talking about PHP for IIS, either) [/snip] But why go to the extra-effort? Just to save yourself the installation of PHP

[PHP] Mysql query and PHP loops

2003-07-31 Thread Petre Agenbag
Hi List I've been trying to do something with one MySQL query, but I don't think it is possible, so, I would need to probably do multiple queries, and possibly have queries inside loops, but I am rather weary of that so, I'd like your views/possible solutions to doing the following: Consider

RE: [PHP] PHP 5 Usage: Possible Bug?

2003-07-31 Thread Ford, Mike [LSS]
-Original Message- From: [-^-!-%- [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 05:46 I came across the following inconsistency between PHP 4 and PHP 5 Build 2195(Jul 24 2003 20:10:21). The error makes sense. I am just curious about the version inconsistency. Is this due to a

RE: [PHP] Article: PHP vs ASP

2003-07-31 Thread Joe Harman
Yes I agree it would be funny... In my opinion there is no need for the ASP platform... But then again, who am I for having an educated opinion, I let a hacker put a shell script on my site NOW THAT'S FUNNY! -Original Message- From: John Manko [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] Article: PHP vs ASP

2003-07-31 Thread Jay Blanchard
[snip] Yes I agree it would be funny... In my opinion there is no need for the ASP platform... But then again, who am I for having an educated opinion, I let a hacker put a shell script on my site NOW THAT'S FUNNY! [/snip] Proving once again that 'funny' is relative and someone will develop a

Re: [PHP] Article: PHP vs ASP

2003-07-31 Thread Curt Zirzow
* Thus wrote John Manko ([EMAIL PROTECTED]): I'm wondering if there is an IIS extention for allow PHP in ASP. Wouldn't that be a kick in the ass. (I'm not talking about PHP for IIS, either) My thoughts exactly. [EMAIL PROTECTED] Curt -- I used to think I was indecisive, but now I'm

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] ?xml version=1.0? library book id 1 /id title lg=FR Title 1 /title Desc lg=FR

[PHP] php path statement appears on my webpages

2003-07-31 Thread Gronquist, Jim M
I include #!/usr/local/bin/php4 at the top of my Php files so that it knows where to find php. Unfortunately the path appears in my web pages. Is there a way for me to turn this off? Is it a setting in Apache or is it something that I change in My php files. #!/usr/local/bin/php4

Re: [PHP] Trans_sid not working

2003-07-31 Thread Curt Zirzow
* Thus wrote AM ImpacT [Tom Suter] ([EMAIL PROTECTED]): Hey everyone, I'm using PHP 4.1.2 and I want to pass the SID through the URL when the user switched off cookies. I enabled session.use_trans_sid in my php.ini, but that doesn't seem to work. With cookies it works perfect. Make sure

Re: [PHP] install php-gtk on mdk9.1

2003-07-31 Thread Marek Kilimajer
http://sk.php.net/mailing-lists.php Decapode Azur wrote: hi, where do I have to post to bring help about how to install php-gtk ? Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where am i screwing up?

2003-07-31 Thread Ryan A
Hi, I am just screwing around and getting used to arrays with a foreach thanks to Michael,Jan and Evan from this list and have run into problems. My requirment is pretty simple (code is below too) 1)unset all the sessions that might have been set with reference to the hardcoded array ($vars) 2)if

Re: [PHP] Where am i screwing up?

2003-07-31 Thread John Manko
Can someone correct me on this if i'm wrong... try (meaning, I think that $vars as $keys will put the value into $key, not the key itself): foreach ($vars as $key=$value) // clear all previous sessions { if(isset($_SESSION['$key'])) { unset($_SESSION['$key']); } } Ryan A wrote: Hi, I

[PHP] Re: php path statement appears on my webpages

2003-07-31 Thread Ivo Fokkema
If you don't run PHP as an CGI but as an module, you don't even need this line. My guess is that you run PHP as a module, so delete the line to fix your problem. HTH, -- Ivo Fokkema PHP MySQL programmer Leiden University Medical Centre Netherlands Jim M Gronquist [EMAIL PROTECTED] wrote in

Re: [PHP] learning php - problem already

2003-07-31 Thread CPT John W. Holmes
From: Ford, Mike [LSS] [EMAIL PROTECTED] From: John W. Holmes [mailto:[EMAIL PROTECTED] The four element array will be 1 = 'one' value = 'one' 0 = 0 key = 0 OK, some more red pen coming along Since we're whipping them out (red pens that is) The four-element array would actually

Re: [PHP] Where am i screwing up?

2003-07-31 Thread John Manko
oh, don't forget, '$key' will not get evaluated. $key will. John Manko wrote: Can someone correct me on this if i'm wrong... try (meaning, I think that $vars as $keys will put the value into $key, not the key itself): foreach ($vars as $key=$value) // clear all previous sessions {

RE: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread Gronquist, Jim M
Ivo, Thanks, but if I leave off this line then I get an error when I try and view my pages. Jim -Original Message- From: Ivo Fokkema [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 9:51 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: php path statement appears on my webpages If

Re: [PHP] Where am i screwing up?

2003-07-31 Thread Curt Zirzow
* Thus wrote John Manko ([EMAIL PROTECTED]): Can someone correct me on this if i'm wrong... try (meaning, I think that $vars as $keys will put the value into $key, not the key itself): foreach ($vars as $key=$value) // clear all previous sessions { if(isset($_SESSION['$key'])) {

Re: [PHP] Where am i screwing up?

2003-07-31 Thread Ivo Fokkema
John Manko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone correct me on this if i'm wrong... try (meaning, I think that $vars as $keys will put the value into $key, not the key itself): foreach ($vars as $key=$value) // clear all previous sessions {

Re: [PHP] Where am i screwing up?

2003-07-31 Thread CPT John W. Holmes
From: Ryan A [EMAIL PROTECTED] I am just screwing around and getting used to arrays with a foreach thanks to Michael,Jan and Evan from this list and have run into problems. My requirment is pretty simple (code is below too) 1)unset all the sessions that might have been set with reference to

Re: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread CPT John W. Holmes
Thanks, but if I leave off this line then I get an error when I try and view my pages. What kind of error, exactly? You need to determine if you're running PHP as a module or CGI. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Ticketmaster.com and Word Images

2003-07-31 Thread Chris Shiflett
--- John Manko [EMAIL PROTECTED] wrote: Does anyone know how sites like Ticketmaster.com creates the Word Image used for ticket purchase verification? There are different ways for doing this. The simplest is to generate the image yourself, and you can use a pseudo-caching method to pull them

Re: [PHP] Re: php path statement appears on my webpages

2003-07-31 Thread John Manko
Have you set Apache httpd.conf? Gronquist, Jim M wrote: Ivo, Thanks, but if I leave off this line then I get an error when I try and view my pages. Jim -Original Message- From: Ivo Fokkema [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 9:51 AM To: [EMAIL PROTECTED] Subject:

Re: [PHP] Where am i screwing up?

2003-07-31 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): foreach ($vars as $key) // clear all previous sessions { if(isset($_SESSION['$key'])) { unset($_SESSION['$key']); } } echo done1; //just checking program execution No need to loop here, you can use an else statment in the next loop. And

Re: [PHP] session header issue

2003-07-31 Thread Chris Shiflett
--- Sam Folk-Williams [EMAIL PROTECTED] wrote: The Location: header requires a correctly formed URL It works fine having Location: main.php That doesn't justify it. This is no different than writing screwed up HTML tables that happen to appear as you want in the browser you're testing with.

Re: [PHP] session header issue

2003-07-31 Thread John Manko
I usually included a global variable prefixed to the page, like such.. header(Location: $ssl_server/mypage.php); or header(Location: $server/mypage.php); and a myserversetting.php setting these. Now, I can globally change the servers by editing one file. Chris Shiflett wrote: --- Sam

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread binc2
Hi guys what does trolling mean? Never heard of it before. Angelo -Original Message- From: Joel Rees [EMAIL PROTECTED] To: Joe Harman [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Thu, 31 Jul 2003 16:10:24 +0900 Subject: Re: [PHP] Possible My Website was hacked... with PHP... please tell

Re: [PHP] session header issue

2003-07-31 Thread CPT John W. Holmes
From: Ow Mun Heng [EMAIL PROTECTED] snip The Location: header requires a correctly formed URL, ie http://... /snip I'm running fine using only Location:home.php on Mozilla IE 6 maybe I should change. Please see my previous emails on the difference between works and right... ---John

Re: [PHP] xml and php

2003-07-31 Thread Ray Hunter
Make sure that you have all the dlls that are needed for php+dom. these dlls need to be in your windows path as well. Uncomment the dll in your php.ini file and restart the webserver. View a php page with phpinfo() as the only function in that page: ?php phpinfo(); ? See if you have dom in

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Curt Zirzow
* Thus wrote binc2 ([EMAIL PROTECTED]): Hi guys what does trolling mean? Never heard of it before. http://jargon.net/jargonfile/t/troll.html Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] session header issue

2003-07-31 Thread Sam Folk-Williams
That doesn't justify it. This is no different than writing screwed up HTML tables that happen to appear as you want in the browser you're testing with. GREAT point! Sorry, I didn't realize it was bad form. Just ignorant here -- I tried it with an absolule URL and it now works fine. Thanks for

Re: [PHP] Possible My Website was hacked... with PHP... please tellme what this is???

2003-07-31 Thread John Manko
trolling! ha binc2 wrote: Hi guys what does trolling mean? Never heard of it before. Angelo -Original Message- From: Joel Rees [EMAIL PROTECTED] To: Joe Harman [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Thu, 31 Jul 2003 16:10:24 +0900 Subject: Re: [PHP] Possible My Website was

Re: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Chris Sherwood
I have seen this exact same header before in this list, so I am going to assume this is a troll Chris - Original Message - From: binc2 [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 8:26 AM Subject: Re: Re: [PHP] Possible My Website was hacked...

[PHP] Re: Mysql query and PHP loops

2003-07-31 Thread sven
did you also play with group by? what does this return? select * from `yourTable` group by `val1` ciao SVEN Petre Agenbag wrote: Hi List I've been trying to do something with one MySQL query, but I don't think it is possible, so, I would need to probably do multiple queries, and possibly

RE: Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Jay Blanchard
[snip] what does trolling mean? Never heard of it before. [/snip] Ever been fishing? It means fishing. It also refers to the nasty troll that lived under the bridge in the classic Grimm's fairy tale. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] splitting content into pages

2003-07-31 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Wednesday, July 30, 2003 9:33 PM said: your example doesnt work Then fix it, don't complain to him. He spent his own time (either work time or personal time) to write it for you. Do you expect him to fully test it before he sends it? and the

Re: [PHP] splitting content into pages

2003-07-31 Thread skate
Another solution would be to abandon the idea of a fixed size background. Try to make it variable instead. althought not the most cross browser effective, you could also try some css to fix the background... style=background-repeat=none should do the job. -- PHP General Mailing List

RE: [PHP] splitting content into pages

2003-07-31 Thread Chris W. Parker
skate mailto:[EMAIL PROTECTED] on Thursday, July 31, 2003 9:44 AM said: althought not the most cross browser effective, you could also try some css to fix the background... style=background-repeat=none should do the job. The problem is not fixing the background in place. The problem

RE: [PHP] Debugging a Session Problem

2003-07-31 Thread Johnson, Kirk
I am out of ideas, short of rebuilding PHP. Sessions work, I just don't see what is wrong in this situation. Sorry, good luck. Kirk -Original Message- From: Lee Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 4:11 PM To: [EMAIL PROTECTED] Subject: RE: [PHP]

[PHP] ldap, unicodePwd and Active Directory

2003-07-31 Thread Jon Shoberg
LDAPS is running on our server. Any have code samples for modifying a user's unicodePwd attribute? A script I am working on appears to be getthing caught up in the password conversion ot unicode. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Jay Paulson
I know this is a little off topic but I really need some help with this. The company I work for just got bought out by a larger company. The larger company uses .NET from Micro$oft. I of course use all open source stuff for our web sites and now the new company wants to come in and pretty

[PHP] Sockets tutorial problem in Mac OSX

2003-07-31 Thread René Fournier
Hello, I'm just getting my feet wet with a Dev Shed sockets tutorial (http://www.devshed.com/Server_Side/PHP/SocketProgramming/page5.html). I am having a little problem with one of the tutorial code samples, which should socket_write some text back to the client--except it's not doing that.

RE: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Dan Joseph
Hi Jay, www.asp.net is a good site for learning about the ASP side of .NET, its the web application side. Basically Visual Basic for the web. .NET is also C++, C#, J#, and VB .NET. I personally like developing in Visual Studio .NET, but I donno about for web applications. I use to do

  1   2   3   >