[PHP] Re: Strange output by phpinfo()

2001-09-23 Thread Elias Santiago
That's the request string of the W32Nimda worm, it has propagated very fast in the Internet. Info and tool for removing it are at: http:[EMAIL PROTECTED] If you are running under an IIS webserver, it could be the server itself that could be infected and sending the request string to itself.

[PHP] Hello

2001-08-31 Thread Brian Elias
click the link below to set up an appointment with one of my sales representatives today! Brian Elias President Hansons Windows Siding P. S. This a one time email offer only good for the next 9 day or until we decrease our tax problem. **If you wish to have your e-mail

[PHP] Re: strange error

2001-08-24 Thread Elias Santiago
; } ? /html Note that curly braces (expression group) does not need the semicolon after them. If the IF, ELSEIF or ELSE constructs just need to execute one line then html ?php if (condition) echo whatever ; ? /html the constructs themselves don't need an ending semicolon Elias

Re: [PHP] The future of PHP

2001-08-23 Thread Elias Santiago
two-cents Almost all modern technologies are the evolution of previous ones: C - C++,Perl, PHP, Python; Basic - QBasic - VBasic/ASP; Even new languages like Rebol are based (in one way or another) to previous languages. Anyone could develop a parser/interpreter for any new language they

[PHP] Re: The future of PHP

