[PHP] Caller's __LINE__

2001-02-28 Thread elias
Hello. I want to make a small function that sends a debug message: function debuginfo($msg) { echo"the message is $msg, at line" . __LINE__ . " "; } in my code: line 1 line 2 line x: debuginfo("hello!!!"); is there is anyway to show the caller's line number? in this case 'x' ? --

[PHP] Caller's __LINE__

2001-02-28 Thread elias
Hello. I want to make a small function that sends a debug message: function debuginfo($msg) { echo"the message is $msg, at line" . __LINE__ . " "; } in my code: line 1 line 2 line x: debuginfo("hello!!!"); is there is anyway to show the caller's line number? in this case 'x' ? --

Re: [PHP] ZOPE PHP

2001-04-17 Thread elias
what is ZOPE? can you give me a URL about it? -elias ""Romulo Roberto Pereira"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! > > Any comments in PHP for Zope? I don't know much thought... Some people

Re: [PHP] image-resize/convert

2001-04-19 Thread elias
s yes, you can do that, i wrote bunch of scripts that does that for you. Whenever you need them mail me although they will be on my page soon. -elias http://www.kameelah.org/eassoft ""De Bodemschat"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">new

Re: [PHP] array_count_values

2001-04-19 Thread elias
dunno, what doesn't work exactly but what if you try: $array = split ("\n", $contents); $stuff = array_count_values ($array); echo $stuff["nuts"]; -elias http://www.kameelah.org/eassoft ""Matthew Luchak"" <[EMAIL PROTECTED]> wrote in messag

[PHP] IP address enconding

2001-04-19 Thread elias
to a string? or i have to code it myself? -elias http://www.kameelah.org/eassoft -- 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] Newbie Help!! Please Look!

2001-04-19 Thread elias
Want my advise? go to www.editplus.com and download that lovely editor! PHP syntax highlighting+ HTML+JavaScript and even alot of other features, beside! it got an internal FTP uploading feature... -elias http://www.kameelah.org/eassoft "Tony Daniels" <[EMAIL PROTECTED]>

Re: [PHP] Characters counting

2001-04-19 Thread elias
You can use MySql's LEFT() or even substring() example: SELECT substring(address,1, 20) as _addr FROM tablename and you will have to look for field "_addr" in mysql results. -elias http://www.kameelah.org/eassoft ""Jorn van Eck"" <[EMAIL PROTECTE

Re: [PHP] IP address enconding

2001-04-19 Thread elias
No! I can encode IP address to an Integer: 192.168.0.1 consider as: a.b.c.d and now the formula goes: a shl 24 + b shl 16 + c shl 8 + d but i was looking for something ready made -elias http://www.kameelah.org/eassoft ""Knut H. Hassel Nielsen"" <[EMAIL PROTECTED]&g

Re: [PHP] IP address enconding

2001-04-19 Thread elias
code IP address to an Integer: > > 192.168.0.1 consider as: a.b.c.d > > and now the formula goes: > > a shl 24 + b shl 16 + c shl 8 + d > > > > but i was looking for something ready made > > > > -elias > > http://www.kameelah.org/eassoft > >

Re: [PHP] Regular Expressions?

2001-04-19 Thread elias
It seems good to me except there is an unbalanced '('... -elias http://www.kameelah.org/eassoft ""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message 9boi65$ipb$[EMAIL PROTECTED]">news:9boi65$ipb$[EMAIL PROTECTED]... > I'm looking to

Re: [PHP] Credit Card Class...how do u access?

