Dan Trainor said the following on 10/27/2005 01:34 PM:
Ben wrote:
Move the files outside the document root so that they aren't available
via a direct URL, then create a 'file access page' in php that will
check for the session variable and either send or not send the file
based
place to start looking.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p B...
I quick stroll through the archives ought to answer your question. You
have many options. It could be as simple as:
if($login) {
print("http://url.for.app.b\";>\n");
}
It depends what you want to do and how aware you want your two
applications to be of ea
s/comments..
As Richard suggested, curl ought to work or what ever web services
flavour you prefer.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it on a remote server'. Request the file with
curl and voila, you're done.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
assuming your on *nix) to r--r--r-- which
will give your web server's user (and ever other user account on the
machine - which may not be what you want) permission to read the file.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
do something else. is_int doesn't work, intval converts "ten" to a
number so that doesn't work
is_numeric
http://ca.php.net/is_numeric
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ut to a variable and only output it to the browser after
any header() function use.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ey => $value) {
$eval="\$temp=".$value.";";
eval($eval);
echo $temp;
}
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
into whether you are
running in safe mode or not, and if you are whether you have your
program in the safe_mode_exec_dir or not. Also check disable_functions
to see if any of the ones you are having trouble with are listed.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubs
me_content_type
It seems to work well for me and there's no need to trust whatever the
browser claims a file is or having to worry about different browsers
inconsistently describing a mime type.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ious page.
There is no reliable way to record if they leave your stie for another
site or close their browser.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
development package installed?...
Please provide more information about what you have done and what error
messages you are receiving so that other readers are able to help you.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t you would of course have to provide your code to your client, but
then you have to do that with PHP anyway.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ty to SSH to your local machine) so that you
can resize your shell window horizontally as well as vertically.
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard said the following on 12/06/2005 11:24 AM:
[snip]
And for those interested in using a real computer,
it's
GUI also runs under MacOSX.
[/snip]
If they are "real" why aren't there more of them?
'cause it's real expensive ;-).
- Ben
--
PHP General Ma
web site you've just drawn,
What, can't you use punch cards?
- Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f you are still stuck,
Ben
Lauri Vain wrote:
>
> Hello everybody,
>
> I'm trying to do a file upload from the users computer via HTML file form element
> to a Linux server running Apache. The file is selected by the user from her
> or his computer, they hit the submit butt
Hello,
What you need is :
1- parse your query and make it boolean
"apple orange" become "apple and orange" and so on
2- then you can generate a MySQL query based on that like this way
---
SELECT id, field1
match (field1) against (' apple orange ') as relevance
FROM hospitality
WHERE
Hey all
I'm looking to implement the huffman encoding in PHP, but i would like to
ask if it isn't already done ? (why reinventing the wheel)
Thx
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry for the last email (i wasn't looking to highjack any thread :( very sorry guys !)
- Original Message -
From: "Hatem Ben" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 2:06 PM
Subject: [PHP] Huffman enc
check this, it could help :
http://www.phpclasses.org/browse.html/class/42.html
Hatem
- Original Message -
From: "Derick Rethans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 4:26 PM
Subject: [PHP] Re: How to create zip files in PHP ?
> Php User wrote:
>
Welcome to the new world ;)
before clicking or asking start reading what is PHP (http://www.php.net),
and in what it could be usefull.
then you can getting started here :
http://www.php.net/manual/en/tutorial.php
- Original Message -
From: "Ted Frank" <[EMAIL PROTECTED]>
To: <[EMAIL PROT
I am struggling with the code below. I keep getting the error "Couldn't
execute query". Please help me out, let me know where I am going wrong.
--
The content of this email message and any attachments are confidential and
9:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Struggling with code
On Thursday 05 December 2002 13:24, Ben C. wrote:
> I am struggling with the code below. I keep getting the error "Couldn't
> execute query". Please help me out, let me know where I am going wrong.
&
I have incorporated most of the suggestions. My most recent code is:
-Original Message-
From: Hugh Danaher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:07 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Struggling with code
please post lines 20 and 21, get
Hugh, I took away the comma from $url and it works.
Everyone, Thanks for your help!
Ben
-Original Message-
From: Ben C. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:15 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Struggling with code
I have incorporated most of the
$url = "http://myserver.com";;
$sockhandle = @fsockopen($url, 80, &$errno, &$errstr);
if(!$sockhandle) {
$mes = "server $url not available!";
$result = "$mes";
return $result;
} else {
$request = "GET / HTTP/1.1\r\n";
$request .= "User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
98)\r\n";
$r
Does anyone know where I can get a good training course in both PHP and MySQL that
would make me proficient? Or does anyone know of a good tutor? I would prefer it to
be in California or on the west coast. Please provide your comments.
--
PHP General Mailing List (http://www.php.net/)
To un
ail, $subject, $message, "From: $email" );
Problem is the message gets truncated if there is a comma in the message
after the comma.
Has anyone had this problem, got a solution to it.
Regards,
Ben
********
Here is the code with suggestion added, message still gets truncated after
comma.
Ben
include( "common.inc" );
$db = open_db();
html_header( "Contact Us" );
if(isset($doit))
{
$errors=array();
check_email( $email, $errors );
if(!isset ($
line character.
So when I run $mgs through the function, do echo $msg, and look in the
source of the HTML $msg is still on a number of different lines,
Ben
********
* Ben Edwards +44 (0)117 9400 636 *
* Critical
Sorted it out with
$message = ereg_replace("(\r\n|\n|\r)", "\n", trim( stripslashes(
$message) ) );
trim and stripslashes not strictly speaking nessesery. Not 100% sure what
happened here but guess \r\n or \r was causing problems.
Ben
At 11:11 26/12/2002 -0500, 1LT
Hello all,
I got a strange problem, a wrong php script was upladed in my hosting server and make
my website return a dns error ! i've discoverd after one day that my index.php was a
wrong one ! normally it should return another error related to script not to dns ! can
someone explain me this ?
> I don't get a dns error on this
>
> I get - 'zero sized reply'
>
> > can someone explain me this ?
> > Is this caused by server configuration or something else ?
>
> I would say that a php error cannot directly cause dns problems - so the
> error message may be wrong ! (what is generating the mes
it's not an IE specefic :)) netscape or opera or whatever will return the
same error message.
- Original Message -
From: "Paul Reed" <[EMAIL PROTECTED]>
To: "'Hatem Ben'" <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 10:19 PM
Subject
echo "server dynamix-tn.com not available!: $errno :
$errstr";
} else {
echo "server dynamix-tn.com is available!: $errno :
$errstr";
}
and run it from here, it return server not available.
- Original Message -
From: Leif K-Brooks
To: Hatem Ben
Cc: [EMAIL
- Original Message -
From: "Sean Burlington" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 9:24 PM
Subject: Re: [PHP] how could a php script return a dns error ?
> Hatem Ben wrote:
>
> >
> > This is what i g
- Original Message -
From: "Michael J. Pawlowsky" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 11:20 PM
Subject: Re: [PHP] how could a php script return a dns error ?
> The prob
Sorry I've just removed the file.
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 12:55 AM
Subject: Re: [PHP] how could a php script return a
> >It's not censorship
> >
> >they are economising by using a proxy server
> >
> >and using one that gives unhelpful error messages
> >
> >BTW - they in this case are the people providing you with your
> >connection (not the web hosting company)
> >
> >they are not blocking the site
> >
> >but whe
3rd party php scripts that use sockets also work. It seems that
WHOIS is causing the problem?
Thanks for any help anyone can provide!
Regards,
Ben
--
Ben Vaughn
Security Analyst
Blackbird Technologies
703-796-1438 W / 703-868-5258 C
[EMAIL PROTECTED]
--
BEGIN:VCARD
VERSION:2.1
I was just about to reply that I found the problem, and you are correct.
Fgets was reaching EOF, finding nothing, and tripping the die(). I was
killing myself, quite literally. Thanks!
-biv
--
Ben Vaughn
Security Analyst
Blackbird Technologies
703-796-1438 W / 703-868-5258 C
[EMAIL
it's completed. If anyone could give me a clue-in
as to what's up, I would be much obliged.
Cheers,
Ben
";
$qstart = sn_Msecs();
while ($row = mysql_fetch_row($result)) {
$owner = getcache($row[1]);
$id = $row[0];
$sqlu = "UPDATE b.c SET d =
Running my code directly from console (/usr/local/bin/php ./code.php)
allows the code to complete properly. It must be an HTTP issue.
Cheers,
Ben
--
Ben Vaughn
Security Analyst
Blackbird Technologies
703-796-1438 W / 703-868-5258 C
[EMAIL PROTECTED]
--
-Original Message-
From
Heya all,
I'm trying to highlight search keywords in a string, everything work expect
when this keyword is inside a tag like this :
keyword (php) :
php
will be highlighted to :
php">php
php.gif"
border=0 alt="php.net">
I have tryed to separate text from html, then highlight it then join
ht
I have find this code very helpfull :
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Hatem Ben'" <[EMAIL PROTECTED]>; "'PHP List'"
<[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 2:28
it's
really boring without good docs
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Hatem Ben'" <[EMAIL PROTECTED]>; "'PHP List'"
<[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 2:28 PM
Subj
Assuming you have
class WebPage {
var $property1;
function get_property1()
{
return $this->$property1;
}
}
class Sample extends WebPage{
}
To access $property1 from your WebPage class just do
$page = new Sample;
$prop1 = $page->get_property1();
Otherwise try to send a snip
heya all,
I remember that some developers started a project to create stand-alone
application from php script, can someone guide me to find it again ? I
haven't found any url talking about it.
Regards,
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
nop, not the php-gtk , but something that can create binary executable code
from any php script.
> Do you mean gtk.php.net?
>
> Hatem Ben wrote:
>
> >heya all,
> >
> >I remember that some developers started a project to create stand-alone
> >application from
I know it also, still related with php-gtk. Thanks anyway
Hatem
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>; "Marek Kilimajer"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
I am using the query below to edit a record. I want to edit the field which has a list
of states in a dropdown box. I want to have the state that is in the selected field
shown as the selected state. How would I do this?
Query
-
$state";
}
$display_block = "
$optio
I tried to use the below but it does not work. Please help!
-Original Message-
From: Michael Sweeney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:29 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Select value for driopdown box
Assuming that you know which
I wish to format money with a £ sign, two decimal places and commas
separating thousands. I seem to be able to do the £ and decimal places with
sprintf or use money_format to do the commas but cant find how to do
both/combine them.
any insight,
ben
As I said it is almost what I want but not quite. If it can be done a code
snipit would be good.
Ben
At 19:44 30/01/2003 -0700, V Dub wrote:
http://php.net
search in functions for number_format
Cheers!
Quoting Ben Edwards <[EMAIL PROTECTED]>:
### I wish to format money with a £ sig
Warning: Access denied for user: 'root@localhost' (Using password: YES) in
/home/sascha/www/docs/freecon/includes/global.inc.php on line 8
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost'
(Using password: YES) in
/home/sascha/www/docs/freecon/includes/global.inc.php on li
http://sourceforge.net/projects/phpmimeclass
"Jonathan Chum" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I'm looking through Google for MIME decoding classes, one developed by
> Richard Heyes used in Pear and a few others. What I'm curious is how
> complete are these
I'm trying to update a field which contains a $USD figure. But when I update it as
200,000 it become 200. I need to take out the comma. Is using ereg_replace function
the best way of doing so? What do you think.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net
There are a lot of artlicles on this but I need a simple solution. I need
to subtract two dates as follows:
$date = date("Y-m-d");
$date1 = "2003-03-03";
$differencedate = ($date - $date1);
echo $differencedate;
When I do this I get 0. Please help!
Thanks, Justin. It works.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:27 PM
To: Ben C.; [EMAIL PROTECTED]
Subject: Re: [PHP] Subtracting two dates
Then you need to decide if you want to show days, or hours, or years
difference
Is there a way not to round the number but get a whole number? I don't
want to have 1.5 days show as 2 days because it really has not gone into day
2?
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:27 PM
To: Ben C.; [EMAIL PROT
really havent a clue how this is done.
Thanks
Ben Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I add a column of numbers generated through a MySQL query without
using the SQL SUM() function? I have tried looking through the different
documentation. I am probably missing something.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Yes. From there I want to add all the 'a' values together using PHP.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:40 AM
To: Ben C.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Addin a column of numbers not using MySQL
D
Monday 04 August 2003 15:59, Ben C. wrote:
> > Yes. From there I want to add all the 'a' values together using PHP.
>
> So do it then.
>
> $total = $total + $myrow['a'] // or something as you go through the loop
> // is
Monday 04 August 2003 15:59, Ben C. wrote:
> > Yes. From there I want to add all the 'a' values together using PHP.
>
> So do it then.
>
> $total = $total + $myrow['a'] // or something as you go through the loop
> // is
27;paid'];
}
CODE End-
What I want to do from here is add up all the 'paid' figures.
>
> From: Jason Wong <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 01:55:40 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Addin a column of numbers not u
When I echo the select state the id is the first of many ids that need to be added
together. It is still not summing the total value of the records.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." &
ate: 2003/08/04 Mon PM 02:16:22 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: Re: [PHP] Addin a column of numbers not using MySQL
>
> [snip]
> while ($row = mysql_fetch_array($result_2)) {
> $paid = $row['paid'];
&
Unsure. How would I do that?
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:36:15 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: Re: [PHP] Addin a column of numbers not using MySQL
>
When I echo the select state the id is the first of many ids that need to be added
together. It is still not summing the total value of the records.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." &
When I echo the select state the id is the first of many ids that need to be added
together. It is still not summing the total value of the records.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." &
Jay,
It still returns '0'. I think we are missing something. Any other ideas? Anyone
else have any ideas?
Ben
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 03:10:15 EDT
> To: "Ben C." <[EMAIL PROTECTED]>,
I want to do now is add up the values 1-5 and get 800.00.
Does this help clarify?
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:57:17 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE
Jay, No results are returned. It is blank.
>
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> Date: 2003/08/04 Mon PM 04:57:17 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: Re: [PHP] Addin a column of numbers not u
Yes, I know. However, the while() loop should generate all the invoice in a
list.
-Original Message-
From: Giz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:03 AM
To: 'Ben C.'; [EMAIL PROTECTED]
Subject: RE: [PHP] Sum a column of values from a MySQL query
I thin
I am trying to sum a query of values from a MySQL table. The code I am
using is:
---BEGIN CODE #1--
$sql_2 = "SELECT SUM(partpaidamount) as partpaid
FROM $tb_name
WHERE invoiceid = \"$invoiceid\"
";
$result_2 = @mysql_query($sql_2,$connection) or die(mysql_err
Wan I insatiate an object I want to pass a database resource that can be
used throughout the object. The below code should indicate what I want but
I get the error "mysql_query(): supplied argument is not a valid MySQL-Link
resource". I guess this is because "$this->$db = $
I wish to pass a session variable into an object and have it available as
an attribute. I have what I thought I needed below as a code segment but
it douse no work. Has anybody got any idea how I should achieve this.
Ben
..
class Contacts{
var $db;
array $SESSION
I am trying to sum a query of values from a MySQL table. The code I am
using is:
---BEGIN CODE #1--
$sql_2 = "SELECT SUM(partpaidamount) as partpaid
FROM $tb_name
WHERE invoiceid = \"$invoiceid\"
";
$result_2 = @mysql_query($sql_2,$connection) or die(mysql_err
into an object and have it
available
> as
> an attribute. I have what I thought I needed below as a code
segment
> but
> it douse no work. Has anybody got any idea how I should achieve
this.
> Ben
> ...
> class Contacts{
> var $db;
> array
I have a quick simple question. I am using PHP 4.2.3 on Linux. I am trying to turn
register_globals from off to on. Is all that I need to do change it from off to on in
the php.ini file? Do you I need to reboot to have the changes go into effect? Sorry
for a simple question but I am new at
Is the change in the php.ini file the only thing that I need to change to turn on
register_globals?
>
> From: "Jonatan Pugliese." <[EMAIL PROTECTED]>
> Date: 2003/08/15 Fri PM 01:18:01 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PR
Is the change in the php.ini file the only thing that I need to change to turn on
register_globals?
>
> From: "Jonatan Pugliese." <[EMAIL PROTECTED]>
> Date: 2003/08/15 Fri PM 01:18:01 EDT
> To: "Ben C." <[EMAIL PROTECTED]>, <[EMAIL PR
I have recently had php installed on my server with sendmail. The server is behind a
firewall and SMTP is open on the firewall. However, when I execute the mail(), it
appears to have sent the mail, but I never receive it. I am not getting any error
messages. Has anyone ever run into this pro
I have a subscription service and am trying to not allow the buyer to
proceed purchasing another subscription if one of their subscriptions is
over 29 days past due in their payment. I am trying to query each invoice
and checking to see if it is past due more than 29 days, if it is I want a
messag
Greetings all,
Can someone tell me where is the limitation on the number/size of cookies
that could be used ?
Assuming we have :
This is what php return :
Array
(
[DX_A] => Array
(
[4] => e
[5] => e
[6] => e
[7] => e
[8] =>
P that the people at Bristol city
Council would of heard of (i.e. high profile sites).
Also I think this type of thing should be on php.net.
Ben
****
* Ben Edwards +44 (0)117 968 2602 *
* Critical Site Build
* Ben Edwards +44 (0)117 968 2602 *
* Critical Site Builderhttp://www.criticaldistribution.com *
* online collaborative web authoring content management system *
* Get alt news/views films online http://www.cultureshop.org *
* i-Contact
lect where the Title & Content fields are equal to the
values I just inserted?
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;../A/ClassA.class.php");
...
}
i cant get this working. How do i solve this problem
without having both class files in the same directory.
Ben
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://pla
How do I easily check to see if a MySQL formatted date is valid such as if a
user enters
2003/02/28 would return true
2003/02/31 would return false
I have check the manual and other resources but can't come up with anything.
---
hehe and the good news, ppl don't have to upgrade to the latest PHP 2.0.2
... coz the php 2.0.1 don't seems to be seriously buggy ;-)
Cheers,
Hatem
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: T
Might anyone know why when I do a phpinfo() the image that appears where
the PHP log is, is a picture of a dog with an alt="Thies"? This only
seems to happen in PHP 4.3.x
Any explanation?
not possible, could it us the information in a text file I have created and
placed in this directory?
Anyway help would be greatly received! (I'm new to PHP, so simple help would
be even more appreciated!) :S
Ben
--
Ben Whitehead
[EMAIL PROTECTED]
--
PHP General Mailing List
Any way in PHP to grab form info and then encrypt it with PGP before
sending it out as an email?
-Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Getting the below error from a php site I am developing. I am using a new
server so I guess it is a php configuration thing, but how do I fix it.
Ben
Warning: SAFE MODE Restriction in effect. The script whose uid is 510 is
not allowed to access /home/virtual/site4/fst/var/www/html/test owned
$dp = opendir( $currdir );
Basically it seems like I need to turn 'SAFE MODE' off but I dont really
know what it it or how to turn it off.
In fact I am not sure where the config file is on a *nix box or what is it
called.
Ben
At 15:58 09/06/2003 +0200, winst0n wrote:
what doe
.
safe_mode_gid = Off
So not quite sure why there is a phoblem
Ben
At 16:23 09/06/2003 +0200, winst0n wrote:
Ok, I think the php comand opendir is blocked for security reason.
Try with this :
$dp = dir($currdir );
dir() and opendir() are the same for client.
A lot of hostserver disable opendir(), I
101 - 200 of 1246 matches
Mail list logo