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] 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 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] 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] 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

[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

[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.

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

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] $_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] 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] 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 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 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] 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

[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

[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

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] 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

[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]">

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: 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] 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: 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] 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
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] 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

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 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

[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] 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-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

[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]>

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

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] $_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] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

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

<    1   2   3   4   5