idea to re-write them.
Thanks for helps!
Best regards,
Martin Lam
--
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]
ding a HTTP-Get with the
cookie. But I have no idea:
- How to use the socket
- How to send the GET
- How to send the Cookie
- How to recieve the data
Any help is welcome !
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
On my login page (index.php) I have at the top
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]
Adam wrote:
> try sending us the sample code. I use netscape 4 for testing and it seems
> to work just fine.
My whole project is based on inserting pieces of html. Works like a dream
in Netscape 4.75 Linux.
M.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
Richard wrote:
> Greetings.
>
> I have no problem writing an email client in PHP, which sends emails
> and
> such things. One thing only, can I check someones POP3, such as mine,
> through PHP? If so, what should be needed to complete it..? The server I
> am using is running Linux FreeBS
nal PHP Programming.".
However from what I saw in the book shop they cover lots of the same
ground. I (and my employer) wouldn't like to pay for the same stuff again.
Is there a significant difference between the two?
Martin S.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I'm trying to edit the specific item for each row found in the snippet
below. Each item gets a row in a table and I want to pass the item Id (s_id
below) to $item. It seems however that the array *item * is not
incrementing. For all rows I get the value of the first row.
Any ideas of what wron
I'm blind!!
Whats wrong here? $besk has a value at one place but not in another?
Jeez
M.
$besk=$row1[0];
print "beskr $besk"; <-- prints value of $besk
print ""; <-- works
print " "; <-- DOES NOT PRINT A THING!!
print " "; <-- works
print " "; <--works
[EMAIL PROTECTED] wrote:
> You're missing a single quote after the value of MAXLENGTH on the line
> that's not working... Maybe that's the problem.
>
Yes!!
Thanks! I thought I was going crazy.
Martin S.
--
PHP General Mailing List (http://www.php.net/)
To uns
how can i convert the charset in an e-mail from ascii or any iso-standard,
to the unicode-standard, so the webmail can be used outside english-speaking
areas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
documentation:
string imap_fetchbody (int imap_stream, int msg_number, string part_number)
what is the different part_numbers i should and could use?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
documentation:
string imap_fetchbody (int imap_stream, int msg_number, string part_number)
what is the different part_numbers i should and could use?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
documentasion:
string imap_fetchbody (int imap_stream, int msg_number, string part_number
[, flags flags])
how can i exploit the different part_numbers??? what do hey stand for?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
is there any function to convert the body of a e-mail-massege from mime like
you do with the imap_mime_header_decode() ???
--
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 administ
is there any function to convert the body of a e-mail-massege from mime like
you do with the imap_mime_header_decode() ???
--
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
#x27;t add the 31, 32 and 33 of April?
Martin S.
--
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]
, like this
(in a table, each record (row) has more data than the one given)
date=2001-04-10
date=2001-04-11
date=2001-04-12
This, if I'm mistaken can't be done with interval, at least not without
looping in PHP? And using two queries would not perhaps save as much code
as the way I solved i
>as
>integers and strings.
Sounds even easier. But what if I'm not doing an UPDATE but an INSERT? Can
it read the previous date? I am inserting a batch of bookings at one time.
Martin S.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
t;Y-m-d", mktime (0,0,0,$month, $day, $year)) . "";
for($i=1; $i<=9; $i++) {
$day++;
echo date ("Y-m-d", mktime (0,0,0,$month, $day, $year)) . "";
}
Cheers,
Martin S.
--
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 !
I want to do something like
if (condition)
output this html-block
else
output that html-block
Without printig or echoing the html-block out (because the block has a
lot of ", which I all would have to slash out...)
How can I do that ?
Martin
--
PHP General Mailing
Ah, I forgott the {} ;-)
You are using Internet Explorer
You are not using Internet Explorer
Martin Thoma schrieb:
> Hello !
>
> I want to do something like
>
> if (condition)
> output this html-block
> else
> output that html-block
>
> Without printig
Or better yet:
include( "$DOCUMENT_ROOT/includes/header.inc" );
Martin Gottlieb
-Original Message-
From: Renzi, Sebastian [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 10:56 AM
To: 'Jordan Elver'; PHP General Mailing List
Subject: RE: [PHP] Site Struct
duction servers, AND you can keep
your includes out of a web server accessible directory.
Martin Gottlieb
-Original Message-
From: Toby Miller [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 3:44 PM
To: indrek siitan
Cc: PHP General Mailing List
Subject: Re: [PHP] Site Structure
W
You probably need to go into the IIS console ( mmc ) and go to
properties on the directory in question and make sure either the
"execute" or "script" checkbox is checked. You may also need to
verify the actual file permissions, but I believe this is more of
a configur
}
?>
The thing is that if you simply hit "enter" - rather than click the
"submit" button, the first directive in the tag is invoked, and
the value of the $hello variable IS passed.
regards
Martin Cameron
}
If I call it from a script as
update_stuff(equipment);
I don't get any result (I want to page to automagically update it's
contents) while if I include the query lines after each edit case
it does update the page contents.
I'm missing something basic, but what?
Martin S.
--
J. Jones wrote:
> Forgive me for my ignorance, but I've noticed some unwanted behavior (IMO,
> at least) with the is_link() function. Given the simple code..
>
> if ( is_link ("/tmp/this_is_a_symlink") )
> print ("Success\n");
>
> and the file..
> lrwxrwxrwx 1 root root 5 Apr 23 21:19 /tmp/thi
Hi Rene
I think that I first used a submit button about html ver 2.0. I want to
use a button type - not submit.
regards
Martin
Rene Maldonado wrote:
> Hi I think it woulf be better this way:
>
> print " name = 'hello'>";
> print ""
is it possible to change the Content-Type and Content-Transfer-Encoding in a
mail you recieve??? this way you can convert mails written with html-codes,
sent from a mail-program that doesn't support it..
"Peter Houchin" <[EMAIL PROTECTED]> skrev i
meldingsnyheter:[EMAIL PROTECTED]
> have som
is it possible to change the Content-Type and Content-Transfer-Encoding in a
mail you recieve??? this way you can convert mails written with html-codes,
sent from a mail-program that doesn't support it..
"Peter Houchin" <[EMAIL PROTECTED]> skrev i
meldingsnyheter:[EMAIL PROTECTED]
> have so
is it possible to change the Content-Type and Content-Transfer-Encoding in a
mail you recieve??? this way you can convert mails written with html-codes,
sent from a mail-program that doesn't support it..
"Peter Houchin" <[EMAIL PROTECTED]> skrev i
meldingsnyheter:[EMAIL PROTECTED]
> have s
IS there a standard way of "auto-updateing" the contents of a page after a
databas insert or edit? Do a SELECT updates the contents I can update
tables I've noticed. Contents in select boxes (as in
while ($row = mysql_fetch_row($secquery_res)) {
print "$row[0]";
Carlos Fernando Scheidecker Antunes wrote:
> Hello all!
>
> I would like to know if anyone has or know any PHP code to verify if a
> form entered e-mail address is valid?
>
> I would like that things like 4$%^%$@@.com.br could not be sent. I only
> has to verify the syntax of it, the existance
s where?,
/usr/local/lib/php doesn't have one) or the cwd. I've tried editing the
sample file and putting it in either place but my app still gives me the
following error:
Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php')
in FILENAME
[EMAIL PROTECTED] wrote:
> On Fri, Apr 27, 2001 at 08:06:54PM +0200, Christian Reiniger wrote:
>> On Friday 27 April 2001 15:15, Johan Holst Nielsen wrote:
>> > > Hey everyone...
>> > >
>> > > I've been programming in perl for about 3 years now, i have installed
>> > > php and have been working o
llowing error:
>>
>> Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php')
>> in FILENAME
>>
>> Martin S.
>
>
> read INSTALL doc, they will told you
>
Found the litte line.
Thanks - too all who replied!
Martin S.
Going grey haired again. In this code only the first case is working
(adding stuff to tables). The second and third are producing - Warning:
Supplied argument is not a valid MySQL-Link resource in
/chroot/htdocs/diarium/settings.php on line 31 (which is $query_res /ms)
error:
I've even cop
Jimmy Lantz wrote:
>
> Hej, jag hade nog inte använt åäö i case men det är bara en vana, kanske
> du kan använda en dold variabel via html-formuläret istället och använda
> den i case satsen? Men det svarar ju inte på din fråga men lycka till.
> / iImmy
Fixat!
Problemet låg någon annanstans, vi
Altunergil, Oktay wrote:
> I was actually interested in the answer to this. I believe one can write
> in English if one can read English. (PS: It's not my first language
> either)
>
AS it was my question I'll answer.
He said that he was sceptical about using our accented character in code
and t
What's the best way of finding out if a specific array key is in an array?
I have an associative array which *may* look like
(car =>saab, house => mansion, countyW=> A) but can equally well look like
(boat => daycruiser, house => flat, county => B).
I want to find out if the key "car" is in the
Mark Charette wrote:
>
>> > What's the best way of finding out if a specific array key is in an
> array?
>> > I have an associative array which *may* look like
>> > (car =>saab, house => mansion, countyW=> A) but can equally well look
> like
>> >
>> > (boat => daycruiser, house => flat, county =
Is there some way of making PHP even more dynamic?
What I would like is that selecting a value from a box would
change some info on the page - without having to click a refresh button
or something like that.
Or do I have to resort to javascript for such things?
M.
--
PHP General Mailing Li
Hello everyone,
I am stumped with ImageColorTransparent and Netscape.
In Explorer, everything seems fine with this function, but in Netscape,
there is no effect whatsoever.
I am using ImagePNG with GD1.8 and PHP4.0.4. Is this another Netscape
limitation?
Tx,
Martin
--
PHP General Mailing
hone.ch/search.php?f=6
Without a form submission, the banner (on the right top of the page)
displays correctly. Try to submit the form, the image does not come :-(
Thank you for helping,
Estelle
--
Estelle Marti
Hi,
What do you think about the following configuration:
1) safe-mode on : this ensures that a php script can read only files that
are owned by the same Unix user on the machine; then just check that people
having a right to use php and mysql on your box have all a different
corresponding Unix use
("location://url?var1=value1?var2=value2") would work but not luck.
Could someone point me in the right direction please?
Thanks,
Dean Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
e var:
header("Location: http://something.foo.bar.com/page.extension?var1=etc";);
ex with 3 vars:
header("Location:
http://something.foo.bar.com/page.extension?var1=etc&var2=123&var3=abc";);
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]
Hello !
I just installed PHP 4.0.4pl1 over an existing PHP 4.0.1 on Win98 with
Apache. Alle works greate, but I get a lot of warnings:
Warning: Undefined variable: MyVariable in filename
The warnings weren't there in the earlier version. How can I turn of
these warnings ?
Regards
M
Whats the problem ? ;-)
Gunter Ohrner schrieb:
> Hi!
>
> I'm looking for some hints for the PHP ftp module as I have some problems
> using it - if anyone has experience in using the PHP ftp module it would be
> very cool someone could send me an email...
>
> Greetinx,
>
> Gunter Ohrner
>
> --
Thanx a lot, I found it in php.ini !
"Johnson, Kirk" schrieb:
> If you have access to php.ini, see the "Error handling and logging" section.
> Else, see http://www.php.net/manual/en/ref.errorfunc.php
>
> Kirk
>
> > -----Original Message-
> &
Hello !
I got a jpg-picture on my disk. Is there any way to find out the color
of a pixel (let's say, I want to know, which color the pixel 1,12 on
image img.jpg is.)
Ideas ?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
I have a multidimensional array being created by a form. Most fields are
pre-populated with a few that people can add to the list. There is a box
beside each row that they can check whether that item is in or not.
My code to list only the rows that were checked is this..
for ($j=1 ; $j=5; $j++
in a for-next-loop ?
Regards
Martin
--
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]
should equal 5 */
> ${"Name" . $i} = $default_value;
> }
>
> So if $n was 3 and $default_value was 0, you'd have three variables who's
> value was 0:
> $Name1
> $Name2
> $Name3
>
> Variable variables are the way to go. They're so cool :) I wonder if Java
stroy doesn't work, too.
What I want is, the PHP assigns MyId a new value.
Ideas ?
Martin
--
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]
there's the OCI* or ORA_* functions depending on the version of oracle
you're using.
-Original Message-
From: Phillip B. Bruce [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 10:54 AM
To: PHP
Subject: [PHP] Oracle
Hi,
Has any one on this list worked with Oracle, Apache a
Dear Edwin!
Yes, I have had this problem before ...
My problem was, that I a line in my style sheets, which
could not be solved by NS.
(I think it was "border?)
Yours,
Martin
>I'm developing a website for multiple browsers. In Netscape 4.xx (both
>Win98 and Linux ve
To design, you just need a text editor (or html editor)
Martin
At 13:24 02.01.02 +0200, Niklas Lampén wrote:
>To test your PHP scripts you do need a server with PHP. It's very easy
>to setup one on to you local machine + there is many completely free
>ones.
>
>
>Nikl
someone left this comment on the php site
-
[EMAIL PROTECTED] at 27-Dec-2000 09:37
It is important to note that this function acts more as a counter of the
number of rows fetched from the cursor. If you execute this prior to
processing the cursor
use:
extract($GLOBALS);
http://www.php.net/manual/en/function.extract.php
-Original Message-
From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Code not working in 4.1
I used to run PHP 4.0.3 and at the beg
This one's pretty good, IMO
but as for the "best" - hmm... that would be a matter of personal opinion...
:)
-Original Message-
From: Julie Hull [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Holy Moly...
Could someone please dire
convert both in dates into a time stamp using mktime()
subtract the two figures you get back
then divide by 86400 (60sec/min * 60min/hr * 24hr/day)
-Original Message-
From: Carlos Fernando Scheidecker Antunes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:57 PM
To: PHP-GE
This isn't to pick on Carlos, but I've notice there's heaps of ppl who don't
read the manual, or do a search on the manual - I've found that many of my
questions have been answered by doing a search on the docs
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Thu
something like:
If(in_array($ext, array("com", "net", "org", "info")){
//Then do this
}
If(in_array($ext, "com.uk", "me.uk", "org.uk")){
//Then do this
}
maybe??
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:22 PM
To: php-genera
>$service_type_insert = $x['${key}service_type']; //returns empty even
>though I know a value is there
change the single quotes to double, thusly:
$service_type_insert = $x["${key}service_type"];
'cause PHP is using the literal "${key}service_type" and not interpreting it
-Original Messag
I thought that if there's no "reply-to", then email clients will use the
"from" as the reply to ??
-Original Message-
From: Jimmy [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 3:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] no reply-to header?
Hi All,
I just
o do it in case
it crops up for me in the future sometime...
Martin
-Original Message-
From: Sander Peters [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 9:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] counting with dates (help!)
Hello,
This is my problem:
Your comment about not using dd/mm/yy or mm/dd/yy I totally agree with - I
use dd-Mon- format for my dates for that reason...
Martin
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 10:42 AM
To: Boget, Chris; 'Sander Peters'; [EMAIL PRO
on: attachment;
filename=\"$attach_name\"\n\n";
$msg_body .= "$encoded_attach\n";
as many times as there are attachments, obviously, using the next
attachment's content and type for $encoded_attach and $attach_type
and don't do:
$msg_body .= "--Mess
it's possible to pass a variable number of parameters to a function
$num = func_num_args();
for ($i = 1; $i < $num; $i++)
{
$arg = func_get_arg($i);
}
try looking at these...
-Original Message-
From: Chris Hall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 1:4
date("d M Y, H:i:s", $replyby);
-Original Message-
From: Necro [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 4:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Time
How can I make a variable which is the current time + 48 hrs??
I had $replyby = time() + 172800;
But that return
be okay - (btw, I haven't had experience
using mysql, but I'm assuming that it's sql is compatable with interbase and
oracle)
Hope that helps
Martin
-Original Message-
From: Brian Tully [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 8:59 AM
To: PHP DB; PHP
Su
t; so am I "count(*)"...
-Original Message-
From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 11:10 AM
To: Martin Towell; 'Brian Tully'; PHP DB; PHP
Subject: RE: [PHP] need help looping through each record with a query -
st umped
http://www.php.net/manual/en/function.setcookie.php
-Original Message-
From: Ryan Kelley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Delete on exit
Exactly how would i do that. I am new to cookies.
Please advise.
Ryan K
Jon Farmer wrote:
> I am getting a the follwing error:
>
> Warning: fopen("/home/jon/pgpfiles/sgsdgsdg","w") - Permission denied in
> /home/ethiorg/public_html/test.php on line 2
> the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and
> group is nobody. Apache runs under user
is this valid in PHP?? (haven't tried it myself yet...)
$tempsql = "SELECT COUNT(*) AS count
FROM divisions";
maybe it needs to be on one line???
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 8:39 AM
To: 'Erik Pric
change
for(i=0;imailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 10:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] global/local var in a function
Hi,
I have a little problem with a function. It calls him self and the var i is
lost! after the call!
can anybody help me?
(it's javascri
you'll be wanting "pointers"
eg
$Var_1_Stat = "hello world";
$Num = 1;
$var_name = "Var_${Num}_Stat"; // set up the actual var name
$Var_Call = $$var_name; // now reference the actual var
echo $Var_Call; // should by "hello world" ...
:)
-Original Message-
From:
does this work?? change
foreach ($this->children as $child) {
to
foreach ($this->children as &$child) {
-Original Message-
From: Ken Kinder [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Specific References Incident
I
have a look at:
http://www.php.net/manual/en/function.number-format.php
-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 11:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] New to list
Hello to you all!
I am new to this list and I have a question that
what about ?
ereg("(.*?)", $lineofhtml, $output);
-Original Message-
From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 3:05 PM
To: Jimmy
Cc: php-list
Subject: Re: [PHP] ereg
Nopes, dint work
Regards,
Kunal Jhunjhunwala
- Original Message -
From:
Arve Bersvendsen wrote:
> As a small, personal, "enjoy-myself"-project I'd like to run a
> perpetual-running socket server. Problem is; I also want it to be
> self-modifying so I can insert, remove and change functions as the
> server is running.
>
> The problem is; under normal circumstances
Austin Gonyou wrote:
> The real question I suppose is how could I parse this type
> of output into something I could use to make a graph.
>
> Example:
> 12:20:00 PM CPU %user %nice %system %idle
> 12:30:00 PM all 2.17 0.79 0.77 96.27
> Problem is I
Ken Kinder wrote:
> The $this->children attribute should be an array of (references to) objects.
> I think somehow in the foreach ($this->children as $child) the objects are
> being copied, as $child->validate(); seems not to effect the original objects.
Someone just said you can use
$a = &
Louie Miranda wrote:
> Hi, can php execute system commands
> like df, and then print it to html ?
`df`;
shell ("df");
exec ("df");
etc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
Hmm... I've been wondering if a function to do this exists too... would be
REALLY handing for debugging!!
Anyone know??
-Original Message-
From: Stefan Rusterholz [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 8:35 PM
To: PHP
Subject: [PHP] How to get a function backtrace?
I
you could try looking at http_referer or remote_host or something like that.
Never tried it myself, but sounds like it'd work... dunno what the values
for them would be though :(
-Original Message-
From: Dani [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 2:17 PM
To: PHP LIST
S
if (action == "list")
{
if (isset($clientcode)) // or just "if ($clientcode)" would work...
{
// extended listing here
}
else
{
// normal listing here
}
}
else if
-Original Message-
From: Necro [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 2:09 PM
To:
Stefan Rusterholz wrote:
> Im not sure if "function-backtrace" is the correct word for what I need, so I'll
>explain:
> If I have for example
What you are looking for is a "stacktrace", ie the stack of called
functions. Dunno if php has any support for it, but it is normally
used when debugg
Imar De Vries wrote:
> Imar De Vries wrote:
>
>
>>- Including remote files *is* possible. The php manual does not mention this
>>does not work, and when I add the variable to the call (include
>>/calculate_drivers?serie_id=3.php) the code is processed perfectly. The
>>thing is, I can not pa
Scott Houseman wrote:
> Hi Al.
>
> While we are on topic, what are the key differences between include() &
> require() ?
"Unlike include(), require() will always read in the target file,
even if the line it's on never executes. If you want to conditionally
include a file, use include(). The
Jimmy wrote:
> Hi Daniel,
>
>
>>variables, but as part of the Content of the HTTP request. Here is a sample:
>>
>
>>POST
>>/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23
The problem is that this line:
$rpm_list = `rpm -qa`;
gives back a string, so use this:
$rpm_list = `rpm -qa`;
$rpm_list = explode("\n", $rpm_list);
and see how that goes
Martin
-Original Message-
From: Neil Mooney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Januar
Hello! I want to protect a JavaScript: It should only be readable out of
the document, where it is included (with
[EMAIL PROTECTED] wrote:
> Hello,
>
> I need to allow a client, named: "A", to give their clients access to a remote page
>on A's server. This is the problem:
> 1. I need to record who has accessed this page on A's server
grep stuff /var/log/httpd/access.log
> 2. password protect this page
Hi Tony,
you could do this by getting the file through http, which means not open it with
fopen("filename.php4", "r") but with fopen("http://servername/filename.php4";,
"r"). Then you get exactly the way to browser sees it. But this is very slow if
you
Hi Bart,
I think it's the same problem as with php: You could only protect it, when a
HTTP_REFERRER is send (which Netscape does not do):
Description:
Assume we have under http://www.quux-corp.de/~quux/ some pages with
inlined GIF graphics. These graphics are nice, so others directly
ooking for, but I don't see why
> you couldn't.
>
> http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
This is a lot of stuff... Could you give me a hint where the way leads to?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
Dl Neil wrote:
> 2 because the (function argument) controlling feature is the connection, it is not
>possible for another
> concurrent user to 'steal' your ID or influence the ID returned to you - it's all
>yours!
Ok, assume you are correct, but what if you are using persistent
connections (i
Jason G. wrote:
> Hello General and Dev list,
>
> Considering the fact that it is good practice to use htmlspecialchars()
> anytime you are outputting non-html content to the browser...
>
> After typing the 16 characters in the htmlspecialchars() function
> thousands of times...
>
> I was wo
601 - 700 of 1954 matches
Mail list logo