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' ?
--
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' ?
--
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
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
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
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]
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]>
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
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
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
>
>
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
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
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
..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]
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)
>
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]
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
> 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
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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,
&
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
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
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
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
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
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
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
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
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
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
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
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
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
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].
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
"&
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
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]...
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
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
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
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
.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]
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
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
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
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
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:/
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
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
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
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]
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
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:
&
()
-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
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]
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.
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
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
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"
>
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
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
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]...
> >
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
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]
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
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
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
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:
>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
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]"&
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
$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
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
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'
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
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
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
)) { ... }
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
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
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
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
>
>
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
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 - 100 of 274 matches
Mail list logo