2001-04-20 Thread elias
do like: if (credit_card::validate("123412341234")) { // yes correct... } else { // no not correct.. } I believe this class is from WeberDev and I believe it comes with lots of comments showing how it works... -elias http://www.kameelah.org/eassoft "Dhaval Desai&quo

Re: [PHP] Where can I get php_msql.dll?

2001-04-22 Thread elias
try: www.php4win.de -elias http://eassoft.cjb.net ""Shan GAO"" <[EMAIL PROTECTED]> wrote in message 002501c0ca82$116784d0$579a86cb@shans">news:002501c0ca82$116784d0$579a86cb@shans... Can anybody tell me where I can get extension for MINI sql -- php_msq

[PHP] MySql / sql help plz!

2001-04-23 Thread elias
..but i'm not really good at SQL. -elias http://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] if... then... else with HTML

2001-04-23 Thread elias
yes, consider this: your name is name is not set! -elias http://eassoft.cjb.net "Martin Thoma" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello ! > > I want to do something like > > if (condition) >

[PHP] what is better? mysql_connect() or mysql_pconnect()?

2001-04-24 Thread elias
lots of user tries to connect to the DB? -elias http://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] Standalone Browser with PHP and/CGI

2001-04-24 Thread elias
Don't really... know...why don't you try PWS+PHP4 for windows? it will take up like max 50MB on the CDrom and it's easy installable... -elias http://eassoft.cjb.net "John Monfort" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

Re: [PHP] PHP accessing the COM port?

2001-04-24 Thread elias
> Warning: fopen("COM1:","r+") - Permission denied in c:\web\test.php on line why 'COM1:' and not 'COM1' ? -elias http://eassoft.cjb.net <[EMAIL PROTECTED]> wrote in message 9c3q7s$lu3$[EMAIL PROTECTED]">news:9c3q7s$lu3$[EMAIL PROTEC

Re: [PHP] unable to parse php

2001-04-24 Thread elias
you're trying to include test.php w/o specifiying it's correct location in your other PHP script. that's how it looks from here... -elias http://eassoft.cjb.net <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Anyone able

[PHP] payment verification...

2001-04-25 Thread elias
tion issue All hints would be appriciated. -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] payment verification...

2001-04-25 Thread elias
thank you. ""B. van Ouwerkerk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >hello, i'm building an online payment form > >the only thing is that i can't rely on the MOD10 CC validation algo... > >any one knows any company that provides CC validation

Re: [PHP] win32 dll

2001-04-25 Thread elias
not that i know...but if you can code an extension that have functions to call Win32 dlls than you solved it... I also care to know if what you asked for have a direct solution... -elias http://www.hostrix.com ""Patrick Lai"" <[EMAIL PROTECTED]> wrote in message 9

[PHP] why isn't get_browser() not working?

2001-04-30 Thread elias
hello. i'm trying to detect what browser version is there...i'm using get_browser() as it was documented: $t = get_browser(); var_dump($t); and all i can get like output is: bool(false) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] backends

2001-04-30 Thread elias
hmm? you want our own scripts? you want to run some sort of script repository ? anyway, you can always check my site from time to time for new scripts... -elias http://eassoft.cjb.net ""chris herring"" <[EMAIL PROTECTED]> wrote in message 002701c0d157$0883f700$26

Re: [PHP] Loading PHP module on Win98

2001-04-30 Thread elias
Dunno, it sounds silly, but just assuming... Does it happen that you know "Micheal Driscoll"? He works for Land Rover UK? ""Phil Driscoll"" <[EMAIL PROTECTED]> wrote in message 008001c0d153$debbbc30$0c01a8c0@philsntserver">news:008001c0d153$debbbc30$0c01a8c0@philsntserver... > The dbase module yo

[PHP] Weird error...

2001-05-02 Thread elias
t replaced with another double-quote. Can any one tell me what's wrong? and how can i overcome this problem? thanks. -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: [EMAI

Re: [PHP] turning on error reporting

2001-05-02 Thread elias
in php.ini, this session ;; ; Error handling and logging ; ;; key name is "error_reporting", set it to E_ALL while developing... -elias http://eassoft.cjb.net "BigVeggie" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] Hosts.

2001-05-02 Thread elias
I'm not sure if www.f2s.com offer Perl5+ but it does offer MySql and Cgi and PHP i guess. -elias http://eassoft.cjb.net "David Bruce" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > My host is Windows 98, Xitami and unst

Re: [PHP] Random number generation...

2001-05-02 Thread elias
example, use rand (5, 15). Remember to seed the random number generator before use with srand(). -elias http://eassoft.cjb.net <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi there, > A potentially dumb question here. > > I

[PHP] $hello ?

2001-05-02 Thread elias
r; $text = $temp; none of the method assigns the value "i say: hello world" to $text they both still parse $text to "i say: $hello" How can i solve this, I know it's silly,...but i surrender at the moment... -elias http://eassoft.cjb.net -- PHP General Maili

Re: [PHP] $hello ?

2001-05-02 Thread elias
sorry, in method 1 i meant: eval() instead of echo() ""elias"" <[EMAIL PROTECTED]> wrote in message 9cp0io$uuf$[EMAIL PROTECTED]">news:9cp0io$uuf$[EMAIL PROTECTED]... > hello, > > i got myfile.txt saying: > i say: $hello > > now i write

