Re: [PHP] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

2002-07-09 Thread Alberto Serra
ðÒÉ×ÅÔ! Daniel Negron/KBE wrote: > Is this retaliation ? People are so stupid they cannot even understand that we will simply filter him out of our mail right to trash bin :) I'm just sorry Mozilla is missing an autoresponder. I would have him mailed back with some HUUGE .doc any time he writ

Re: [PHP] $_REQUEST???

2002-07-09 Thread Alberto Serra
ðÒÉ×ÅÔ! Patrick Teague wrote: > Hello, > > Considering all of this... Would it be better simply to turn > register_globals = On if the vast majority of the stuff you have on your > site is simple search engine type stuff and/or GET variables? Well, such stuff needs NOT security, nedless to say

Re: [PHP] Script File Permissions

2002-07-09 Thread Alberto Serra
ðÒÉ×ÅÔ! Chris Earle wrote: > Thank you for the reply (I don't speak or read Russian if that's what that > other stuff is). It is, but it's nothing more than "hello" and my signature, so you did not miss any basic content :) > I forgot to mention that the server is a Win2k server with > IIS 5

Re: [PHP] PHP vs. Java

2002-07-09 Thread Alberto Serra
ðÒÉ×ÅÔ! IMHO java is to be avoided. fullstop. Still, it might be unavoidable from a commercial point of view. In that case, you should avoid being involved in the project and let the marketing dept have their fun on their own. There's a lot of pleasantly paid jobs that won't kill your nerves

[PHP] Re: Executing Script through image

2002-07-09 Thread JJ Harrison
It is a couple of seconds slow. Treating the file as an image means that the rest of the page can still load while it is doing the reverse DNS lookup and executing the script. Anyway I have got the answer now -- JJ Harrison [EMAIL PROTECTED] www.tececo.com "Richard Lynch" <[EMAIL PROTECTED]>

[PHP] Hiding submitted variable-Solution

