ter?
Bastien
Yes, it should be implode().
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 06.10.2012 03:08, Tamara Temple wrote:
On Fri, 2012-10-05 at 22:50 +0200, iostream wrote:
If you want to execute some code...
I'm sure you've all heard of the new "goes to" operator by now, but I
hope it might be new to somebody.
$i = 10;
while ($i --> 0) { // while $i goes to 0
On 22.09.2012 12:34, Ashickur Rahman Noor wrote:
Hi all
I need some help to understand a code. The code is like this
$result = mysql_query($sSQL) or die("err: " . mysql_error().$sSQL);
if($row = mysql_fetch_array($result))
{
foreach($row as $key =>$value){
On 26.06.2012 23:48, Simon J Welsh wrote:
On 27/06/2012, at 9:45 AM, Daniel Brown wrote:
On Tue, Jun 26, 2012 at 5:42 PM, Matijn Woudt wrote:
Isn't everyday friday in summer? ;)
If it is, then it could be argued that every day is a Monday in
winter --- and right now, those poor folks
SektionEins
GmbH. During the month of May all qualifying entries will be published
at http://php-security.org day by day.
CFP Committee
-
The CFP committee for the Month of PHP Security consists of
1) Johann-Peter Hartmann
2) Stefan Esser
3) Fukami
4) Ben Fuhrmannek
The CFP committee will
MySQLs own Function AES_(EN|DE)CRYPT is pretty cool for this case.
--
Stefan Langwald
2009/4/17 דניאל דנון :
> If its by a user-basis, something that can be a bit risky but possible - You
> can encrypt it, password is hashed on database, and the key to the other
> data is the un-
SOAP-ENV:Server
Bad Request. Can't find HTTP_RAW_POST_DATA
If I open the test.php on a vista "server" I get nothing. A blank site. The
logs don't have any error messages for me.
error_reporting = E_ALL
Could it be a bug of php or ?
Thanks
Stefan
> Some people have a "gift" link here.
> > Know what I want?
> > I want you to buy a CD from some indie artist.
> > http://cdbaby.com/from/lynch
> > Yeah, I get a buck. So?
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> exactly.
> now, what would be my solution to keep session info in
> new window?
>
>
> -ll
>
>
>
>
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Mit freundlichen Grüßen
Stefan Langwald
$url = http://www.a-domain.co.uk;
$domain = preg_match( "!^(http://)([-a-z0-9]+(?:\.[-a-z0-9]+)*)$!i" ); //
you will get www.a-domain.co.uk // So u can search for "www." In front of
the string to replace it or // you could edit the search for ignoring the
'www.'
Echo $domain[2];
Greetings,
Stefan
Note: this is untested.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ess of the user triggering it
* The IP Address can also be extracted from X-Forwarded-For
HTTP headers (f.e. for reverse proxy setups)
Copyright
=
(C) Copyright 2006 Hardened-PHP Project
Stefan Esser / 2006-10-02
--
PHP General Mailing List (http://www.php.net/)
hello every one :)
what ever i do emails i sent got in the junk mail
i fixed the header
add spf record to the domain
using mail server with specific IP
fix all dns error
nothing work
any one get it correct ?
Can you please be more specific by giving the headers you use?
Regards,
Stefan
ctory, as there isn't any program that
listens
by default. Or you could start up an FTP server and open a connection to that.
Regards,
Stefan van der Linden
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is moved around it appears
and it messes up the XML.
I am getting an error at the end of my request to the
server:
PHP Warning: fread(): SSL: fatal protocol error in
...
However from what I read that error deals with the
closing of the connection. Any help would be very
appreciated.
Stefan
is moved around it appears
and it messes up the XML.
I am getting an error at the end of my request to the
server:
PHP Warning: fread(): SSL: fatal protocol error in
However from what I read that error deals with the
closing of the connection. Any help would be very
appreciated.
Stefan
I really need help and after going through the help page, I don't know where
I can post my question.
When I upload a file (word or pdf), how can I know the page counts of that
file immediately?
Thank you, Jian
There's no function in the PDF library to READ the file.
And about Word document
Yes. I don't get any values
""Jay Blanchard"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
[snip]
is it possible to get a Sessionvariable set in php read in an asp-file
with
the tag <%= Session(php) %>?
[/snip]
Have you tried it?
--
PHP General Mailing List (http://www.php
Hi NG
is it possible to get a Sessionvariable set in php read in an asp-file with
the tag <%= Session(php) %>?
Thanks in advance
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ike a charm
with PHP 4.4.2 / Apache 1.3.4
Stefan
Albert wrote:
I also want an opcode cache to cache the compiled pages on the server in an
attempt to speed up the HTTP server.
For this I wanted to use mmCache (actually I want to use Zend Performance
Suite but first I need to prove that it is
heavy load.
If possible, try to downgrade/upgrade PHP and/or Apache (eventually on a test
machine).
Regards,
Stefan
From: Jochem Maas
Sent: Mi 18.01.2006 18:59
To: Adi
Cc: Albert; PHP List
Subject: Re: [PHP] PHP load to high on server
Adi wrote:
Run some tracer apps on your code...could be
Try
array get_class_vars ( string class_name)
This will return an array with at least the public variables.
Mathijs wrote:
Is there a way to check how much/which variables there are in an class?
Thx in advanced.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
e of these books, please let me know which one
is best for PHP regex.
Thnx
Stefan Lemmen
Apeldoorn Holland
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
htool echo -n -e %B
25330 pts/10 S 0:00 sed -e
s/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g
25332 pts/10 R 0:21 tr x- x_
Any ideas ?
thanks!
--
Dipl.-Ing. Stefan Heim
University of Ulm
Sektion Informatik i.d. Psychotherapie
Tel: +4973150025702
Fax: +4973150025662
[EMAIL PROTECTED]
--
Hi NG!
I've a problem in updating an XML-Node value.
How can I change the value of an XML node?
Thanks in Advance
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi NG
I've a question about searching in a xmlfile.
Is there a mehtod to select a xml-node with a specific value?
e.g.
abc
and I want search for the node with name abc.
Or is it possible with a xpath definition?
Thanks in advance
Stefan
--
PHP General Mailing List (http://www.php.net
/usr/bin/
program: phpize
program: php-config
program: phpextdist
--> end
What may be the source of this problem?
Jochem Maas wrote:
Stefan wrote:
Hi there,
my Server worked fine for several month now with php 4.3.4.
Since a few hours (without changing anything for the last days) PHP
r
e no idea where to start searching for the problem as the logs
don't tell anything about it!
Thx for help in advance.
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like that the server
ommits lines in the header. I marked the missing lines in the script with
comments. Has anybody got an idea where the problem could be?
Thank in advance
Stefan
$unique_sep =md5(uniqid(time()))";
$headers = "From: egrade questionaire\n";
$headers .= "M
like that the server
ommits lines in the header. I marked the missing lines in the script with
comments. Has anybody got an idea where the problem could be?
Thank in advance
Stefan
$unique_sep =md5(uniqid(time()))";
$headers = "From: egrade questionaire\n";
$headers .= "M
like that the server
ommits lines in the header. I marked the missing lines in the script with
comments. Has anybody got an idea where the problem could be?
Thank in advance
Stefan
$unique_sep =md5(uniqid(time()))";
$headers = "From: egrade questionaire\n";
$headers .= "M
Hi.
Are there some code-examples how to build a forum
with php and xml?
Tnx
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I've a strange problem
When I try to send a form with method="POST" to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
I use IIS 5.1
Tnx.
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hi
I've a strange problem
When I try to send a form with method="POST" to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
I use IIS 5.1
Tnx.
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsu
hod would be changing the session handler to store session data in
the database and query the sessiontable appropriately.
best regards,
Stefan Dengscherz
On Mon, Feb 14, 2005 at 04:30:32PM +0200, Jacques wrote:
> I would like to indicate the particulars (from a MySQL database) of all
> those
ks by setting the shell to
passwd. Correct me if I am wrong :)
best regards,
Stefan Dengscherz
On Sat, Feb 12, 2005 at 04:24:57PM +, Bruno Santos wrote:
> Hello all.
>
> I've a linux server that runs a mailserver for several users. I want to
> build a page where users can chang
/localtime
lrwxrwxrwx 1 root root 36 Feb 7 19:54 /etc/localtime ->
/usr/share/zoneinfo/Europe/Bucharest
# date
Tue Feb 8 13:29:15 EET 2005
# echo $TZ
Europe/Bucharest
#
Also mktime generates the second timestamp ...damn, I really don't know
why there are two different
timestamps for th
In your class function you should move your query to a variable e.g. $query
Then:
return $query;
And in your main program:
$whatever = $q->getQuery();
__
Stefan
> -Ursprüngliche Nachricht-
> Von: Richard Kurth [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 8. Dezembe
--Ursprüngliche Nachricht-
Von: Jason Wong [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 6. Dezember 2004 19:54
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] Strange behaviour with PHP on Apache
On Tuesday 07 December 2004 00:33, Stefan wrote:
> Users trying to access my php-scripted websites (
c-quotes' '--enable-safe-mode' '--enable-sigchild'
'--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli'
'--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork'
'i586-suse-linux'
Thx a lot in advance.
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
Have you thougt of writing the userdata to a database and running a perl
script by cron to do the rest? This would be an interesting opinion for
security purpose.
Stefan
> -Ursprüngliche Nachricht-
> Von: Jonathan Duncan [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 3.
pages/" . $link . ".php"); //Includes a page called e.g. 'page1'
//in subdirectory 'pages/'
}
else
{
echo "No Page selected"; //Error if no Page is selected in $link
}
Where the called page is in the
imply with permissions
or what not that would prevent users from viewing the source code of our
class files?
Thanks for your help!
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What about looking for yourself?
http://www.google.com/search?hl=en&lr=&q=phpmyadmin
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 27. November 2004 19:27
> An: PHP general
> Betreff: [PHP] PHPmysqladmin
>
> Where can you get PHPmysq
I use ConTEXT for all php and html work. It's big on usability and
programmer-friendly functions. It's also fairly compact and partners well
with my low-spec laptop :)
> -Original Message-
> From: M Saleh EG [mailto:[EMAIL PROTECTED]
> Sent: 03 November 2004 00:57
> To: Andy B
> Cc: PHP ma
Hello,
that's usually not possible because your webserver can't access the image
on your computer; a possible solution might be to determine the image size
via javascript and submit it with the form, so you can accept or deny the
image upload in your php script - problem: with javascript running on
> -Original Message-
> From: raditha dissanayake [mailto:[EMAIL PROTECTED]
> Sent: 18 September 2004 03:22
> To: Michael Mao
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] thumbnail of webpage
>
> Michael Mao wrote:
>
> > Is there a way to capture a snapshot of a html page and save it as a
ials for MySQL > PostgreSQL conversion.
Any link / tutorial / etc. would be highly appreciated.
Thank you,
Stefan
lf.
PHP Version is 5.0.1. Can anybody reproduce the "problem" (deleting the
line fixes it ;o), or find out, wheter ignoring the comment is the
desired behaviour?
regards, Stefan Bolus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: warning:
`apc_create_zend_constant' was previously implicitly declared to return `int'
/opt/lampp/lib/php/extensions/bcompiler/bcompiler.c: In function
`apc_create_zend_constant':
/opt/lampp/lib/php/extensions/bcompiler/bcompiler.c:2717: error: `zc' undeclared
(first use in this function)
/opt/
IMHO this gives a very good security/ease-of-use trade-off.
-- ___
| |
|--+--
| |.HushFriend (you'll see).
.Stefan Holmes.
> -Original Message-
> From: Ian Firla [mailto:[EMAIL PROTECTED]
> Sent: 26 August 2004 14:25
> To: Aaron Todd
>
It's a bug.
* Siehe http://bugs.php.net/bug.php?id=28444 ... und ...
* http://news.php.net/php.bugs/63652
A workaround is possible using __call( $name, $args) { return(
$this->__get( $name)); }. But it sucks, since constructs using array
indices are impossible as $obj->not_existin
m'kay ... already got it. The routine was disabled due some internal
problems. It should be reintroduced in PHP 5.1. *wait*
http://www.rb21.com/news/index.php/m/115763/0/#msg_115763
Stefan wrote:
hi,
I extended ArrayObject (SPL) to a new class. Let's call it
ExtObjectArray. ExtArra
ittle example also doesn't work.
--- begin
$a = new foo;
echo (string)$a;
?>
--- end
Assigning to another var instead directly output the object doesn't work
either as the Zend Changelog (till 2004-07-14) doesn't say anything
explaining the problem.
anybody have more clue about
_ __ _ ___ _ _ ___
| || | __ _ _ _ __| | ___ _ _ ___ __| | ___ | _ \| || || _ \
| __ |/ _` || '_|/ _` |/ -_)| ' \ / -_)/ _` ||___|| _/| __ || _/
|_||_|\__,_|
Hello,
\\1",$sourcestring);
?>
should do the job.
regards
Am Die, 2003-06-17 um 13.25 schrieb Vincent Bouret:
> Hi,
>
> I am having this problem with preg_replace. I want the following thing but I
> can't understand what regular expression I should put.
>
> I want to replace all occurences o
Hello,
>
change this to ";
}
regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi James,
Quanta has built in syntax highlighting for PHP; i have made a small
screenshot: http://www.chowned.us/sd/quanta-php.png
regards
Am Mon, 2003-06-16 um 17.49 schrieb James Hatridge:
> Hi John et al,,
> On Sunday 15 June 2003 02:09, John Nichel wrote:
>
> >Linux I use Quanta.
>
> Do y
same Error on you messageboard, and their I found your E-mail adress. Could
you help me, I'm a beginner in Linux and PHP.
phpinfo() and Errormessage:
http://www.e-women.ch/growcenter/picalbum/picture1.php
With kind regards
Stefan Vogel
--
PHP General Mailing List (http://www.php.net/)
I just need some documentation on how to get curl to send to and receive
from a socket. Since there is no such information on www.php.net/curl.
Anyone, who can help me with that ?
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27; WHERE id='$id'";
echo $sql;
MYSQL_QUERY($sql);
If this part is okay, then the problem lies within this myterious /*
Some code */.
Regards,
--
Stefan Hinz <[EMAIL PROTECTED]>
Geschäftsführer / CEO iConnect GmbH <http://iConnect.de>
Heesestr. 6, 12169 Berlin (
file?
THX for your support!
Stefan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing = E_ALL
display_errors = On
log_errors = On
html_errors = On
error_log = "/XX/Y/Z/php.err"
docref_roof = /manual/php4_manual
docref_ext = .html
Best regards
Stefan Schiller
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hould be added to complement the
http-url support.
/OnionMan
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> getimagesize isn't remote.
>
> --
>
> Nicos - CHAILLAN Nicolas
> [EMAIL PROTECTED]
> www.WorldAKT.com - Hébergement
Hi!
Can anyone tell me if the getimagesize() function is supposed to work with
ftp-url's?
The PHP Manual states "URL support was added in PHP 4.0.5", but maby that is
supposed to mean http-url's only?
The following is an expample of how i would like to be able to use
getimagesize():
ftp://user:
Hello,
I´m trying to figer out how to get the number och dimensions of a array..
It isn´t the problem to get the count of elements with count(), it´s the
number of dimensions i am stuck at :(
Any tips would be appreciated.
Best regards,
Stefan
--
PHP General Mailing List (http://www.php.net
http://www.sample.com/script.php?fucntion=1
http://www.sample.com/script.php?fucntion=2
Then do a 'case' or 'if' on $_GET['fucntion']
"Tom Ray" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a question that I have yet to figure out. Let's say I have
ation or how to fix this would be
appreciated.
best regards,
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hp :)
cya
Stefan Rusterholz
Am Dienstag den, 11. Juni 2002, um 09:02, schrieb Mario A. Salinas:
> Hi Folks,
>
> Let me begin with the direct question to save you time. If you want
> more info read more about the issue by reading 'The Problem:' below.
>
>
>
> The
gt; Captain Jack Communications
> www.captainjack.com
> [EMAIL PROTECTED]
>
> - Original Message -
> From: "Stefan Rusterholz" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 28, 2002 10:15 AM
> Subject: [PHP] browscap.ini
>
>
>> Hi
Hi
Has anyone got an up to date browscap.ini-file or does someone know
where to get one?
The most up to date browscap I found got it's last update in October 9,
2001 - since then a lot new browser appeared...
best regards
Stefan Rusterholz
--
PHP General Mailing List (http://www.ph
net/";);
curl_setopt ($ch, CURLOPT_HEADER, 1);
curl_setopt ($ch, CURLOPT_NOBODY, 1);
ob_start();
curl_exec ($ch);
$header = ob_get_contents();
ob_end_clean();
curl_close ($ch);
?>
Now search for the "Location" header in $header.
Regards,
Stefan Livieratos
--
ICS Plus
Internet
ring I/O operation, i.e. when reading a document or saving one"
Regards,
Stefan Livieratos
--
ICS Plus
Internet Consulting + Services
==
Aeussere Brucker Str. 51
D-91058 Erlangen
Germany
==
Tel: +49 9131 127733
Fax: +49 9131 1
m and knows a solution?
stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h);
fclose($fh1);
fclose($fh2);
fclose($fh3);
I just tells me that it's not capable of executing one handler multiple
times. If I delete the lines with exec1 and exec2 it works but only
stores the last page...
Who can help?
TIA & greets
Stefan Rusterholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
make a form, one "delete"-button and put a checkbox before every file. the
checkbox's name is 'delete_file['.$filename.']' ... wehen pressed delete
open a file which foreach's every entry in delete_file and unlink it. but be
careful - this could be a huge
hi,
when i use register_shutdown_function in an included or required script,
will the function be called after the processing of the included / required
script, or after all scripts? i think they are called last, but i'm not sure
...
does anyone know?
+ stefan
--
PHP General Mailing
ny help on that even if you say that it will never
work..
thanks
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I
I search a class to parse mp3-files' id3 tag. I already found one at
upperdesign.com but it seems not to be capable of parsing newer versions
of the id3 tag :(
So does anyone know an already existing class doing that for me?
TIA
Stefan Rusterholz
--
PHP General Mailing List
'anotherusername'
);
The issue is the string after the : (the other part is relativly easy as
you could think)
Is there anyone having a parsing algorithm for that just out of the box?
It would save me reinventing the wheel ;-)
TIA
stefan rusterholz
--
PHP General Mailing List (htt
kind of typo ;-)
(*$HTTP_GET_VARS['save'] works also. And use that quotes $array['E_ERROR']
is not the same as $array[E_ERROR]! The second is a constant and thats not
what you _really_ want even if php normally correctly converts it to a
string)
best regards
Stefan Rusterholz
&g
Thank you for that hint.
Where do I get netpbm?
Is it fast?
What image-formats are supported (jpg, png, gif, ...)?
What operations are supportetd (resizing, antialiasing, merging, writing
text to pictures, etc.)?
best regards
Stefan Rusterholz
- Original Message -
From: "Tony
ot;D'oh, an error has occurred: $message.\n";
echo "It happened in file $file at line $line and it is a $level-error";
}
the most beauty about that is that you can also cover errors you didn't
handle (e.g. if fopen triggers a warning or whatever)
best regards
stef
Is there a place especially meant to make feature-requests to the
php-development team?
TIA
stefan rusterholz
--
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
f one or two hundreds of mails. 190 loops shouldn't be
bad.
good luck
stefan rusterholz
- Original Message -
From: "val petruchek" <[EMAIL PROTECTED]>
To: "Stefan Rusterholz" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 12:00 PM
Subject: Re: [PHP]
didn't miss the point
best regards
Stefan Rusterholz
- Original Message -
From: "Scott Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 6:31 PM
Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML dis
- Original Message -
From: "Alexander Weber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 25, 2002 10:34 AM
Subject: Re: [PHP] Correct URL's
> Stefan Rusterholz wrote
> > What was the best way to check, if the give address rea
r me to cover all of them)
-What was the best way to check, if the give address really exists? (I thought on a
test like this:
$exists = true;
@fopen($url) or $exists = false;
return $exists;)
TIA
Stefan Rusterholz
Sorry, I don't have an answer on your question, but a question to you:
I'm currently building a class to browse a page and was interested in the
source of your script. Especially on that part extracting the links.
Would you mind providing the source or is it a commercial?
best rega
t line by tab
-check if record is already in mysql database (only if you have to import
more than once)
-build mysql insert query
-done :)
If you have more questions or more detailed questions just ask
best regards
Stefan Rusterholz
> Now I need this db to make a db content based website. I kn
file (he could have sent an empty form)
-check what extension is needed (.jpg, .gif or whatever)
-move_uploaded_file($userfile, "Your/Directory/".time().$extension)
hope this helps
stefan rusterholz
- Original Message -
From: "Philip J. Newman" <[EMAIL PROTECTED]
preciated!
TIA & best regards
Stefan Rusterholz
n-var is still intact, so it's not just a wrong loaded session var).
My Question is now: is it possible that PHP 4.03pl1 was NOT able to store an object in
a session var?
Best regards and TIA
Stefan Rusterholz
upgrade the RaQ to PHP 4.06 or even 4.1.1 in a
usable time (I don't want to try to compile PHP myself)?
TIA
Stefan Rusterholz
l could
display it on multiple lines).
and here a smaller explanation of the ternary operator (?:):
echo (condition) ? "condition is true" : "condition is false";
if conditions evaluates to true then PHP interprets it like
echo "condition is true";
else
echo &q
\"somename_$var\"] is not set.");
I'll explain, what this code does:
it first checks isset($var) - if this variable (or in this case the indice
of the array) exists, this is true. so if $row["somename_$var"] exists and
is not empty, it does 'echo' the stuff be
et_error_reporting(0) and you'll see PHP's complaints about it)
so PHP converts it to $row['constant'].
You may now understand, that PHP "translates" your code to
$row['coloumname_$variable'] whre $variable is a string and not a variable.
I hope, I could ex
sure that at last for PHP 4.06 or higher this is deprecated. I
don't know why it is still in the manual.
Please correct me if I'm wrong.
best regards
Stefan Rusterholz
--
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]
Since some time there has only one difference left (don't know at which
version it changed):
include causes a warning and require an error on fail. (very useful for
debugging - require your error-handler and include everything else)
best regards
Stefan Rusterholz
- Original Me
Sure you can. Right out from the manual:
If "URL fopen wrappers" are enabled in PHP (which they are in the default
configuration), you can specify the file to be include()ed using an URL
instead of a local pathname. See Remote files and fopen() for more
information.
best rega
> might explain why the variable is not known on the remote server?
>
> Thanks in advance!
> --
> Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439
best regards
Stefan Rusterholz
--
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]
PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 10:24 AM
Subject: [PHP] Re: How to get a function backtrace?
> Stefan Rusterholz wrote:
>
> > Im not sure if "function-backtrace" is the correct word for what I need,
so I'll explain:
> > I
1 - 100 of 175 matches
Mail list logo