Re: [PHP] Help needed with multiple select form element and PHP !

2001-05-02 Thread elias
selectobj = f1.elements[i]; } else alert(f1.elements[i].name); } alert('currently selected item:' + selectobj.options[selectobj.selectedIndex].text); //--> should help you out! -elias http://eassoft.cjb.net ""Nicolas Guilhot"" <[EMAIL PROTECT

Re: [PHP] How to catch the output of http:// -> text file?

2001-05-02 Thread elias
Never tried what i'll write you, but it should work though! for ($i=0;$i<2000;$i++) { $lines = join('', file(http://www.mysite.com/generator.php?id=$i)); // save $lines to a file. } -elias http://eassoft.cjb.net "Kraa de Simon" <[EMA

[PHP] how?

2001-05-02 Thread elias
nd i want ouput like: Key=test any idea? -elias http://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]

[PHP] Help plz!

2001-05-03 Thread elias
Hello, It's a little off-topic, but this is driving me crazy! For some weird reason my IE5.5/View Source command is not working! not on any page! it's just not working! I click on it and nothing happens! Any suggestions? -elias -- PHP General Mailing List (http://www.ph

Re: [PHP] Help plz!

2001-05-03 Thread elias
hmm take it easy! i ask whetever... and you reply if you can't and don't reply at all! PS. Nothing personal too! elias. ""Mattias Segerdahl"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Wrong pla

Re: [PHP] is there free php+mySql hosting?

2001-05-03 Thread elias
sure www.f2s.com -elias http://eassoft.cjb.net "Peter Stevens" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Can anyone tell me if you can get free php+mysql hosting anywhere? > > Many thanks and regards, &

Re: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread elias
fwrite($fp, $lines, strlen($lines)); fclose($fp); ?> if (myform.i.value > 1234) alert('reached max! script finished'); // stop submitting! else myform.submit(); // submit the form! by this you're giving each file a life time of 30secs max! meanwhile this

Re: [PHP] how?

2001-05-03 Thread elias
x27; instead of str_replace... i even tried the eval() which should work, but it didn't, scroll down to message with Subject: $hello -elias "Jason Stechschulte" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, May 03, 2001 at 10:12

Re: [PHP] textarea -- what happens to my new lines

2001-05-03 Thread elias
okay,...now that you showed some code... basically, when you input via all new lines are in the string like \n so to display them correctly in show.php do like: basically, in HTML the '\n' doesn't show you a new line, or else you can replace all the '\n&#

Re: [PHP] MD5 password

2001-05-03 Thread elias
Get Input password into $pwd Get hashed password from db into $hashed_pwd do compare like: if (md5($pwd) == $hashed_pwd) { // good! } ""Yamin Prabudy"" <[EMAIL PROTECTED]> wrote in message 004901c0d462$ff394240$[EMAIL PROTECTED]">news:004901c0d462$ff394240$[EMAIL PROTECTED]... > Hi there assume

Re: [PHP] Keyboard Hotkeys

2001-05-04 Thread elias
yes sure you can! you can with javascript do it! check www.javascript.com and search for keyboard-slider script! -elias www.eassoft.cjb.net "Chris Aitken" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey guys, > > Jus

Re: [PHP] how?

2001-05-04 Thread elias
Guys! Your solutions are great, and i though of that too! but what prevents what i'm thinking of to be done? Again, ...i have a .TXT file and not a PHP file and inside that .TXT file i have PHP variable names, like $myname, $hisemail I want like: $myname = "elias"; $his

Re: [PHP] Script invocation similar to ASP <%= %>

2001-05-04 Thread elias
I believe you just didn' try it: <%=$PAGE_TITLE%> ... -elias www.eassoft.cjb.net ""Bjoern Werkmann"" <[EMAIL PROTECTED]> wrote in message 9cuuc9$9av$[EMAIL PROTECTED]">news:9cuuc9$9av$[EMAIL PROTECTED]... > Hi there, > > pedantic

Re: [PHP] URL redirection

2001-05-07 Thread elias
location = "hello-world.htm"; can be used even if header is already sent! -elias www.eassoft.cjb.net "Jamie Saunders" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > Is there a PHP function that

Re: [PHP] Installing PHP 4.0.5 on win 2000 Professional

2001-05-07 Thread elias
Dear Feroz, Sure you can develop under Windows os using PHP. I'm currently running PHP+Win98+PWS and it rocks! no problems when putting on a *nix server. -elias www.eassoft.cjb.net If you ever done ASP coding then "Feroz Tapiya" <[EMAIL PROTECTED]> wrote in message [E

Re: [PHP] Cant add new Header

2001-05-07 Thread elias
you can always redirect via JavaScript: location = "newlocation.htm" -elias http://www.eassoft.cjb.net ""Andy"" <[EMAIL PROTECTED]> wrote in message 9cuqlv$dgt$[EMAIL PROTECTED]">news:9cuqlv$dgt$[EMAIL PROTECTED]... > Hello, > > I am a

Re: [PHP] ANN: Visual PHP Studio 1.0 Field Test 1

2001-05-07 Thread elias
Hello. Good work! Hope it beats DreamWeaver4+EditPlus2 -elias. "José León Serna" <[EMAIL PROTECTED]> wrote in message 002001c0d6e3$35f765a0$469610ac@JLeon">news:002001c0d6e3$35f765a0$469610ac@JLeon... > Hello: >I'm proud to announce Visual PHP S

Re: [PHP] HTTP authentication : logout!!!

2001-05-07 Thread elias
Never tried it though...but can you try to empty or unset the $PHP_AUTH_USER/PWD ? -elias http://www.eassoft.cjb.net ""Thomas Edison Jr."" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i'm using http authenticati

Re: [PHP] Large Memory Problem

2001-05-07 Thread elias
why don't get you get the static .CHM version? it's good and it's 1.2MB ? -elias http://www.eassoft.cjb.net "Natasha" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm not connected to the night very speedily

Re: [PHP] session_start ()

2001-05-08 Thread elias
t; so basically, register once and use 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].

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

Re: [PHP] Array in PHP and Javascript

2001-05-08 Thread elias
7;"; if ($i != $count - 1) echo ","; } ?>); // array statment closing that's an example... take a look at the 'rndimg' example using PHP & JavaScript... -elias http://ww.eassoft.cjb.net ""Reuben D Budiardja"" <[EMAIL

Re: [PHP] progession bar

2001-05-09 Thread elias
r too 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]...