2001-08-22 Thread Elias Santiago
Thomas Deliduka [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... A little background... Skip to THE JIST if you wanna make this quick. I am on this webmaster's list where most of the people are fairly new webmasters. They're just getting the hang of things. I am

Re: [PHP] Any point in learning ASP/JSP etc?

2001-08-22 Thread Elias Santiago
I have learned (and used) both PHP and ASP. However, when I was beginning with PHP, I always made it first on ASP then re-implemented on PHP. I always found PHP to be easier, shorter (but more powerful) logic (scripts are shorter than ASP). I guess it has served me well, I have learned to do

Re: [PHP] The future of PHP

2001-08-22 Thread Elias Santiago
Just by looking at M$ history we all know that their only interest is $$money$$. Even if the product is not fully tested/bug-free and if 20% of it works, they spit it out and leave the dirty work (and headaches) to the system administrators and everyone else who's not a plain non-technical user

[PHP] Re: how to disable the automated userID/password in Internet Explor er

2001-08-22 Thread Elias Santiago
You need to go to: Tools - Internet Options - Content (tab) - Autocomplete - clear the box beneath User names and passwords on forms also press Clear Passwords if you're concerned about passwords being remembered. Just check/uncheck the options you need. Gabe Da Silveira [EMAIL PROTECTED]

Re: [PHP] Re: force download in IE -- conclusion

2001-08-22 Thread Elias Santiago
Not necessarily an answer but on my work (a computer center for medical students) we use a propietary Perl web-based course software and when doing attachments on email messages on the system's bulletin board, the system sends a header with appplication/octet-stream and IE 5.5 attaches the .html

[PHP] Re: Browser Detection Redirection -- PHP or Apache ???

2001-08-19 Thread Elias Santiago
Why not use something easier like phpSniff. http://phpsniff.sourceforge.net/ You don't need a browscap.ini or troubling around with get_browser(); Elias Santiago Christopher Raymond [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... PHP Folks: Does PHP

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-17 Thread Elias Santiago
quality) to use it on my sites. Phil Driscoll [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thursday 16 August 2001 7:35 pm, Elias Santiago wrote: I believe that IIS passes the script name to php.exe with the first %s. I think IIS replaces the

[PHP] Interesting links

2001-08-16 Thread Elias Santiago
PHP IDE for Linux Only a.. Coffeecup Editor (the best IDE for PHP on Linux) PHP editor b.. HTML/PHP editors Quanta c.. HTML/PHP editors Blue Fish d.. HTML editors AswEdit On Windows a.. PHP IDE and Editor PHP Coder and mirror b.. Zend PHP IDE c.. IDE for PHP scripting (Web browser)

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Elias Santiago
I've had PHP 3 to 4.01 and now 4.06 running under NT4 SP6a and now with W2K IIS 5. From my experience, the %s %s is a requirement of IIS (not PHP). This according to Microsoft rules (apparently %s %s is CASE SENSITIVE): http://support.microsoft.com/support/kb/articles/Q245/2/25.ASP The %s %s

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Elias Santiago
Found MS explanation! (at least the only place I've found the reason WHY %s %s must be used) http://support.microsoft.com/support/kb/articles/Q276/4/94.ASP I know, this is a KB article for Python, but look closely at the line that says: (The two %s after the executable are required for

[PHP] Re: Emulating a POST

2001-08-10 Thread elias
hope this helps: /// ?php // simple post method // version 1.0 by Andrus ([EMAIL PROTECTED]) // Disclaimer: // everyone can change or use this code however and wherever they want ;) // send out browser headers function send_headers ($fp) { fputs ($fp, Accept: */*\n); fputs ($fp,

[PHP] Re: Difference between win98 and win2000

2001-08-10 Thread elias
In windows 2000 unless you set permission to write files you can't! I mean that you have to explicitly specify that a certain folder can be written to. ... [EMAIL PROTECTED] wrote in message 001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0">news:001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0... My

[PHP] Re: PHP.exe EAT's my win resources... (!)

2001-08-10 Thread elias
Hmm...Maybe because you're installing PHP as CGI. ISAPI runs fast only only once as you want. But it's not really stable. Tribun [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Tach! Is that correct, that my php.exe opens each time when a user access a page

[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-09 Thread elias
As for snap two, try echoing the filename you're trying to fopen: do: $fn = http://babynames.pregnancy.yahoo.com/bnfname?n=$name; echo $fn\n; $fp = fopen($fn, r); Weird...maybe this yahoo service was doing at that moment? Tribun [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: veuillez m'inscrire dans la liste

2001-08-07 Thread elias
Fait cela toi même. Said El Maataoui [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... merci _ Le journal des abonnés Caramail - http://www.carazine.com -- PHP General Mailing List (http://www.php.net/)

[PHP] Best way to take a copy of a Database from Server to server

2001-08-07 Thread elias
Hello. I have two MySql databases running on different servers. I have no root access and only PHP + Mysql and MysqlAdmin. How can i take a dump of first database (which is about 1MB) and restore that dump on the second one? Actually, I'm doing a structure dump, but the outputed SQL text is

Re: [PHP] Best way to take a copy of a Database from Server to server

2001-08-07 Thread elias
No I don't really have Telnet accessI have only access to phpMyAdmin 2.0.1 via my Hosting Control Panel... And it happens that both servers have this tool to access the database. How can I copy from a server to another? Please Help! Jon Farmer [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] MySql help #1

2001-08-03 Thread elias
er tried, but as LIMIT works on a SELECT, try it on an update. And let us know what happened. Miles At 10:30 AM 8/2/01 +0200, elias wrote: How can I update only N fields from the database? usually we do: UPDATE table1 SET field='VALUE' WHERE condition1 now I want to update fields with a

[PHP] Re: How to create session??

2001-08-03 Thread elias
Please post in text format. session_start(); if (isset($login)) { session_register(name, pwd); $name= $pwd = } else if (isset($logout)) { session_unregister(name); session_unregister(pwd); } - Balaji Ankem [EMAIL PROTECTED] wrote in message 00db01c11be2$57e26c20$[EMAIL

Re: [PHP] MySql help #1

2001-08-03 Thread elias
database normalization? How is the database designed? -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: August 2, 2001 6:32 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] MySql help #1 Someone purchased items from my site let's say 3 items out of 5 total. All items are the

[PHP] Re: Make associative array from two arrays

2001-08-02 Thread elias
same same... Thought there was a PHP function to do that...instead of looping, Tim Ward [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How about ... foreach ($keys as $key=$value) $new_array[$value] = $vals[$key]; Tim -- From: elias [SMT

[PHP] Re: Hmmm?

2001-08-02 Thread elias
Why you ppl. do this: if ($condition) { //action 1 //action 2 //action 3 } instead of this: if ($condition) { //action 1 //action 2 //action 3 } with the '}' you'll see directly the new code block that belongs to the IF statment. anyway...it's just a style

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-02 Thread elias
If you're running Windows system and you've got the windonws 98 SE original cdrom, you can just install from it PWS from: CDROMDRIVE:\addons\pws (...) Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Where do i download the best software (prefebly free)

[PHP] MySql help #1

2001-08-02 Thread elias
How can I update only N fields from the database? usually we do: UPDATE table1 SET field='VALUE' WHERE condition1 now I want to update fields with a certain condition but only X fields out N total fields. ie: id value --- --- 1a 2b 3c 4d 5e how can i update such

[PHP] Mysql Help #2

2001-08-02 Thread elias
Hi again. $result = mysql_query(SELECT id FROM table); $id_array = array(); while ($r = mysql_fetch_array($result)) $id_array[] = $r[id]; // now $id_array[] is an array of IDs that was grabbed from the database. Any faster and/or better approache to build the $id_array? -- PHP General

Re: [PHP] MySql help #1

2001-08-02 Thread elias
=.$array[$count]; $result = mysql_query ($sqlstring,$db) or die (mysql_error()); } -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: August 2, 2001 4:30 PM To: [EMAIL PROTECTED] Subject: [PHP] MySql help #1 How can I update only N fields from the database? usual

[PHP] Re: re:mysql help #1

2001-08-02 Thread elias
. Best wishes, Andras. elias [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Someone purchased items from my site let's say 3 items out of 5 total. All items are the same. I just want to update 3 items status to Reserved. When he buy he just tell

Re: [PHP] Re: storing array in mysql

2001-08-01 Thread elias
Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 8:09 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: storing array in mysql Yes true, you can use serialize. But since you know the format of your $array variable (which is simply holding one data type) you can sa

[PHP] Re: warnings in php4

2001-08-01 Thread elias
check php.ini and the key error_reporting Melania Popescu [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a lot of php scripts developed with php3. I've installed php4 and I get some warnings when I evaluate variables there are not set (are empty). In

[PHP] Re: Hmmm?

2001-08-01 Thread elias
It's called identing. It's just there to make the script more readable. That's common to almost all programming languages. Some programmers doesn't ident they code anyhow. Basically you increase the ident whenever you enter in a deeper code block. Kyle Smith [EMAIL PROTECTED] wrote in message

[PHP] Make associative array from two arrays

2001-08-01 Thread elias
Hello! I have two arrays: $keys = array(a, b, c, d); $vals = array(1, 2, 3, 4); I would like to get an associative array holding this: $aarray = array(a =1, b=2, c=3, d=4); I know I can do it with a while loop...but I wonder if there is any builtin PHP function that can do that. Or a better

[PHP] Re: how can i send SMS from Php Scripts ?

2001-08-01 Thread elias
hehe:) but what have you wrote already? 3 words? :) Damien Camus [EMAIL PROTECTED] wrote in message sb67ed5f.072@senlis_gwia">news:sb67ed5f.072@senlis_gwia... Sorry for my english but i'm french -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Re: Text Database class

2001-07-31 Thread elias
and joints. Henrik Hansen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [EMAIL PROTECTED] (Elias) wrote: http://www.php.net/manual/en/ref.dba.php wasn't what I really wanted, Any other ideas to use text databases? xml, csv files, what do

[PHP] Re: Can't write to file via php, just via ftp...Can anyone help?

2001-07-31 Thread elias
chmod filename newmode (as ftp user) hope this gives a hint, //elias Stephan HüBner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello all, another newbie-question, probably... :-) And sorry for my (possibly) bad english, I'm from Germany. the p

[PHP] Sort by bigger count(*)

2001-07-31 Thread elias
Hello, I made a query that uses count(*) now how can i get the results sorted following the biggest count(*) result? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Re: window.open (javascript)

2001-07-31 Thread elias
can you show us the code that does the window.open('myfile.php?test=hey') for example ? Eduardo Kokubo [EMAIL PROTECTED] wrote in message 016e01c119b4$d784d920$a102a8c0@cttmar">news:016e01c119b4$d784d920$a102a8c0@cttmar... I passed some vars to another page using window.open and it worked fine

[PHP] Re: php3 - php4

2001-07-31 Thread elias
Edit your PHP.ini file and change the error_reporting to: error_reporting=E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; show only errors Liviu Popescu [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a lot of php scripts developed with php3. I've installed php4

Re: [PHP] Re: window.open (javascript)

2001-07-31 Thread elias
print \, \Professor\, [\toolbar=no\]);\n;} else{ print window.open (\f3_professor.php?nome=$nome curriculo=$curriculo interesse=$interesse adicionais=$adicionais publicacoes=$publicacoes; print \, \f3_professor\, [\toolbar=no\]);\n;} print /script; ? - Original Message - Fro

[PHP] Re: Embedding PHP into another application...

2001-07-31 Thread elias
easier than PHP. Good luck. //elias Richard Lyle [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Everyone, I'm currently looking at Lua for use as a embedded scripting language for our game, DarkSpace, http://www.palestar.com. However, I'd like to

Re: [PHP] Re: storing array in mysql

2001-07-31 Thread elias
ren Vail -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 4:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: storing array in mysql when you submit this form, PHP will give a array variable called $name you can store in in MySql as: ? // w

[PHP] Re: php_oci8.dll

2001-07-31 Thread elias
Basically if you don't have this file you can't use it. try to see if it exist first. If not go to www.php4win.de or www.php.net and download the complete PHP Win32 binaries. Liviu Popescu2 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have installed PHP4

[PHP] Re: doubt regarding mysql php

2001-07-30 Thread elias
a = b means PASSWORD(a) = PASSWORD(b) therefore, if correct password is 'a' and it was stored in the database like PASSWORD(a) then the user's inputed password is 'b' and must be equal like: PASSWORD(a) = PASSWORD(b) = Balaji Ankem [EMAIL PROTECTED] wrote in message

[PHP] Re: Form Data

2001-07-30 Thread elias
maybe the field is too small to hold the whole value? some code might also help. Gerard Samuel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey all. Another thought. In a form I have there is a drop down box with age groups. ie 20-25 26-35 etc. If I

[PHP] Text Database class

2001-07-30 Thread elias
I have hosting plan that doesn't support MySQL nor any Databases...Just PHP. I'm wondering if there is any text database class that simulates the MySql queries and function calls. I mean text database, like all the values and data is stored in a raw text file. -- PHP General Mailing List

[PHP] Re: Text Database class

2001-07-30 Thread elias
Thanks guys, I had no idea about this: http://www.php.net/manual/en/ref.dba.php I'll take a look to make sure if that's what i really want. Elias [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have hosting plan that doesn't support MySQL nor any D

[PHP] Re: calling javascript functions inside PHP

2001-07-30 Thread elias
you really can't do that... try translating the decoding algorithm to PHP. Dean Martin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I use a PHP self-validating form for taking orders off my site. (on submit it calls itself and if there are no errors a send

[PHP] Re: Text Database class

2001-07-30 Thread elias
http://www.php.net/manual/en/ref.dba.php wasn't what I really wanted, Any other ideas to use text databases? Elias [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have hosting plan that doesn't support MySQL nor any Databases...Just PHP. I'm w

[PHP] Re: Text Database class

2001-07-30 Thread elias
thanks for sharing http://www.freesql.org link! Henrik Hansen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [EMAIL PROTECTED] (Elias) wrote: Yes, But I still want to know if any Text Database class exist... dont know, but I know 2 possible ways

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-27 Thread elias
yes, sort of... both have same number. Alexander Skwar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : first field is the primary key and is called 'id' and is an integer, and i want another field

[PHP] $str = var_dump()

2001-07-27 Thread elias
; //elias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: running a function after a form submit

2001-07-27 Thread elias
why don't you save just before the submit was clicked? what if he clicks submit and then he quickly closes and cancels everything out? (you just saved for vain!) Richard Kurth [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there a way to run a function when a

Re: [PHP] best php editor

2001-07-27 Thread elias
Then you must be one of the 3% who voted Bad at cnet.com ;) Martin Marconcini [EMAIL PROTECTED] wrote in message 001401c11673$9b2926a0$[EMAIL PROTECTED]">news:001401c11673$9b2926a0$[EMAIL PROTECTED]... languages. It is called HTML-kit! I absolutely love it and felt I had to share that love

[PHP] Re: best php editor

2001-07-27 Thread elias
It is free. How it's for free? and what's than then: http://www.chami.com/html-kit/register/ Daniel Goldin ) [EMAIL PROTECTED] wrote in message 000601c1166a$9602e0c0$033a22c7@daniel">news:000601c1166a$9602e0c0$033a22c7@daniel... Recently there's been a thread about what editor is best for PHP.

[PHP] Re: Global Variables - Local Scope

2001-07-27 Thread elias
$varname = hi!; function read_global() { $varname = $GLOBLS[varname]; } [EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I read in all of the global variables and give them local scope? PLEASE HELP ME. -- PHP General Mailing List

[PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread elias
Hi! I want to have to fields, first field is the primary key and is called 'id' and is an integer, and i want another field of type integer to be also autoincremented... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: Avoiding repost

2001-07-26 Thread elias
I remember seeing a solution for this on PHPBuilder.com plz check it out Ashley M. Kirchner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a card system that will ask for the required information, and one hits a 'Send' button to send the card. This

[PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread elias
Hi. Usually, Any AUTO_INCREMENT field in MySql table will have always an incrementing value. Now Suppose I emptied the table and then inserted one record, why not this record LAST_INSERT_ID is not '1' or '0' and why it is the lastid+1 before I empty the table? Can't I reset that pointer w/

[PHP] Re: Install

2001-07-26 Thread elias
www.activestate.com (Perl) www.editplus.com (good editor for programming) Roman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello ! I want to install perl under apache in windows, please send me some information how can i install, where I find perl

Re: [PHP] MySql number/string comparing ideas...

2001-07-25 Thread elias
ROTECTED]... I would use something like this: Select * from table where value1 500 AND value2 100 hope this helps, brad From: elias [EMAIL PROTECTED] Date: Fri, 13 Jul 2001 07:06:26 -0700 To: [EMAIL PROTECTED] Subject: [PHP] MySql number/string comparing ideas... Hi! How is it

Re: [PHP] MySql number/string comparing ideas...

2001-07-25 Thread elias
Thank you Brad and Lawrence. I have agreed to only allow numerical input on this specific field. And make a new one that allows X and Y ... Thanks again. Brad Wright [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... elias, I would have to agree with

[PHP] Re: removing lines from array

2001-07-23 Thread elias
, $lines, strlen($lines)); fclose($fp); . . //should work //elias Richard Kurth [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I an trying to figure out how to remove lines from a text file from within an array. I fill the array with this $reco

[PHP] Re: HTTP Authentication and PHP

2001-07-23 Thread elias
Try this when you want to logout: ? header( 'WWW-Authenticate: Basic realm=Private'); header( 'HTTP/1.0 401 Unauthorized' ); ? //elias Jason Rennie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I've been playing around with PHP authentica

[PHP] Re: a goog whatever you want editor

2001-07-19 Thread elias
As we already run into this sort of discussions...here's my opinion again: http://www.editplus.com Fast, light, and powerfull! I use it to edit all my files! even my assembly projects! Aniceto Lopez [EMAIL PROTECTED] wrote in message

[PHP] Re: Loading values from a select tag

2001-07-19 Thread elias
select name=my_select multiselect ... /select then php would read as: ? for ($i=0;$icount($my_select);$i++) { echo Value$i={$my_select[$i]}br; } ? Mauricio T?Llez Jim?Nez [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I want to print all the text

[PHP] Re: Editing Files Using POST Forms

2001-07-19 Thread elias
try stripcslashes() Rca Web Development [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have created a php page that accepts a variable called $file using GET. It then displays this in a textarea box. You can then edit the file and click a button to save it

[PHP] Re: screen

2001-07-19 Thread elias
you can clear w/ refreshing! just do it via javascript as: script document.open(); document.close(); /script Jeremy Morano [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... is there any refresh or clear screen function in php? -- PHP General Mailing List

[PHP] Re: Cannot copy a file to a dynamic folder

2001-07-18 Thread elias
Hi! when you use the \ character in a string you have to escape it by putting \\ instead of one! $default_dir = (D:\www\Proj\$textfield2\); would become: $default_dir = D:\\www\\Proj\\$textfield2\\; do the same for the $filename variable. Vincent Chew [EMAIL PROTECTED] wrote in message

[PHP] Re: Force new page in browser and wait commands

2001-07-18 Thread elias
a simple example: ?php if (isset($submit)) { // process something here with all form's variable //example: echo !-- This page is created for $username --; } ? html headtitletest!/title/head body form name:input type=text name=usernamebr input type=submit name=submit /body /html In this

[PHP] Re: How make the time

2001-07-18 Thread elias
select count(*) from test1 where MINUTE(tm1) = 15 and MINUTE(tm1) = 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how many customers where surfed at that time where 30-15=interval and 12 is the hour you're checking in!

[PHP] Re: How make the time

2001-07-18 Thread elias
select count(*) from test1 where MINUTE(tm1) = 15 and MINUTE(tm1) = 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how many customers where surfed at that time where 30-15=interval and 12 is the hour you're checking in!

[PHP] Re: Command line args HELP!!!

2001-07-18 Thread elias
argv Array of arguments passed to the script. When the script is run on the command line, this gives C-style access to the command line parameters. When called via the GET method, this will contain the query string. argc Contains the number of command line parameters passed to the script (if

[PHP] How can i pop my mails?

2001-07-18 Thread elias
Hi Using PHP, how can i check my mail and dump it to a text file? As if email2text ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: variables.

2001-07-17 Thread elias
Hmm... It seems that you're variables are beeing reposted upon each page reload. yes, some code might help. Johan Vikerskog [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . ok, i still am a newbie to this and therefor ill ask this silly question. I have made a

[PHP] Re: Output (Urgent!)

2001-07-17 Thread elias
Well, Yes... you have to stick to JavaScript + JavaScript and not JavaScript + PHP! You can let PHP talk w/ JavaScript and not the reverse! SCRIPT LANGUAGE=JavaScript type=text if (screen.width = 1024) { var resolution = 1024; } else { var resolution = 800; }

[PHP] Re: Known bugs with HTTP upload on Windows NT?

2001-07-17 Thread elias
Hmm... do you have write access on that directory? IUSR_xxx and IWAM_ users must be appropriate writes on that folder... Adam Whitehead [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All- I'm having trouble with a simple script that allows HTTP upload.

[PHP] the triple equal sign?

2001-07-16 Thread elias
What is the '===' ? Please give me an example. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Credit Card script that really works...

2001-07-13 Thread elias
Go to http://www.webberdev.com and search for a credit card script! I found one that is very good! and I'm using it. Dhaval Desai [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! Well I jsut downloaded the credit card script from this website:

[PHP] Re: Popquiz...

2001-07-12 Thread elias
How you mean *in it's original form* ? Lasse [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ..Or call it a riddle.. Whatever... :-) What did the following code look like in it's original form? function bitdef($prefix, $name, $bitnum) {

[PHP] Re: Averaging columns in two tables?

2001-07-12 Thread elias
try, $result = mysql_query(select avg(tbl1.age) as avg1, avg(tbl2.age) as avg2 from tbl1, tbl2); $r = mysql_fetch_array($result); $avg = ($r[avg1] + $r[avg2]) / 2; Jeff Lewis [EMAIL PROTECTED] wrote in message

[PHP] Re: Question

2001-07-12 Thread elias
see eregi() James W Greene [EMAIL PROTECTED] wrote in message 032f01c109fd$53ad0b70$0cfb94d0@calcutta">news:032f01c109fd$53ad0b70$0cfb94d0@calcutta... Hi All, I have an e-mail message stored in the var $message How can I grep for say the From lines and such in $message using PHP. I

[PHP] Re: time compare in my sql

2001-07-12 Thread elias
try this: select * from table where TIME(time_field) = 12 Jack [EMAIL PROTECTED] wrote in message 060101c10b0d$cd941940$[EMAIL PROTECTED]">news:060101c10b0d$cd941940$[EMAIL PROTECTED]... Hi folks I have a filed in data type time , how would I compare the value submited from the form with the

[PHP] Re: Silly table and php question.

2001-07-12 Thread elias
You can also do as: img src=checkonline.php and create a file: checkonline.php ? // make some tests to determine if user is online if ($online_condition) { Header(Location: ../images/online.gif); } else { Header(Location: ../images/offline.gif); } exit(); ? Good luck, Johan Vikerskog

[PHP] Re: Login system

2001-07-12 Thread elias
I can suggest Session Variables instead of cookies, Try http://www.zend.com / Tutorial Section there, about Authorization and Session Variables, Kristjan Kanarik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear list, I'm sorry to bother (or sorry for being

[PHP] Re: Using PHP Variables with a Header

2001-07-12 Thread elias
=red?=$errmsg?/font ? } ? *Name: input type=text name=fname value=?=isset($fname) ? $fname : ? br input type=submit name=submit /form /body /html //Elias Michael Conley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a form that requires a user to enter

[PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread elias
Maybe what you say about smallest refeerer length is true... but why don't you check via regexps the validity of the REFEERER format only if it was set? InéRcia Sensorial [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible? I am writing a

[PHP] Re: form action problem

2001-07-10 Thread elias
hmmdo again as: ? function functionA() { // your function goes here } if (isset($usefunctiona)) { functionA(); } ? html body form name=form1 method=post action=?=$PHP_SELF? input type=submit name=usefunctiona value=Use functionA /form /body /html //elias

[PHP] Re: Code Examples for Job Interview

2001-07-10 Thread elias
I invite you to the OzoneAsylum (Forum) where you can have tens of comments and really helpfull ideas http://www.ozoneasylum.com Jcampbell [EMAIL PROTECTED] wrote in message 001e01c108c2$9da68c60$779fadac@dhcpserver">news:001e01c108c2$9da68c60$779fadac@dhcpserver... Hey Everyone. This

[PHP] Re: Store uploaded files in MySQL-BLOB

2001-07-10 Thread elias
Tom, First, I suggest using LONGBLOB as a field... Second, Once the $userfile is uploaded...use the statment as: $query = INSERT INTO ... (file) VALUES ( LOAD_FILE($userfile)); using the MySql's LOAD_FILE() Tom Gitzinger [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: http header

2001-07-10 Thread elias
It's called HTTP_REFERER PHP document: HTTP_REFERER The address of the page (if any) which referred the browser to the current page. This is set by the user's browser; not all browsers will set this. Jack [EMAIL PROTECTED] wrote in message 05c201c1098e$ee947fc0$[EMAIL

[PHP] Re: exec(), system() and

2001-07-10 Thread elias
Hmm... why don't try to use eval() read the PHP file from within your PHP script and eval the read file, Siva Subraj [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear list, I have a strange problem with the weird behaviour of exec() or system() When I

[PHP] Re: form action problem

2001-07-10 Thread elias
Adam, It's really better to use the isset() instead of empty() because if you set the error level report to E_ALL you will see that PHP will produce warnings if the variable is not set at all! Adam [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hmmdo again

[PHP] Re: Thumbnail code that will do an entire directory at once

2001-07-10 Thread elias
Great work scot! Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i wrote a little subroutine to make a directory full of images into thumbnails... it'll make thumbnail images of a specified height and width and properly resize the original image to

[PHP] Re: how do i remove the first 3 characters from a variable?

2001-07-09 Thread elias
substr($variable, 0, 3); Doron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 10x -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] PHP and Windows XP

2001-06-28 Thread elias
Why not? if it works with WinME and PWS, I suppose it will with XP too. Please try it and report what happens please. Jochen Kaechelin [EMAIL PROTECTED] wrote in message NFBBLHGFAKNLFNPOHMPHKEKEDEAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHKEKEDEAA.jk@intern... Will PHP run under Windows XP? --

Re: [PHP] Pricing Advice Needed

2001-06-28 Thread elias
It all depends on your experience and knowledge. You know that if you're too experienced you can save lots of research and learning time. therefore you have to estimate how much does your hour cost and how much are you able to do. you can start by $20/hour... Alva Chew [EMAIL PROTECTED]

[PHP] EMAIL to FAX

2001-06-28 Thread elias
Hi! Is there is any code or class written already that allow PHP to send emails to fax machines? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

  1   2   3   >