2002-07-09 Thread Lord Loh.
Use the "POST" Method Use MD5 encryption for additional security === MD5.js= /* * Convert a 32-bit number to a hex string with ls-byte first */ var hex_chr = "0123456789abcdef"; function rhex(num) { var str = ""; for(var j = 0; j <= 3; j++) str += hex_chr.charAt((num

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Analysis & Solutions
On Tue, Jul 09, 2002 at 11:41:47PM -0700, Fargo Lee wrote: > got it to assign a 0 (success) or 1 (failure) to the return_var argument as > you suggested so I am happy. Good! > What mixed me up and I still don't understand is the manual entry for > system() says ... > > "Returns the last line

[PHP] Hiding submitted variable values in location bar of browser !

2002-07-09 Thread Lord Loh.
Use the "POST" Method Use MD5 encryption for additional security === MD5.js= /* * Convert a 32-bit number to a hex string with ls-byte first */ var hex_chr = "0123456789abcdef"; function rhex(num) { var str = ""; for(var j = 0; j <= 3; j++) str += hex_chr.charAt((num

RE: [PHP] hiding submitted variable values in location bar of browser !

2002-07-09 Thread Sachin Keshavan
It would be better to use POST operation like mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 12:34 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] hiding submitted variable values in location bar of browser ! > Hi everyone, > Is there any way to hide my form submitted variables (like > pa

RE: [PHP] Storing values in Session

2002-07-09 Thread Rudolf Visagie
It should be: $BOOKS = $BOOKS.",".$bookid; Rudolf Visagie Principal Software Developer Digital Healthcare Solutions Tel: 011 2655478 Cell: 082 895 1598 -Original Message- From: Sachin Keshavan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 8:03 AM

Re: [PHP] hiding submitted variable values in location bar of browser !

2002-07-09 Thread Axel Tietje
> Hi everyone, > Is there any way to hide my form submitted variables (like > passwords etc) > in the location > bar "http://somedomain.org/checkpassword.php? > password=mypassword" > or atleast show in an encypted form n the location bar. HTH, Axel Tietje -- FLYnet FLYer Kommunikationsge

[PHP] Re: Storing values in Session

2002-07-09 Thread vins
Oh an for the if statement. My PHP gets confused, maybe it's just me but give it a try if(empty($BOOKS)) "Sachin Keshavan" <[EMAIL PROTECTED]> wrote in message B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00">news:B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00... > Hello, > > I want to a

Re: [PHP] is their a jobs mailing list?

2002-07-09 Thread sharif
pls... unsubscribe.. me... pls..and pls again sharif. [EMAIL PROTECTED] - Original Message - From: "Bret L Conard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 9:46 PM Subject: Re: [PHP] is their a jobs mailing list? The site is called: tech-temp.com

[PHP] Re: Storing values in Session

2002-07-09 Thread vins
Try pushing the variables into an array before sending to the session. I never have problems with arrays in sessions. "Sachin Keshavan" <[EMAIL PROTECTED]> wrote in message B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00">news:B733065B9A56D61194840090274F42CE01AC69@INBLREXCH00... > Hello, > >

Re: [PHP] Submitting form in new window!

2002-07-09 Thread vins
This is JavaScript you need. one example. function FormSubmit() { var textfield = Information.TextField.value; var url = "./processForm.php?textfield=" + textfield; window.open(url); } OR just add this to your form tag. TARGET="_blank" "Thomas Edison Jr." <[EMAIL PROT

[PHP] Re: banner rotation and advertisement

2002-07-09 Thread vins
Try phpadsnews. "Andy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello everybody: > > sorry for this kind of off topic question. I hope that someone might point > me into the right direction. > > I am operating a web portal and think about advertisement.

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
Thanks for pointing me in the right direction. Could not get the output (success or failure) assigned to a variable in front of the system call but got it to assign a 0 (success) or 1 (failure) to the return_var argument as you suggested so I am happy. What mixed me up and I still don't underst

[PHP] Re: (OT) Our Spam Friend

2002-07-09 Thread vins
Good GOod Good but hey isn't going to get off that easy. one day it's going to say sorry that mailbox doesn't exist. or even better sorry this person doesn't own a computer anymore after his last spam crusade LOL "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">

[PHP] banner rotation and advertisement

2002-07-09 Thread Andy
Hello everybody: sorry for this kind of off topic question. I hope that someone might point me into the right direction. I am operating a web portal and think about advertisement. Unfortunatelly I do not have any idea how to start this. First off all how does the client know how many banner view

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Analysis & Solutions
On Tue, Jul 09, 2002 at 10:59:04PM -0700, Fargo Lee wrote: > > Thanks but it still returns "Success" on a failure. If anyone knows if it is > even possible to assign the output of system, passthru or exec to a variable > to check for success or failure and how to do it, please advise. The $status

[PHP] Re: PLZ HELP -- - GET & POST form problem

2002-07-09 Thread vins
Globals Globals Globals.. PHP Needs that without globals it's like a man without balls LOL Cheerz "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >Server Apache / PHP v.4.1.2 > >At the moment the parametere register_globals is still set to on; > >I'm tr

[PHP] Storing values in Session

2002-07-09 Thread Sachin Keshavan
Hello, I want to add a set of values to the session variable $BOOKS. This is the code which I used. if($BOOKS=="") { #this seems to be the first book which the user has selected $BOOKS = $bookid; #this param comes from the URL } els

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Analysis & Solutions
On Wed, Jul 10, 2002 at 01:08:38AM -0400, Adam Alkins wrote: > > From: "Analysis & Solutions" <[EMAIL PROTECTED]> > > > On Tue, Jul 09, 2002 at 06:09:36PM -0700, Fargo Lee wrote: > > > > > > $status = system("mysql -umyuserid -pmypassword mydbname < > > > > You need a space between "-u" and "my

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
Thanks but it still returns "Success" on a failure. If anyone knows if it is even possible to assign the output of system, passthru or exec to a variable to check for success or failure and how to do it, please advise. The $status variable seems to always be empty on success or failure when I try

Re: [PHP] Commit/Roll Back Transaction in PHP/mySQL

2002-07-09 Thread Peter J. Schoenster
On 9 Jul 2002 at 22:07, Thomas Edison Jr. wrote: > why the transaction is interrupted, i would like the > transaction to roll back.. that is, all the records > entered before the interruption SHOULD NOT remain in > the database, they should get deleted or something, so > that the transaction can

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Jason Wong
On Wednesday 10 July 2002 13:27, Fargo Lee wrote: > Thanks for pointing out the syntax error. I added the space after the -u > but it did not make any difference. It still gives the same result, that is > "Success", when it actually fails. What I am trying to figure out is how I > can tell if it f

Re: [PHP] Commit/Roll Back Transaction in PHP/mySQL

2002-07-09 Thread Justin French
What about uploading the new data to a temporary table... once you're assured that every thing was completed, you can delete the old and rename the new to suit... Simular thing could be done with copying the existing table, etc. Justin French on 10/07/02 3:07 PM, Thomas Edison Jr. ([EMAIL PR

RE: [PHP] $_REQUEST???

2002-07-09 Thread Philip Olson
> I'm not sure if it's true or not, but someone said all data coming > through _POST and _COOKIES is filtered - making it safer than pulling > the raw data from variables. Filtered? Nothing is filtered. Only you know what data the users should be sending, validate accordingly and assume all r

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
Thanks for pointing out the syntax error. I added the space after the -u but it did not make any difference. It still gives the same result, that is "Success", when it actually fails. What I am trying to figure out is how I can tell if it failed (did not create the tables)? The $status variable do

Re: [PHP] Submitting form in new window!

2002-07-09 Thread Thomas Edison Jr.
Glory, > Attach a javascript event to the submit button Something like : Wherein wow() defines a the window.open function? > and also attach the form values to the url. How do i do this? Because the 3 or 4 form fields i have, which are Hidden Fields, contain values coming in from $myrow[stu

[PHP] Exporting mySQL Table Data to .csv

2002-07-09 Thread Thomas Edison Jr.
Glory, I use phpMyAdmin which enables me to take dump of mySQL Table Data into Comma Seperated Values file (.csv) Now, i have to create such a program that accomplishes this, without using phpMyAdmin. Can someone guide me to this procedure.. Thanks, T. Edison Jr.

[PHP] Commit/Roll Back Transaction in PHP/mySQL

2002-07-09 Thread Thomas Edison Jr.
Glory! Im creating a .php file that will be uploading & putting in data from a .csv file into mySQL Tables on the server. However, my problem is that if there is any kind of a problem during the transaction, i.e, system shut down, electricity problem, or any reason why the transaction is interrup

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Adam Alkins
And also the "-p" -- Cheers, Adam Alkins http://www.rasadam.com -- - Original Message - From: "Analysis & Solutions" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 11:02 PM Subject: Re: [PHP] How do I import tables into MySQL

Re: [PHP] T_string error

2002-07-09 Thread Adam Alkins
You may want to try posting it at http://www.phpbb.com/phpBB/viewforum.php?f=1 since it really is something phpBB specific. -- Cheers, Adam Alkins http://www.rasadam.com -- - Original Message - From: "Peter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP List"

Re: [PHP] eregi_replace driving me nuts

2002-07-09 Thread Chris Shiflett
In a weak attempt at improving my knowledge of regular expressions, I came up with a less elegant solution than Dan's. :-) $os=eregi_replace("Win([^0-9NT]*)", "Windows \1" $os); This adds some additional handy replacements, such as: Winblows98 -> Windows 98 Windoze98 -> Windows 98 It's a dece

RE: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Naintara Jain
what OS are you running on? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] t]On Behalf Of Mike Sent: Tuesday, July 09, 2002 12:37 PM To: Jay Blanchard; [EMAIL PROTECTED] Subject: Re: [PHP] CANT GET STUFF TO WORK I have read that, I am still confused, I have made it

Re: [PHP] eregi_replace driving me nuts

2002-07-09 Thread Analysis & Solutions
On Tue, Jul 09, 2002 at 10:40:33PM -0500, Chris Shiflett wrote: > Patrick Teague wrote: > > >$os = eregi_replace( "Win[^dows]", "Windows ", $os ); > > I'm pretty sure (I'm not a regular expression expert) this matches "a > string that begins with Win followed by a character that is not d, o, w,

Re: [PHP] eregi_replace driving me nuts

2002-07-09 Thread Chris Shiflett
Patrick Teague wrote: >For some reason the following line is not behaving > >$os = eregi_replace( "Win[^dows]", "Windows ", $os ); > I'm pretty sure (I'm not a regular expression expert) this matches "a string that begins with Win followed by a character that is not d, o, w, or s. Thus, in th

RE: [PHP] T_string error

2002-07-09 Thread Peter
wot's the few lines before it ? just because it says that line doesn't always mean it is that line ... and have found quite often it's the line above it... > -Original Message- > From: admin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 10 July 2002 1:32 PM > To: PHP List > Subject

[PHP] T_string error

2002-07-09 Thread admin
Can someone tell me what the following error means, and how to fix it...please? Parse error: parse error, unexpected T_STRING in c:\program files\apache group\apache\htdocs\phpbb\language\lang_english\lang_main.php on line 629 this is the code on that page: $lang['Avatar_filesize'] = 'The avat

[PHP] eregi_replace driving me nuts

2002-07-09 Thread Patrick Teague
Hello, For some reason the following line is not behaving $os = eregi_replace( "Win[^dows]", "Windows ", $os ); this should take any form of Win9x (or WinNT, or Win2k, etc) & convert it so it shows Windows 9x (or Windows NT, or... you get the picture). After running "Win98" through the above

Re: [PHP] Re: PLZ HELP -- - GET & POST form problem

2002-07-09 Thread Jason Wong
On Wednesday 10 July 2002 06:03, Richard Lynch wrote: > >Server Apache / PHP v.4.1.2 > >At the moment the parametere register_globals is still set to on; > >I'm triyng to use $_POST and $_FILES between different pages, but > > variables are always empty !!! > > Is 'track_vars' turned *ON* in php.i

Re: [PHP] php loopholes

2002-07-09 Thread Jason Wong
On Wednesday 10 July 2002 06:04, Lazor, Ed wrote: > I just wish RedHat's updater worked as seamlessly as Microsoft's. MUHAHAHA > ;) So do I. I just love it when Windoze update tells me "You can only download XXX upgrade separately from other components .. After installation [after rebooti

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Analysis & Solutions
On Tue, Jul 09, 2002 at 06:09:36PM -0700, Fargo Lee wrote: > > $status = system("mysql -umyuserid -pmypassword mydbname < You need a space between "-u" and "myuserid" --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution

Re: [PHP] shtml & php in the same file?

2002-07-09 Thread Joshua Alexander
There are people who don't use Apache??? ;) >ending in .php and add the same thing for .shtml. Then, both will be >parsed by PHP first. But then will it be parsed by SSI second, as we would like? Doesn't seem to... -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] rh 7.3

2002-07-09 Thread Peter
Yamin, grab ur self a copy of bison and install it see this line.. configure: warning: You will need bison if you want to regenerate the PHP parsers. ) make sure lex is in ur path on your machine.. cheers > -Original Message- > From: Yamin Prabudy [mailto:[EMAIL PROTECTED]

[PHP] LDAP Objects

2002-07-09 Thread Stewart James
Hi All, Just wondering if some can explain this to me. Lets assume I ahve retrieved a person entry from an LDAP server. It contains uid, and cn with 2 values. I would expect the object when assign to $entry to look like. $entry['uid'][0] = "Jsmith" $entry['cn'][0] = "john smith" $entry['cn'][

[PHP] rh 7.3

2002-07-09 Thread Yamin Prabudy
Hi guys,... In configure PHP 4.2.1 on RedHat 7.3 I found this problem checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... (cached) gawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP pa

Re: [PHP] shtml & php in the same file?

2002-07-09 Thread Chris Shiflett
Joshua Alexander wrote: > So I was trying to get the server to treat shtml files as both > server-parsed and as php scripts. Not working too well. ;) > > Anyone have any ideas? We'd need to know more about your setup, but if you're using Apache, you should be able to edit your httpd.conf fil

[PHP] stupid dude

2002-07-09 Thread Yamin Prabudy
Hmmm some stupid dude land in this mailing list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. Java

2002-07-09 Thread Anas Mughal
I agree with the other reply to your question. My thoughts could be summarized as follows: - Java solution would be more expensive and involved to build and maintain. - PHP would be cheaper and quicker to build and maintain. - Java would require more resources on your server. - PHP is light weig

Re: [PHP]Problem in using php-imap in rh7.3

2002-07-09 Thread Rasmus Lerdorf
Try localhost:143/notls there On Wed, 10 Jul 2002, [gb2312] ÚÈ Ñ« wrote: > > Hi all, > I got a problem when I use php's imap functions in rh7.3 system. > In the php script file imaptest.php I wrote such code: > > $user="usernamexxx"; > $password="passxxx"; > $mbox = imap_open ("{localhost:143}

[PHP]Problem in using php-imap in rh7.3

2002-07-09 Thread 谌 勋
Hi all, I got a problem when I use php's imap functions in rh7.3 system. In the php script file imaptest.php I wrote such code: $user="usernamexxx"; $password="passxxx"; $mbox = imap_open ("{localhost:143}", $user, $password) or die("can't connect: ".imap_last_error() But when I use ko

Re: [PHP] Function source?

2002-07-09 Thread Anas Mughal
As Rasmus said, all functions are in C. PHP is open source: The source code is available to the public. --- Leif K-Brooks <[EMAIL PROTECTED]> wrote: > If I understand correctly, all php functions are > written in php. If > this is true, is it possible to view function source > code? Thanks

Re: [PHP] Function source?

2002-07-09 Thread Pushkar Pradhan
When you compile from the source (which is in c) the functions that are available are actually c executables. > If I understand correctly, all php functions are written in php. If > this is true, is it possible to view function source code? Thanks for > any insight into this :-) > > > -- > PHP G

Re: [PHP] øøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøøø

2002-07-09 Thread Aaron
Yes they give instructions on how to unsubscribe. Its quite simple. Liam Gibbs wrote: >Oh, for Pete's sake, GROW UP, man! > >Stop and think for a second! Why not try visiting >php.net like you did to sign up >(http://www.php.net/mailing-lists.php) instead of >spamming the rest of us about with t

[PHP] shtml & php in the same file?

2002-07-09 Thread Joshua Alexander
I'm working on this site that is all shtml files... in order to add some dynamic content, it just includes php scripts in different places. However, sessions don't work unless you start it before outputting anything to the server and that's what's needed now... I don't want to change all the l

Re: [PHP] Function source?

2002-07-09 Thread Rasmus Lerdorf
No, they are written in C. And yes, you can of course download the C source code from php.net. -Rasmus On Tue, 9 Jul 2002, Leif K-Brooks wrote: > If I understand correctly, all php functions are written in php. If > this is true, is it possible to view function source code? Thanks for > any i

[PHP] Function source?

2002-07-09 Thread Leif K-Brooks
If I understand correctly, all php functions are written in php. If this is true, is it possible to view function source code? Thanks for any insight into this :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail() function

2002-07-09 Thread Chris Knipe
No you cant. All Received:, Date:, Message-ID headers are added to the message at the SMTP server... Hence, any halfly decent configured SMTP server will *always* add those headers to *any* message. If you have administration over the SMTP server, you can with allot of tweaking configure the S

[PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
Hi, I am trying to import some tables from a dump file into a MySQL database from a php web page. What is the best way to do this without using backticks (fpassthru, system, exec or something else) and test for success or failure? I tried the following and while it works, my test for success or fa

RE: [PHP] snmpwalk

2002-07-09 Thread sonjaya
Have you even cek the box that must run snmp too, try this snmpwalk localhost public -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP code optimization

2002-07-09 Thread Nick Oostveen
I could be wrong, but I seem to remember reading somewhere that using ?> text Peter Thoenen wrote: > >>Question on optimizing code for quicker runtimes. Which is quicker (this >>is on a webpage also..NOT >>commandline)? >> >> >> >>OR >> >> abc > >Because the difference is going to be undetecta

Re: [PHP] Script File Permissions

2002-07-09 Thread Chris Earle
"Alberto Serra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ðÒÉ×ÅÔ! > > Chris Earle wrote: > > So my question is this: how do I get my script to have permissions to write > > or append to any file? > > Ask your sysadmin (I can almost bet the answer will be N

Re: [PHP] PHP code optimization

2002-07-09 Thread Chris Shiflett
Peter Thoenen wrote: >Question on optimizing code for quicker runtimes. >Which is quicker (this is on a webpage also..NOT >commandline)? > > > >OR > > abc > Because the difference is going to be undetectable, this would probably be a question that only someone really familiar with the engine

Re: [PHP] Re: Postal / Zip Code Proximity Search

2002-07-09 Thread Anas Mughal
Richard, I just tried performing a search on http://chatmusic.com/venues.htm. All I did was supply my zipcode. I didn't change/supply any other information. The search was really slow. I wanted to ask you what you would attribute the slowness to. What is your architecture? Richard Lynch <[EM

[PHP] (OT) Our Spam Friend

2002-07-09 Thread Chris Shiflett
I just thought this was worth sharing. :-) - The following addresses had permanent fatal errors - <[EMAIL PROTECTED]> - Transcript of session follows - RECIPIENTS MAILBOX IS FULL 554 <[EMAIL PROTECTED]>... Service unavailable -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] dumb

2002-07-09 Thread Chris Shiflett
Brendan P. Caulfield wrote: >this is dumb. can we just ignore this and move. we are all smart enough >to block his posts. let's just do it and quit wasting all of our time and >get back to doing what we do here. > Actually, some of us don't check mail from this list until the evenings. By th

[PHP] Re: Trying to locate an image file name from another site

2002-07-09 Thread Richard Lynch
>I have a page on our intranet site that is pulling an image from our >corporate web server. The corporate server & the image I am accessing is >beyond my control. The image is generated daily and appears to be named >with a timestamp in the file name so therefore the image name changes daily.

[PHP] Re: php loopholes

2002-07-09 Thread Richard Lynch
>Hi every1, i am currently undertaking some research into PHP security and >its flaws / loopholes etc. What i am looking for is information on any >aspects of PHP that can be hacked or cracked and how developers have got >around these problems. #1. Improper Installation. Solution: Don't do t

[PHP] Re: Server does somethingwierd

2002-07-09 Thread Richard Lynch
>Whenn i acces a page then there will automatichly be a phpsesion id created Your php.ini file may have settings that would do that. >but i dont have got any key pressed or used sersion start in the code. > >i just wanne login to my page wich the page sets a cookie in my browser but >this doest

[PHP] Re: Executing Script through image

2002-07-09 Thread Richard Lynch
>When the nessicary include file is included it does a reverse-DNS lookup to >find the remote host's DNS name. The problem with this is that is seems >slow(at least on my test server with a DSL connection). How slow? There's, like, a couple seconds slow, which is just how slow reverse-DNS can be

[PHP] Re: Bad table iso-8859-1

2002-07-09 Thread Richard Lynch
>I have a problem with charset iso-8859-1. >My configuration is : Apache 1.3.26 on MacOS X with PHP 4.2.1 > >when I execute this script : > Okay, like, that character in there is not necessarily going to transport well if you ever move this script to a different computer... >I have result 142 wh

[PHP] Re: PHP Image Functions

2002-07-09 Thread Richard Lynch
>I have a directory of jpegs that I want to display thumbnails of and have a >link to the original jpeg. I would rather not create separate thumbnails >images preferring to create them in memory to display them. I have installed >GD v.1.8.4. The code below outputs jumbled text to the browser (poss

[PHP] Re: PLZ HELP -- - GET & POST form problem

2002-07-09 Thread Richard Lynch
>Server Apache / PHP v.4.1.2 >At the moment the parametere register_globals is still set to on; >I'm triyng to use $_POST and $_FILES between different pages, but variables >are always empty !!! Is 'track_vars' turned *ON* in php.ini? That's the one that fills in all those variables. If your ve

[PHP] Re: imagecopyresized() problems

2002-07-09 Thread Richard Lynch
>I am trying to create a piece of code that will create and display >thumbnail image. When trying to send the image to a browser, I see >binary data rather then an image. You can see the problem at >www.dallypost.com/a/test.php > >The troubled cose for this page follows: > > print(""); You can't

[PHP] Re: Postal / Zip Code Proximity Search

2002-07-09 Thread Richard Lynch
> I have a couple of questions with respect to creating a postal / >zip code proximity search that is remotely accurate. The system I am >using now is OK for small distances, but is terrible at calculating >large distances. What formula are you using to calculate distance? You see, the Eart

Re: [PHP] Moderator where are you, delete me...

2002-07-09 Thread vins
ppl ppl ppl relax... I unsubscribed the guy already you guys are late LOL Cheerz ;) "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Someone should sign this guy up for a hotmail account and check every > box for spam there is. > > >>>PHP

Re: [PHP] RE: ############

2002-07-09 Thread vins
i was just about to flip when i saw "#" for the subject line LOL I agree to that. we would all be blind right now... LOL I've already sent a zip file and the details of Erik to the abuse ppl at online.no to let them know about Erik "David H" <[EMAIL PROTECTED

Re: [PHP] Moderator where are you, delete me...

2002-07-09 Thread Chris Shiflett
Someone should sign this guy up for a hotmail account and check every box for spam there is. >>>PHP General Mailing List (http://www.php.net/) >>>To unsubscribe, visit: http://www.php.net/unsub.php >>> Oh look, there's how I unsubscribe. >>PHP General Mailing List (http://www.php.net/) >>To un

RE: [PHP] isset

2002-07-09 Thread Lazor, Ed
Me too ;) -Original Message- i agree to that > Look at that we get an easy question and 50 people reply. Today has just > been our day for spam. *LOL* :) This message is intended for the sole use of the ind

Re: [PHP] isset

2002-07-09 Thread vins
i agree to that "Kevin Stone" <[EMAIL PROTECTED]> wrote in message 05e601c22799$657262f0$6501a8c0@kevin">news:05e601c22799$657262f0$6501a8c0@kevin... > Look at that we get an easy question and 50 people reply. Today has just > been our day for spam. *LOL* :) > -Kevin > > - Original Message

RE: [PHP] RE: ############

2002-07-09 Thread David H
"An eye for an eye makes the world go blind." Mahatma Gandhi I think we should just kick him out of the list. Notify his ISP and black list him on the web. David --- Steve Bradwell <[EMAIL PROTECTED]> wrote: > agreed. > > -Original Message- > From: Rick Emery [mailto:[EMAIL PROTECTED]

Re: [PHP] Re: Cross-Site Sesison ID Propagation

2002-07-09 Thread Chris Shiflett
Richard Lynch wrote: >Would setCookie('user_id', $PHPSESSID, 0, '/othersite.com'); > >let you get away with setting the cookies for the "other" site? > Luckily no. :-) There are vulnerabilities in IE 4.0 - 6.0 that will let you read/write cookies not in your domain, but this is a result of a

Re: [PHP] Re: isset

2002-07-09 Thread vins
oh ok. that is easy to forge then try the script that i wrong earliers... it's must safer. "Preston Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Actually here is what I am trying to do. > > if (isset($submit)) { >echo "Submitted!"; > }

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike
It starts here ... http://counter.funyon.com/autocounter/signup/signup.phps then goes to here ... http://counter.funyon.com/autocounter/signup/Signup1.phps or here... (both included from the signup page) http://counter.funyon.com/autocounter/signup/admin.phps included in ad

RE: [PHP] isset

2002-07-09 Thread Preston Wade
This is what I was looking for. Thanks! Preston > -Original Message- > From: "Kevin Stone" <[EMAIL PROTECTED]>@INTERNET@HHC > Sent: Tuesday, July 09, 2002 5:37 PM > To: Preston Wade; [EMAIL PROTECTED] > Subject: Re: [PHP] isset > > <<...>> > > > > > if (isset($_POST['subm

RE: [PHP] Re: isset

2002-07-09 Thread Preston Wade
Actually here is what I am trying to do. blah, blah > -Original Message- > From: vins <[EMAIL PROTECTED]>@INTERNET@HHC > Sent: Tuesday, July 09, 2002 5:35 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: isset > > i think what you're trying to do is > > if($REQUEST_METHO

Re: [PHP] isset

2002-07-09 Thread Kevin Stone
Look at that we get an easy question and 50 people reply. Today has just been our day for spam. *LOL* :) -Kevin - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Preston Wade" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 4:37 PM Subject: Re: [PH

[PHP] Re: Please Help me

2002-07-09 Thread Chris Shiflett
Djurovski Dejan wrote: > What's wron in my script? > I receive message: > *Warning*: Supplied argument is not a valid MySQL result resource in > *c:\inetpub\wwwroot\login.php* on line *12* > I input validate username ˛password! > > > include("config.php"); > if(!empty($username)) > { > prin

Re: [PHP] isset

2002-07-09 Thread Kevin Stone
if (isset($_POST['submit'])){} // or // if (isset($HTTP_POST_VARS['submit'])) If register globals is ON you can access the variable directly.. if (isset($submit)) {} Otherwise you can extract the post array before testing the variable.. extract($_POST); if (isset($submit)) {} Hope this gets

[PHP] Re: isset

2002-07-09 Thread vins
i think what you're trying to do is "Preston Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello All, > > I am trying to use the isset function to test if the page has been > submitted, but it seems as though it is not working. I am wondering is > t

RE: [PHP] isset

2002-07-09 Thread Preston Wade
HTML form. register_globals is off. Thanks, Preston > -Original Message- > From: "Jim lucas" <[EMAIL PROTECTED]>@INTERNET@HHC > Sent: Tuesday, July 09, 2002 5:29 PM > To: Preston Wade; [EMAIL PROTECTED] > Subject: Re: [PHP] isset > > <<...>> > what is it you are testing for?

[PHP] Re: isset

2002-07-09 Thread vins
It's kinda like microsoft nothing really works unless you have Internet Explorer and the internet LOL "Preston Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello All, > > I am trying to use the isset function to test if the page has been > submit

Re: [PHP] isset

2002-07-09 Thread Jim lucas
what is it you are testing for? a page that has been submitted. do you mean from an html form or some other method? Jim Lucas - Original Message - From: "Preston Wade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 3:20 PM Subject: [PHP] isset > Hello All, >

Re: [PHP] isset

2002-07-09 Thread Rasmus Lerdorf
Yup On Wed, 10 Jul 2002, vins wrote: > that seem always to be the prob with any php coding now days > globals on or off > > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > register_globals on or off? > > > > On Tue, 9 Jul 2002, Presto

Re: [PHP] isset

2002-07-09 Thread vins
that seem always to be the prob with any php coding now days globals on or off "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > register_globals on or off? > > On Tue, 9 Jul 2002, Preston Wade wrote: > > > Hello All, > > > > I am trying to

Re: [PHP] isset

2002-07-09 Thread Rasmus Lerdorf
register_globals on or off? On Tue, 9 Jul 2002, Preston Wade wrote: > Hello All, > > I am trying to use the isset function to test if the page has been > submitted, but it seems as though it is not working. I am wondering is > there a configuration option that is messing with the functionality

[PHP] isset

2002-07-09 Thread Preston Wade
Hello All, I am trying to use the isset function to test if the page has been submitted, but it seems as though it is not working. I am wondering is there a configuration option that is messing with the functionality of isset. Any help would be appreciated. Thanks, Preston Wade -- PHP Gener

RE: [PHP] $_REQUEST???

2002-07-09 Thread Lazor, Ed
I'm not sure if it's true or not, but someone said all data coming through _POST and _COOKIES is filtered - making it safer than pulling the raw data from variables. While you're forging cookies, I'll take a few chocolate chip ;) -Original Message- Considering the fact that anyone can fo

  1   2   3   4   5   >