Re: [PHP] multiselects and arrays

2001-05-10 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 ha

Re: [PHP] multiselects and arrays

2001-05-10 Thread elias
Here if you want, you can access the names with '[]' as: _sel1 = eval("document.myform.SEL1[]"); _sel1.itemIndex .. . . . -elias ""Max Vysotskiy"" <[EMAIL PROTECTED]> wrote in message 9deame$cj3$[EMAIL PROTECTED]">news:9deame$cj3$[EMAIL PR

[PHP] Site Search Engine

2001-05-11 Thread elias
Hello. I'm looking for a good Site Searching program or script.. I'm currently using http://WebGlimpse.org But it is looking inside my PHP files and showing their source! ie: i search for: echo "Hello" and WebGlimpse show search result as: http://www.eassoft.cjb.net -- PHP General Mailing L

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 pic

Re: [PHP] Multiple select forms on same page

2001-05-11 Thread elias
.html file: List box tests (multiple): Item1 Item2 Item3 Item4 .php file: while (list(, $value) = each($ListBox2) { echo $value; } -elias http://www.eassoft.cjb.net "Fates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] Site search engine suggestion.

2001-05-11 Thread elias
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

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

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

2001-05-14 Thread elias
m has been loaded, generate this script: document.mainform.combo1.selectedIndex = <?=$id?>; 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

Re: [PHP] Site search engine suggestion.

2001-05-14 Thread elias
where my site is hosted the mngo extension is not installed. Will it be a hassle to ask the hosters to install that extension? How can i download this extension myself? For Linux and for Win32? thanks. -elias "Philip Olson" <[EMAIL PROTECTED]> wrote in

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

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 -elias http://www.eassoft.cjb.net "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I

[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

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

2001-05-15 Thread elias
argh! consider these two files man! i think i even answered you from the first post,... test1.html New Document test2.html -- New Document this is test2 -elias http://www.eassoft.cjb.net "Dezider Góra" <[EM

[PHP] still not friends with RegExps..

2001-05-15 Thread elias
g_replace() or str_replace() or any string replace function? ("") Do i have to call it as many times as i got different replacments? -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] 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

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

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

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

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

Re: [PHP] include + path

2001-05-17 Thread elias
Easy, ... Use JavaScript or simple HTML... javascript: 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://www.eassoft.cjb.net ""Greg Wright"" <[EMAIL PROTECT

Re: [PHP] group comparision

2001-05-17 Thread elias
do the add job } elseif ($remove == "1") { // } 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" >

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

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread elias
you can also run like: php -q myfile.php -elias "midget2000x" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I apologize if this has already been covered...I can't seem to find it in the > archives... > > can PHP

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

2001-05-17 Thread elias
t > classes that emulate this behaviour at http://0x00.org/ or use shared memory > or a database. > > ""elias"" <[EMAIL PROTECTED]> wrote in message > 9e0aqb$8vv$[EMAIL PROTECTED]">news:9e0aqb$8vv$[EMAIL PROTECTED]... > >

Re: [PHP] a slight newbie question

2001-05-18 Thread elias
continue then like: while ($r = mysql_fetch_array($result)) { echo "title=$title, body=$body"; } -elias ""Johan Vikerskog (ECS)"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . > /* Search for the crite

[PHP] file()

2001-05-18 Thread elias
each element of the array "$a" a space is appended for an unknown reason! that's why my in_array() call returns "no" any ideas other than doing: $a = split(";", join('', file("myfile"))); or something? -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] javascript group

2001-05-18 Thread elias
Jacky! der Man die Frau and group: www.ozoneasylum.com -elias - Original Message - From: ""Jacky"" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Friday, May 18, 2001 12:30 AM Subject: [PHP] javascript group Hi people Does anyone outthere know any j

Re: [PHP] debugging problems

2001-05-18 Thread elias
You forgot to select the database! mysql_select_db($db_name); -elias http://www.eassoft.cjb.net ""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is a program i wrote to get some information at ke

Re: [PHP] Parse error..help!

2001-05-18 Thread elias
Were you a LISP programmer or something? ""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Here is another error i keep on getting, this is suppose to send me an email > each time someone enters in my website but i keep on gettong this error

[PHP] weird error!

2001-05-18 Thread elias
hello, i have my file which reads like: dir3/dir3-3/ dir2/ dir1/ s now when i run this script: $a = file("exclude_dir.txt"); $t = "dir3/dir3-3/"; $temp = in_array($t, $a) ? "yes" : "no"; echo "\$a="; var_dump($a); echo ""; echo "in_array(\$t=$t, \$a)=$temp"; i have this output:

Re: [PHP] Urgent:Mysql read only, please help?

2001-05-19 Thread elias
>and i login as root login where? you *nix machine? Else make sure that you connect to the MySql server as a user with enough privilige (read, write, update, delete...) -elias ""E K L"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PR

Re: [PHP] Life of environment variable set put putenv()

2001-05-19 Thread elias
never tried it though...but through my experience i would say: The Environment values that are set within a script can be seen only within child scripts (ie when script1.php spwans scrip2.php) -elias "Arcady Genkin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"&

Re: [PHP] file()

2001-05-21 Thread elias
yes true. 10x "Christian Reiniger" <[EMAIL PROTECTED]> wrote in message 01051912242605.00594@chrisbig">news:01051912242605.00594@chrisbig... On Saturday 19 May 2001 01:27, elias wrote: > hello, > > i have my file which reads like: > dir3/dir3-3/ > dir2/ &g

Re: [PHP] Checking an URL

2001-05-23 Thread elias
$url = "http://";. $HTTP_HOST. $REQUEST_URI; -elias http://www.eassoft.cjb.net ""YoBro"" <[EMAIL PROTECTED]> wrote in message 9efha5$9q2$[EMAIL PROTECTED]">news:9efha5$9q2$[EMAIL PROTECTED]... > Hello Everybody :-) > > I've been tr

[PHP] how can i get local script name?

2001-05-23 Thread elias
hello! I can use $PHP_SELF to get it's name. how can i get it's name and location on the hard drive? -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 adminis

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'

[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

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 s

[PHP] Post but not Post

2001-03-27 Thread elias
Hello. we all know that we can send variables to another PHP file via 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 tag, but w/o

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

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 .you file is here... // this will automatically submit and redirect! document.myform.submit(); If you don't want redirection to be aut

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 t

Re: [PHP] Caller's Line number?

2001-03-28 Thread elias
ed. So if > you want caller's line number > > function foo($line) { > echo 'Line number: '. $line; > } > > foo(__LINE__); > > You can get the caller's line number. (Line number of foo(__LINE__);) > > Regards, > -- > Yasuo Ohgaki > >

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 Doub

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

  1   2   3   >