Re: [PHP] try catch in php?

2001-03-22 Thread elias
Java have error handling like C and not C as Java, and Java is C like and so is PHP. ""Jason Cox"" [EMAIL PROTECTED] wrote in message 002501c0a06d$4ce48ce0$[EMAIL PROTECTED]">news:002501c0a06d$4ce48ce0$[EMAIL PROTECTED]... No, PHP doesn't have the extensive error handling that Java does. It's

[PHP] Caller's Line number?

2001-03-27 Thread elias
Hello, can i make a function that displays the __LINE__ of it's caller? ie: function show_caller_s_line() { echo "my caller's line is:" . __LINE__; } 1: blahblahblah 2: show_caller_s_line() 3: blahblah output should be: my caller's line is: 3 is that possible? than

Re: [PHP] New PHP-GTK Site

2001-03-27 Thread elias
What is PHP-GTK? Can you just write me a short list of what it can do? "Joe Stump" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I've noticed there isn't really a jumping off point for the PHP-GTK beginners and users. I spent the last few hours throwing a site

[PHP] Post but not Post

2001-03-27 Thread elias
Hello. we all know that we can send variables to another PHP file via form tag and with post method. now i wonder if i can send variables from a script to another like POST method but not using form tags. like my question is how can i transfer data from form to form like the POST of the form

[PHP] JavaScript and Submit

2001-03-27 Thread elias
)) { ... } elseif (isset($submit2)) { ... } but programmatically, how can i write a code that simulates the submit2 click, so the last check (i just wrote) can really say that submit2 was clicked and continues? Sorry for poor english, hope i expressed my idea as I'm asking... -elias -- PHP General

Re: [PHP] how can I set up session

2001-03-28 Thread elias
I don't think PHP3 support sessions variables. but if you want a tricky but working solution to pass variables from page to page try this: file1.php html .you file is here... form name="myform" method="post" action="file2.php" input type=hidden name="name" value="foo" /form script // this

Re: [PHP] MySQL Schema

2001-03-28 Thread elias
Hmmhow you mean schema? you can always list all databases then recurse into tables and fields and display them as however you want! see: mysql_list_dbs(), mysql_list_fields(), mysql_list_tables() [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Is there

Re: [PHP] Caller's Line number?

2001-03-28 Thread elias
ction foo($line) { echo 'Line number: '. $line; } foo(__LINE__); You can get the caller's line number. (Line number of foo(__LINE__);) Regards, -- Yasuo Ohgaki ""elias"" [EMAIL PROTECTED] wrote in message 99s17u$fd7$[EMAIL PROTECTED]">news:99s17u$fd7$[EMA

Re: [PHP] comparing dates works sometimes and fails another time!

2001-03-28 Thread elias
What are appropriate functions to do Date and Time comparison? like: Date difference Date Comparison? Adding 'n' days to current date string value, Removing 'n' month, etc. Where can i find the date integer enconding used in PHP? Like i know how it's done in Delphi (as stored as a

Re: [PHP] FTP without FTP module

2001-03-28 Thread elias
Maybe you can try implementing the RFC of the FTP. Using plain socket functions, reading, receivingwriting good luck. ""Mauro Biraghi"" [EMAIL PROTECTED] wrote in message 99se7u$906$[EMAIL PROTECTED]">news:99se7u$906$[EMAIL PROTECTED]... How can I do FTP without FTP module?

Re: [PHP] Post but not Post

2001-03-28 Thread elias
the posted variables is composed If any one can help I would appreciate that. -elias "Maxim Maletsky" [EMAIL PROTECTED] wrote in message DC017B079D81D411998C009027B7112A015ED021@EXC-TYO-01">news:DC017B079D81D411998C009027B7112A015ED021@EXC-TYO-01... no other way. Unless y

Re: [PHP] About php

2001-03-28 Thread elias
Please re-phrase, i might be able to help you. give me an example too. "vishak tomy" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have a doubt about multi select from drop down, if i set it as select name="number[]" then how could I check it

Re: [PHP] Active-X

2001-03-28 Thread elias
I think JavaScript can, / document.plugins property check it out. "AJDIN BRANDIC" [EMAIL PROTECTED] wrote in message Pine.OSF.3.91.1010328135544.29822A-10@leofric">news:Pine.OSF.3.91.1010328135544.29822A-10@leofric... Off topic but does anyone know how to detect if user/visitor has

Re: [PHP] php or phtml???

2001-03-28 Thread elias
Always use PHP, phtml are depreciated. ""Costas"" [EMAIL PROTECTED] wrote in message 99spad$qbq$[EMAIL PROTECTED]">news:99spad$qbq$[EMAIL PROTECTED]... when should i use .php and when should i use .phtml. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] JavaScript and Submit

2001-03-28 Thread elias
ibed) to create three hidden fields (submit1, submit2 and submit3) and assign a value to the one corresponding to the pushed button. RenzE elias wrote: Actually, when I want to submit a form programmatically i do myform.submit() but what if i got like 3 submit buttons and each one with

