Ryan A schreef:
> Hi,
> I have been searching the archives with little luck so I need a reminder
> here,
> I remember a little while ago someone asked how to implement the "users
> online" functionality
> that some sites have...now i have been asked to do exactly that but with a
> small twist:
> i
> I'm getting unexpected data from my file_get_contents function using an
url
> as filename.
>
> The function does not return false, i do get data from it. Problem is that
> is is not the data is requested.
The ISP made a mistake in the server config :-( ... it works again
regards,
Ewout
--
P
I'm getting unexpected data from my file_get_contents function using an url
as filename.
The function does not return false, i do get data from it. Problem is that
is is not the data is requested.
$data =
file_get_contents("http://somehost.com/xmlonl.asp?custid=00&prodid=0
");
if ($
- Original Message -
From: "Shawn McKenzie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 02, 2004 2:11 AM
Subject: [PHP] Session handlers
> Just curious, what is the advantage of using a custom session handler,
> such as saving session data in MySQL?
security !
Is there a function to get the raw image data from a image resource ?
(resource created by imagecreatefrom)
I want to read and manipulate an image from a file and store it in a
database without the use of a temp. file
regards,
Ewout
--
PHP General Mailing List (http://www.php.net/)
T
-Oorspronkelijk bericht-
Van: Nitin [mailto:[EMAIL PROTECTED]
Verzonden: zaterdag 20 december 2003 7:30
Aan: PHP-General
Onderwerp: [PHP] form variables
> i've an application, where i'm receiving variables from an html form and
process them in the script. depending on the values, i may
- Original Message -
From: "Joao Andrade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 26, 2003 12:31 AM
Subject: [PHP] manual key generation
>
> Aloha!
>
> I have a script that inserts a new row in a table called "quotations",
> which has a primary key call
- Original Message -
From: "John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 8:22 PM
Subject: [PHP] Parsing MySQL query return
> Hey All,
>
> I have a question regarding parsing text from a MySQL query. Basically, I
> have several paragraphs of text in a fiel
Try '\r\n' instead of '\n'
regards,
Ewout de Boer
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Kyle Gibson" <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 10:17 AM
Subject: Re:
Oops !
My mistake.. it's strlen()
substr = substring .. see http://www.php.net/substr
regards,
Ewout de Boer
On Fri, Nov 15, 2002 at 12:03:34PM +0100, Tristan Carron wrote:
> The strln() function is unknown...
> To understand the script, could you please tell me what the substr()
You mean the opening tag ?
For php use
regards,
Ewout de Boer
- Original Message -
From: "vernon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 4:32 PM
Subject: [PHP] php Wildcard???
> Hey all, I'm coming over from pro
You could try something like this:
$verylongstring
$data = ... // your cut function
$verylongstring = substr($verylongstring, strln($data);
regards,
Ewout de Boer
- Original Message -
From: "Hacook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Nove
- Original Message -
From: "Lars Espelid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 9:59 PM
Subject: [PHP] Can't escape characters in php??
> Hello,
>
> I'm running Apache/1.3.26 and PHP 4.0.5 on WinXP pro.
>
> Also '\n' in an echo-expression won't wo
use: SELECT DISTINCT column FROM table
regards,
Ewout de Boer
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 10:17 PM
Subject: [PHP] returning unique values in columns
> Is there any way to run a quer
You could exec the ping command and analyze its output using regular
expressions.
regards,
Ewout de Boer
- Original Message -
From: "Bryan Koschmann - GKT" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002
You could exclude the '}' sign from the expression
$content = ereg_replace("\{[^}]*}","",$content);
This should do the trick... i'm not 100% certain about the '[^}]'
expression, but you should find it in any regexp tutorial
regards,
Ewout de Bo
PHP sends a '401 Authorization required' to your browser (just like apache)
and it also gets the user/password info
Code example:
In this example no user/passwd checking is done... just replace the
'welcome' message with your mysql/ldap check routine and voila !
reg
in httpd.conf
AllowOverride AuthConfig
More info at http://httpd.apache.org/docs/mod/core.html#allowoverride
regards,
Ewout
- Original Message -
From: "Alexander Bemme" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 12:02 PM
Subject: [PHP] PHP
18 matches
Mail list logo