Re: [PHP] Is there way how to get line number from which function was called ???

2001-03-28 Thread elias
Thanks. That was an answer to my post with this subject: "[PHP] Caller's Line number?" Can you answer too my last question in that post? ""Neil Kimber"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... No. You could pass the constant __LINE__ to your function,

Re: [PHP] Active-X

2001-03-28 Thread elias
http://www.asphyxia.com/PHP_BD/PHPClientSniffer.phps try it, that's all i got... "AJDIN BRANDIC" [EMAIL PROTECTED] wrote in message Pine.OSF.3.91.1010328144458.29822C-10@leofric">news:Pine.OSF.3.91.1010328144458.29822C-10@leofric... Thanks Elias but have you got a url

Re: [PHP] Php extension for Ultradev available now !

2001-03-29 Thread elias
Nice post! ""Ovidiu EFTIMIE"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... For those working with ultradev : http://www.udzone.com/showDetail.asp?TypeId=4NewsId=488 Ovidiu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Displaying query results

2001-03-29 Thread elias
Dear Sir, Consider the following attached example. Hope it helps. Best regards, -Elias bachaalany. ""M. A. Ould-Beddi"" [EMAIL PROTECTED] wrote in message Pine.LNX.3.96.1010329091827.2931A-10@localhost">news:Pine.LNX.3.96.1010329091827.2931A-10@localhost...

Re: [PHP] split string value again

2001-03-29 Thread elias
try this snippet: ? if (ereg("[^@]+\$", "[EMAIL PROTECTED]", $result)) { $domain = $result[0]; echo $domain; } ? ""Jacky"" [EMAIL PROTECTED] wrote in message 009301c0b8a2$e856f6c0$[EMAIL PROTECTED]">news:009301c0b8a2$e856f6c0$[EMAIL PROTECTED]... Hi again have to try again after I

Re: [PHP] regex help...again

2001-03-29 Thread elias
It's a lame way, but it works, I sure hope that someone can tell me how to do it in pure regexp. like how can i 'search for next occurence' in ereg or any regexp() in PHP - ? $str = "14```value```value2`value3``hehe!``hohoho"; while ( ereg("[^`]+", $str, $result) ) { $match =

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread elias
("asdad", "adasd", "123123", "6adas f g"); echo ($s = serialize($a)) . "br"; // you can session_register($s) unset($a); // in file2 you can retrieve $s and make $a back again: $a = unserialize($s); var_dump($a); - -elias ""

Re: [PHP] Problem in retreving values from more than one multi select in form

2001-03-30 Thread elias
Hi. as you defined the select tag of yours i see that you didn't specify the extra parameter: 'multiple', as: select name="mselect[]" multiple as for reading it's values, as you showed should work. -elias "Vishak Tomy" [EMAIL PROTECTED] wrote in message [EMAIL PRO

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread elias
Hmm, I believe if were he host there is no PHP support, you can't work it out. unless: http://www.zend.com/zend/products.php#encoder use the encoder, then try to run throught the Zend Optimizer... ""Marian Vasile"" [EMAIL PROTECTED] wrote in message 9a1cr4$5fr$[EMAIL

Re: [PHP] phpinfo unneeded

2001-03-30 Thread elias
' -elias ""juang"" [EMAIL PROTECTED] wrote in message 009301c0b8fc$5d6a2280$0c9fbe0a@asp">news:009301c0b8fc$5d6a2280$0c9fbe0a@asp... HI all, how to compile php without function phpinfo enalbe. so if user call phpinfo() it would be false/error. i would like to build a fr

Re: [PHP] Maintaining state

2001-03-30 Thread elias
Why don't you use session variables? ""David Hynes"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What is the best method for tracking a user through a website ? I want to assign a username to a user which I can call up at anytime. Should I use htaccess

Re: [PHP] regex help...again

2001-03-30 Thread elias
So as you seem to be good with regexps, can you tell me how i can write a code that will search for next occurence in a string? where pattern is a regexp and a string is long and ofcourse there will be lots of pattern matchs in it...? thanks "Christian Reiniger" [EMAIL PROTECTED] wrote in

Re: [PHP] HTML link to php

2001-03-30 Thread elias
Hmm, because the .php file that is referenced from the .html file is like: file://c:\myfile.php ? i mean maybe it's beeing accessed as if a normal file beeing browsed and not a php file that is beeing referenced via the web server.. "moud mohamed" [EMAIL PROTECTED] wrote in message

Re: [PHP] Case?

2001-03-30 Thread elias
You must be moving from Pascal alike coding to PHP ;) "acleave" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have tried the online documentation and it either errors out on me or cannot find anything when I search on case. Can someone tell me if PHP

Re: [PHP] Catagory list

2001-03-30 Thread elias
please try this: - I didn't really get what you mean, but i can see that you have a table such: Table fields: category, fieldx, fieldy, fieldz, title and you want to display it's data as: category 1 title1 (belonging to cat1) title2 (...) title3 () title4 (...) cat2 titlex

Re: [PHP] version????

2001-03-30 Thread elias
as for the pl{x} notation, i ask what is the rc{x} notation ? ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a04gk$116$[EMAIL PROTECTED]">news:9a04gk$116$[EMAIL PROTECTED]... Hi! Can anyone tell me what the difference with those PHP version? I see the version, "PHP 4.0.4pl1"

Re: [PHP] How do I disable show_source and highlight file?

2001-03-30 Thread elias
Hi, are you using PHP for windows? well, i know that there is a key in the php.ini: disable_functions=; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated list of function names. ; This directive is *NOT* affected by whether ; Safe

Re: [PHP] Good Free PHP Editor - And it's not Edit Plus!

2001-03-30 Thread elias
btw, since when EditPlus was for free? ""James Crowley"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear All, Given the recent discussion regarding a PHP editor, I thought you would like to know that VB Web Development have finally released Developers Pad

Re: [PHP] $PHP_SELF

2001-03-31 Thread elias
please try this: pre ? /* Tells whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables. You may want to turn this off if you don't want to clutter your scripts' global scope with user data. This makes the most sense when coupled with

[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
Yes, But I still want to know if any Text Database class exist... Henrik Hansen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [EMAIL PROTECTED] (Elias) wrote: 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 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

[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] Re: storing array in mysql

2001-07-31 Thread elias
and split it as: ? $name = split(,, $str); ? //elias Matthew Delmarter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I want to store the results of a multiple select input box in a mysql db. The box looks like this: select name='name[]'

[PHP] Re: Making graphs from within PHP?

2001-07-31 Thread elias
You can use the GD Image Library calls to draw a graph, http://www.php.net/manual/en/ref.image.php Dr. Evil [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a PHP application, and I need to display some dynamic data as a simple line graph (a gif or png).

[PHP] Re: textfile??????

2001-07-31 Thread elias
I tried it and it works good! Muhv [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Why this code will make empty line between each text line??? $linkFile='link.txt'; $links=file($linkFile); $fs=fopen($linkFile,'w+'); for ($i=0; $icount($links); $i++){

[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

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

[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: 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: WAHOO!!!

2001-08-13 Thread elias
Good work Kyle! Kyle Smith [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... My first WORKING SCRIPT!!! http://www.stupeedstudios.f2s.com/index.php -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

Re: [PHP] session_start ()

2001-05-08 Thread elias
session_start() to retreive whatever registered sessions! -elias http://www.eassoft.cjb.net shawn [EMAIL PROTECTED] wrote in message 003001bfb88d$d88bbfc0$[EMAIL PROTECTED]">news:003001bfb88d$d88bbfc0$[EMAIL PROTECTED]... When using session_start () over alot of pages, do i need to reregister the o

Re: [PHP] Need help with Database and variables

2001-05-08 Thread elias
Be more specific please, as you typed SELECT count(*) FROM ... as ... this should return one row and only one! that means you need to fetch that row and use it as a variable and not within a row... can you plz clarify your question? -elias http://www.eassoft.cjb.net Ryan W. Zajicek [EMAIL

Re: [PHP] Array in PHP and Javascript

2001-05-08 Thread elias
) echo ,; } ?); // array statment closing /script that's an example... take a look at the 'rndimg' example using PHP JavaScript... -elias http://ww.eassoft.cjb.net Reuben D Budiardja [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have a

Re: [PHP] progession bar

2001-05-09 Thread elias
before the form is loaded, and even in a seperat window controlled by your javascript! -elias http://www.eassoft.cjb.net Jacky [EMAIL PROTECTED] wrote in message 005301c0d89b$efb63480$[EMAIL PROTECTED]">news:005301c0d89b$efb63480$[EMAIL PROTECTED]... Hi all does anyone know how

Re: [PHP] multiselects and arrays

2001-05-11 Thread elias
How can i access names with '[]' w/o eval() or seeking in form's element? -elias Rouvas Stathis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Actually, you *can* use brackets ([]) in names and javascript can handle them just fine. -Stathis. Max V

[PHP] Site Search Engine

2001-05-11 Thread elias
in PHP rather in whatever WebGlimpse is written in... -elias http://www.eassoft.cjb.net -- 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]

Re: [PHP] Posted earlier no reply

2001-05-11 Thread elias
Hi, It would be my pleasure to help! but can you please lessen your source code and give code+question same time in a short way? Adrian D'Costa [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I am trying to write a php and javascript that will pick up data

Re: [PHP] Multiple select forms on same page

2001-05-11 Thread elias
.html file: List box tests (multiple):br SELECT NAME=ListBox2[] MULTIPLE OPTIONItem1/OPTION OPTIONItem2/OPTION OPTIONItem3/OPTION OPTIONItem4/OPTION /SELECT .php file: while (list(, $value) = each($ListBox2) { echo $value; } -elias http://www.eassoft.cjb.net Fates [EMAIL PROTECTED

[PHP] Site search engine suggestion.

2001-05-12 Thread elias
of the PHP files! So for example if i search echo , WebGlimpse displays the .PHP file source code! Any suggestion for a better site search program? -elias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] writing updateable code

2001-05-13 Thread elias
files lists and update the hoster (by copying new files from your server to their server) You can make whatever you want! I mean by the Hoster (The one who's hosting your script, let's say the update.php) -elias http://www.eassoft.cjb.net Scott Mebberson [EMAIL PROTECTED] wrote in message 9dnr1o$gv5

Re: [PHP] How to change value of input on form from iframe?

2001-05-14 Thread elias
been loaded, generate this script: script document.mainform.combo1.selectedIndex = ?=$id?; /script This was an example Hope i help a little. -elias Dezider Góra [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm having a big problem. I've creat

Re: [PHP] Needing help hear

2001-05-15 Thread elias
sure it won't like that! patch the while{} body and make it look like: $recipient .= $myrow[email] . ,; but better initialize the $recipient to before the while loop and after the while loop do remove the last trailing , -elias http://www.eassoft.cjb.net Richard Kurth [EMAIL PROTECTED

Re: [PHP] Multiple ASP 2 PHP conversion

2001-05-15 Thread elias
yes, almost same for MS platforms with batch files: converall.bat: for %%a in (*.php;*.php3) DO asp2php %%a eof -elias http://www.eassoft.cjb.net Brandon Orther [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I found asp2php to be a great too

[PHP] This newsgroup

2001-05-15 Thread elias
Just wondering... That the first newsgroup i ever joinedand I noticed that it hold almost 100,000 message w/o deleting old one and keeping new ones... How much can it hold? How much it's owner will allow it to hold messages? Just wondering again... ;) -elias -- PHP General Mailing List

Re: [PHP] Crypt is not supported in this build??? 4.0.5

2001-05-15 Thread elias
I guess you got the small package of PHP 4.0.5, you can go to www.php4win.de or www.php.net and download the php crypt extension and modifiy the php.ini to enabled it. -elias Brandon Orther [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello,

Re: [PHP] nested functions

2001-05-15 Thread elias
good question...I might need an answer when you get one. -elias Johannes Schmiderer [EMAIL PROTECTED] wrote in message 9ds7le$caa$[EMAIL PROTECTED]">news:9ds7le$caa$[EMAIL PROTECTED]... Is there no way to access the $x within the inner function: function outer() { $x = 50;

Re: [PHP] Deleting 1 file line

2001-05-16 Thread elias
() -Elias http://www.eassoft.cjb.net Tarrant Costelloe [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone know what the code is, if you wanted to specify a specific line in a file to delete and also to wipe clean the entire file? Thanks in advanc

[PHP] PHP for Win

2001-05-16 Thread elias
Any easy way to call Win32 API functions yet? -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]

Re: [PHP] Netscape problem with $PHP_SELF?do_something

2001-05-17 Thread elias
dunno...never had problems with phpself actually try $PHP_SELF instrad of $php_self... -elias Jaeggi David [EMAIL PROTECTED] wrote in message D1F288E2CBFAD411B5480008C7281B9908B23A@lnminf0a">news:D1F288E2CBFAD411B5480008C7281B9908B23A@lnminf0a... Hello everybody! I have a

Re: [PHP] Parse error with simple script

2001-05-17 Thread elias
hehe;) Mohamed LRHAZI [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi again, Ok, I wasnt that tired after all :) and had the belliant idea of loading my script in vi and lo and behold here is what I saw: $user| =| 'root' ; Nice, huh? This was generated

Re: [PHP] include + path

2001-05-17 Thread elias
Easy, ... Use JavaScript or simple HTML... javascript: script Language=JavaScript src=yousite/yourscripts/statcounter.php/script Now you've just been called from another server! Now from within your script you can get lots of informations like: $HTTP_REFERER ... -elias http

Re: [PHP] group comparision

2001-05-17 Thread elias
) { // } elseif ($view == 1) { // } -elias [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i have a php script that has three variables that could be set to 1 depending on the values of a form being sent to the .php file. $add $remove $view i need to

[PHP] ASP's Application(asdf) = hello world

2001-05-17 Thread elias
Hello! What's the PHP equivalent to this: Application.Lock Application(key) = value; Application.UnLock -- 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   >