I don't know about the efficiency .. but to do it .. you can use
function_exists() to see if a function is already defined if not include the
file for that function before using a function.
HTH
- Original Message -
From: "Dave [Hawk-Systems]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
Hi guys,
does any one have latest GD 2.0 source tarball and care to share ?
seems like the url http://www.boutell.com/gd is down
Regards
-R'twick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Print "Organisation name : .$row[OrgName]."\n"."";
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: "PHP general list" <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 11:10 AM
Subject: [PHP] php+html help
Hello friends,
I have the following php output line that
I have something that I use to create simple buttons. I use the command line
interface version of php to create the buttons offline. However, the
function can also be used on an web application easily.
I am creating the image with fixed height and width, you can change it by
using $i_width and $i_h
Hi all,
I'm pretty much a stranger to perl and now got to convert a perl script to
php. however, at once place I can not understand what the lines are doing
and what could be the equivalent of them in php. Could some one help me with
this ?
Here's my perl code :
$choice=~s/\.rm//;
$choicedi
Thanks Sean
That worked :)
-R'twick
- Original Message -
From: "Sean Burlington" <[EMAIL PROTECTED]>
To: "R'twick Niceorgaw" <[EMAIL PROTECTED]>
Cc: "php" <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 11:07 AM
Subject: R
how about
$name_array = explode(" ",$name);
$first_name = $name_array[0];
$last_name = $name_array[count($name_array) - 1];
unset($name_array[0]);
unset ($name_array[count($name_array)]);
$middle_name = implode(" " ,$name_array);
-R'twick
--
PHP General Mailing List (http://www.php.net/)
To
Hi all,
Is it possible to setup a mysql session handler on a server basis (
something in php.ini file) so that individual pages do not have to set it up
using call to session_set_save_handler() ?
-R'twick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
ImageFtBbox() can do this for you.
Here's a portion of my code that uses it. >>
$string="This is some text";
$pointsize = 15;
$fontfile = getcwd()."/arial.ttf";
$string_size = ImageFtBbox($pointsize, 0, $fontfile, $string,
array("linespacing" => 1));
$s_width = $string_size[4];
$s_height = $strin
The first ImageColorAllocate(0 function always sets the background color .
So add one more call to ImageColorAllocate() to set the background color
before line
$tx_color = ImageColorAllocate($png,255,255,255);
and then the text will be as you set in $tx_color
HTH
-R'twick
- Original Message -
Please don't multi post.
How you getting the $ToName $FirstName etc fields ? Are they submitted via a
form? If so, check the register_globals setting on the server where it is
not working. You need to set it on or use $_POST /$_GET variables.
HTH
R'twick
"Bionicegg" <[EMAIL PROTECTED]> wrote in m
Hi all,
I'm trying to get a vanila installation of php 4.3.1(only the cli version)
on a solaris 8 system. This is my first day on a solaris box so I don't know
much about it. I'm running into some errors in the final linking stage. Any
one experienced this problem and got any idea to fix it? (error
$date_array=explode("-",$newdate);
$day = $date_array[2];
$month = $date_array[1];
$year = $date_array[0];
Or,
$timestamp - strtotime($newdate);
$today = getdate($timestamp);
$month = $today['month'];
$mday = $today['mday'];
$year = $today['year'];
"Alexander Tsonev" <[EMAIL PROTECTED]> wrote in
Shouldn't it be
#!/usr/local/bin/php
Or was it just a typo here?
- Original Message -
From: "Justin Michael Couto" <[EMAIL PROTECTED]>
To: "'Ernest E Vogelsinger'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 12:09 PM
Subject: RE: [PHP] Can't run PHP cli
set register_globals=on in php.ini or use $_POST/$_GET super global array
- Original Message -
From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 12:14 PM
Subject: [PHP] RE: Need help with ?> vs. php?>
> That's fixed. Thanks.
>
> No
in your httpd.conf or whatever apache configuration file you are using,
search for
AddType application/x-httpd-php .php
If its not there, add it and restart apache.
HTH
R'twick
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 11
On 8 Jul 2003 at 11:17, [-^-!-%- wrote:
>
> Is there anyplace to download a pre-compiled PHP module?
> I'm looking for the php_imap.so module.
>
> Environment: PHP 4.2.3/Apache on Redhat Linux i386.
> Please advise.
>
get the php-imap rpm
--
PHP General Mailing List (http://www.php.net/)
To
On 23 Jul 2003 at 15:38, Phillip Blancher wrote:
> Problem with Count.
>
> ! am trying to count the number of items in this table. The table has
> ! one field in it.
>
> The code I am using is:
>
> $dbquerymeal = "select COUNT(*) from mealtype";
> $resultmeal = mysql_db_query($dbname,$dbquer
On 24 Jul 2003 at 15:03, [EMAIL PROTECTED] wrote:
> I wanna be able to take a URL
> http://www.mysite.com/downloads/file_1_a.pdf
>
> and then remove:
> http;//www.mysite.com/
>
> then add:
> /host/sites/site1/web/
>
> to
> downloads/file_1_a.pdf
>
> Turning:
> http://www.mysite.com/downloads/f
if ( !isset($HTTP_GET_VARS["pr_ID"]) OR empty($HTTP_GET_VARS["pr_ID"]) )
HTH
R'twick
"Tim Haskins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm used to asp and not php, but what would the code be for and if
statement
> that was like:
>
> if $HTTP_GET_VARS["pr_ID"] = "nothing"
On Thursday 05 June 2003 11:53 pm, Matt Palermo wrote:
> Can anyone help me figure out how to search for a string in a text file,
> then delete the whole line of text that it occurs in?
>
> For example: I have a text file which contains the following.
>
> //** text.txt **
> Keep this line.
put them in an array an sort it ?
- Original Message -
From: "Steve Buehler" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 3:45 PM
Subject: [PHP] greater than question
> Hopefully someone has done this and has an easy answer. I know that I can
> do what I
Make sure your have the following line in your apache config file (usually
httpd.conf). If its not there then add it somewhere and restart apache.
AddType application-x-httpd-php .php
HTH
R'twick
- Original Message -
From: "Kjell Hansen" <[EMAIL PROTECTED]>
To: "Gurhan Ozen" <[EMAIL PRO
on top of your script add
extract ($_POST);
or may be a little more checking to see if its actually a form submission by
POST method like
if ($_SERVER["REQUEST_METHOD"] == 'POST')
extract($_POST);
same thing goes for GET
Then you can access all form variables just as you were accessing.
HTH
probably because $_SESSION is a server side thing not coming from the client
side in a Request ?
R'twick
- Original Message -
From: "Wouter van Vliet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 12:48 PM
Subject: RE: [PHP] Re: Migration from register_globals=o
May be this will fix ?
myWin=window.open(\"?skrivut=yeah&target=$target\",\"printout\",\"scrollba
rs=yes,status=yes,screenX=0,screenY=0,WIDTH=640,height=500 \");
: You need to enclose $_SERVER["PHP-SELF"] with
tags to be parsed by php.
"ØYstein HåLand" <[EMAIL PROTECTED]> wrote in message
new
AIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sorry, that is no help. You will see that I have escaped all double
> quotation marks since the javascript is inside a php-script.
> The problem is, if I use $_SERVER[PHP_SELF] I get no errors (yepp,
> error_reports=E_ALL)
>
look at ob_start() function.
HTH
R'twick
"Ferhat Bingol" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> When I use my system command in PHP I can run a old EXE file. It makes an
> output and output is automaticly printing on the web browser. I wanna save
> this output at the
check the IMAP functions If you have the pop server address (ip, port), user
name and password you can do it
http://us4.php.net/imap
HTH
R'twick
"Philip S" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there,
> I was wondering whether someone could tell me whether it is possib
On Wednesday 11 June 2003 03:57 am, Ben Houlton wrote:
> I've set the SMTP setting correctly (I've checked like 50 times) but it
> sill comes up with: Warning: mail(): Failed to connect to mailserver at
> "mail.ihug.com.au" port 25, verify your "SMTP" and "smtp_port" setting in
> php.ini or use ini
Your code works fine here (Apache 1.3.27/PHP 4.3.2)
However you can try
$room_type=array();
$room_type[0]=Array();
$room_type[0][0]=4;
echo "value in array is ".$room_type[0][0];
HTH
R'twick
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If I write a code like t
if ( isset($_POST['var_1']) and isset($_POST['var_2']) ) {
your code
}
- Original Message -
From: "Johnny Martinez" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 5:08 PM
Subject: [PHP] POST detection
> Hi all,
> I have a self referring script t
$$foo or ${$foo} somethinbg like that ?
http://us2.php.net/manual/en/language.variables.variable.php
R'twick
- Original Message -
From: "Antti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 2:19 PM
Subject: [PHP] Naming a variable with a variable
> Ho can I
Use javascript to get the screen resolution and pass it back to your php script thru a
hidden form field or some other means.
On 18 Jun 2003 at 16:21, Vernon wrote:
> I what to be able to set a variable based on user's screen resolution.
>
> Can anyone tell me who to do that?
>
> Thanks
>
>
On 19 Jun 2003 at 13:52, Dan Joseph wrote:
> Hi All,
>
> Looking for some guidance on something I want to be able to do with switch,
> and I don't think it exists, but I'd like to consult the list as a last
> resort.
>
> I have a switch setup similar to:
>
> switch ($step) {
>
Here's what I think may work, not sure though..
set a session variable form_submitted=false before displaying the form for
input.
when posted, check if form_submitted==false, then only set the session
variable form_submitted to true and process it. Else show an error message
If the user hits
I also got exactly the same errors this morning. Thought may be its
because I'm using a beta version of RedHat Linux (Limbo).
-Original Message-
From: Rick Kukiela [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 4:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help!!! CVS install br
Hi all,
I'm getting this error while running a simple script.
Warning: imageftbbox(): No FreeType 2 support in this PHP build in
/home/www/htdocs/button_create.php on line 11
Here's my phpinfo https://utkalika.yi.org/phpinfo.php (note the https)
While compiling PHP, It says freetype(2) support
Sure I'm missing some thing silly here but its monday morning :)
I have just installed php 4.2.3 with apache 1.3.26.
I have all loadmodule/addmodule as well as AddType x-httpd-php .php
directives present in httpd.conf. http://myhost/server-info shows I have
php module loaded. But, when I browse a
hp-source .phps
- Original Message -
From: "Matt Schroebel" <[EMAIL PROTECTED]>
To: "'R'twick Niceorgaw'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, September 09, 2002 10:37 AM
Subject: RE: [PHP] help with installation
>
put the following line in the .qmail file for that user
|/path/to/your/script/yourscript.php
HTH
R'twick
- Original Message -
From: "Mike D" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 3:12 PM
Subject: [PHP] Mail Question
> Does anyone know of a way
1. use META TAGS to refresh the page
2. use javascript to open a new window
- Original Message -
From: "Hotmail" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 10:36 AM
Subject: [PHP] getting help on php
Dear sir,
I have two questions :
1- Is there a function
are you doped or mentally challenged ?
- Original Message -
From: "Erik Hegreberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 12:26 PM
Subject: [PHP]
ipoh'%%%
%%%
I just setup a rule in OE to forward his own mail to himself and delete it
form my machine
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: "R'twick Niceorgaw" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 200
read here for the alternative control structures in php
http://www.php.net/manual/en/control-structures.alternative-syntax.php
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Alexander Ross" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 7:28 AM
Subject: Re
if ( $_SERVER["HTTPS"]=="on" )
user using HTTPS
else
user usin http
- Original Message -
From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 8:32 AM
Subject: [PHP] How to know if we're using http or https
> Hello all!
>
> Is
Hi guys,
any one else able to get into www.php.net ?
I'm getting this
Warning: main("geoip.inc") - No such file or directory in
/local/Web/sites/phpweb/include/prepend.inc on line 6
Fatal error: Failed opening required 'geoip.inc'
(include_path='.:/local/Web/sites/phpweb/include') in
/local/Web
cool...
thanks guys
- Original Message -
From: "Sam Masiello" <[EMAIL PROTECTED]>
To: "'Jay Blanchard'" <[EMAIL PROTECTED]>; "'R'twick
Niceorgaw'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 22
Sam Folk-Williams said the following on 9/12/2003 12:32 PM>>
Hi,
I posted about the below issue yesterday, following is the follow-up from
tech support. Are they saying the server was hacked? Is there anything I can
do on my end, or does this sound like their problem?
When I try to visit the s
Rich Fox said the following on 9/18/2003 12:24 PM>>
I have a popup window, itemSelect.php, from which I would like to reload the
calling page. itemSelect.php has a form, and I want to reload the calling
page with these form variables. How can I do this? I can reload the page
easily enough, with
yo
Payne said the following on 9/19/2003 11:23 AM>>
Hi,
I have a project that I need to write and in the past I would hard code
a lot of information in pages that I should have put into a config file.
I am wanting to know if there a website that example how to write a
config file and how to the p
David T-G said the following on 9/19/2003 12:25 PM>>
Dan, et al --
...and then Dan Joseph said...
%
% the computer web server. Kinda hilarious if you ask me. Good excuse to
% install Norton also.
s/Norton/linux+qmail/
*grin*
:-D
s/linux+qmail/linux+qmail+spamassassin+tmda+f-prot/ :)
--
PHP
Rich Fox said the following on 9/19/2003 12:33 PM>>
I would like to open a new browser window from within my php script
(edit.php), a window in which another php page is run (search.php).
search.php should be able to receive $_POST vars etc. from edit.php. I am
not sure that the javascript solution
Comex said the following on 9/19/2003 3:33 PM>>
<[EMAIL PROTECTED]>
[EMAIL PROTECTED]:
Please contact your system administrator.
The scanned document was deleted.
Violation Information:
The subject violated the content filtering rule PHP as subject is a
malacious code - Not Allowed. No attempt
Jeff McKeon said the following on 9/25/2003 4:00 PM>>
In the following code...
--snip--
--snip--
What is the purpose in the function def of "($msgvar = null)"?? Why not
just "function showmessage($msgvar)"??
It's to set a default value if no argument is passed to the function
when called like
Doug Coning said the following on 9/26/2003 12:15 PM>>
Greetings All,
I am creating a 'links' page and was wondering if there was a way in PHP
to test the response of an outside link? I'm sure everyone here has
clicked on a links page link and have a "No Page Found" error because no
one is keepi
Hi all,
I'm trying to run a php application in cgi mode which will use
posix_set_uid function to set its user id to different users.
I have set the user and group of the program to root:root and set the
permissions as
-rws--sr-x1 root root 1096 Oct 1 12:58 test2.cgi
here's my
Hi,
Jacques Roux said the following on 10/17/2003 10:55 AM>>
Dear All
I am getting the following error message when I open some of the page on my
Web Site. What could the problem be and how can I correct it?
Warning: filesize() [function.filesize]: Stat failed for
./admin/dbimages/tblProjects/i
Joao Andrade wrote:
Aloha!
I have a script that inserts a new row in a table called "quotations",
which has a primary key called "quotation_id". "quotation_id" is an int(11)
type. When I enter:
SELECT MAX(quotation_id)+1 from quotations
I get simply the number 7 (which is ok)
But
Jason Wong said the following on 11/7/2003 3:25 PM>>
On Saturday 08 November 2003 04:14, Matt Palermo wrote:
Is there any way to accomplish this without the use of exec() or system()
functions?
Sure, as PHP is a general purpose programming language just write your own
equivalent to nslookup! S
Adam Williams said the following on 11/12/2003 11:37 AM>>
Hello,
I need to test a variable to see if it contains a value or not, and if
not, do something. My php is a little rusty, so which would be better?
if ( !$var )
{ echo "do something";}
or
if ( !isset($var )
{ echo "do something";}
or a
Hi Ryan,
Quoting Ryan A <[EMAIL PROTECTED]>:
> Hi,
>
> We just took a dedicated server (Linux) and want to install Turck MMCache
> for PHP on it, we have total control of that server and can SSH in etc.
> Their "support" does not want to install it and told us if we want to, we
> will have to do
Hi jason,
Quoting Jas <[EMAIL PROTECTED]>:
>
> system("rename('/path/to/new.sh', '/path/to/old.$today')");
>
I don't think this is correct syntax. Either use the php rename function like
rename('/path/to/new.sh', '/path/to/old.$today');
or if you want to use system then use
system ("rename '
r to the
>with-apxs2filter. The configuration file that point to this kind of
>installation is already configured in apache. However there is no perl
>script apxs of any kind.
>
>
>
install httpd-devel package. I believe it contains the apxs module.
HTH
R'twick Niceorgaw
buffer the output of phpinfo() using ob_start() then get the buffer using
ob_get_contents() and store it in your new html file using fwrite()
hope this helps
R'twick
- Original Message -
From: "charlesk " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 12:15 PM
Have you set the session.save_path properly in php.ini ? By default it is
set to /tmp which doesn't work under Win* systems. You need to point it to a
valid directory on your machine.
HTH
- Original Message -
From: "Alastair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Janu
what eact parse error you are getting ? and what is that line ?
Is it giving an error like undefined variable $temprow["count"];
or some thing like that ?
You may try to change the mysql_fetch_row line to the following
$temprow = mysql_fetch_array($tempresult, MYSQL_ASSOC);
- Original Me
construct your query like
$query = "select * from table where ";
lastname='$lastname' and
> firstname='$firstname' and age='$age' and weight='$weight'";
if (isset($lastname) and $lastname !="") then
$query.=" lastname=$lastname ";
if (isset($firstname) and $firstname !="") then
$query.=" and firs
relocation error: file /usr/apache/libexec/libphp4.so: symbol
ap_block_alarms: referenced symbol not found
-----
R'twick Niceorgaw ( [EMAIL PROTECTED] )
http://www.niceorgaw.com
98C Cedar Lane
Highland Park, NJ 089
sparc
machine. could that be causing any problem ?
- Original Message -
From: "Dennis Moore" <[EMAIL PROTECTED]>
To: "R'twick Niceorgaw" <[EMAIL PROTECTED]>; "php general"
<[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 1:56 PM
I just installed Apache and PHP 4.1.1 on my home computer ( Red hat Linux
7.2) from source and they are isntalled without any problem.
If you have already installed apache, then find out the installation
directory ( probably /usr/local/apache) and then see if its bin directory is
in your path. If
gards
R'twick Niceorgaw
--
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]
Hi all,
Is there any way to open a persistent socket connection in one script using
pfsockopen() and then pass the socket descriptor to other scripts using
session variable or some thing like that ?
Regards
R'twick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
I have been with aletiahosting for few months and been quite happy with
them.
if you compare the price/features aletiahosting is a good one. their support
is good though been detoriated some how... some members do complain about
tickets not been resolved quickly but I never had such an experience
remove the To:$email from $headers. You have it already in the $to
parameter.
- Original Message -
From: "Edward Bailey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 11:48 AM
Subject: [PHP] script executeion problem - executes twice for no reason -
help
> P
microtime() ?
--
R'twick Niceorgaw
E-Mail: [EMAIL PROTECTED]
Tel: 617-761-3936 (W)
732-801-3826 (C)
617-328-6423 (R)
--
- Original Message -
From: "Willi
I have used phpmailer as my SMTP host also requires authentication. so far
working without a problem.
--
R'twick Niceorgaw
E-Mail: [EMAIL PROTECTED]
--
- Original Message -
Hi all,
does any one have any expereince with this company ?
http://ciwebhosting.com/
Please feel free to share with me.
regards
R'twick Niceorgaw
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I believe when you compile php with apxs, it does not create the php binary.
You will have to compile php again without the --with-apxs option and then
copy the php binary to the place where you want ot put it.
HTH
R'twick Nicerogaw
- Original Message -
From: "N. Pari Purna Chand" <[EMA
You need two = signs for comparision not just one .
Also I think you need to enclose the variables in double quote.
if( $line[1]=="$bruker" and $line[2]=="$passord") echo "hei
$bruker.";
else echo "FEIL";
> -Original Message-
> From: chris [mailto:[EMAIL PROTECTED]]
> S
Hi all,
is there any way, I can detect the browser without using browsecap.ini file
? I'm simply interested to know if the user using netscape 4.x or earlier.
I tried get_browser() function but it returns blank! after checking my
server's configuration i found browsecap file setting in uninitial
Hi all,
I'm converting a site written in perl to php. It has a member section which
is password protected. All the meber passwords are stored in a flat file
with Perl's MD5 encryption algorithm. I'm planning to use MYSQL database to
store the member info on the new site. However, I have to import
me out with this.
Regards
R'twick
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "R'twick Niceorgaw" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 11:07 AM
Subject: Re: [PHP] converting a password database
g a digest::md5() object to encrypt the password and so thought
it should be same md5() as in php.
If you can guide me to some place where i can look for further info will be
of much help to me.
Thanks for your time
Regards
R'twick
- Original Message -
From: "Rasmus Lerdorf" &l
change the first line to
if(!IsSet($stage)){
print("");
HTH
- Original Message -
From: "David Orn Johannsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 11:16 AM
Subject: [PHP] Login displays the pass and user in url
Can I some how prevent the browse
Hi all,
I'm trying to get some info from get_browser() function. But, I'm getting a
page can not be displayed error.
The script is a simple one as give below. My hosting comapny says,
get_browser() works on their system and there must be some error in my
script but I couldn't find any error. Can s
Its working fine for me ... Redhat Linux 7.2 Apache 1.3.24 PHP 4.1.2
Upgraded just this morning
-Original Message-
From: vins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 7:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP 4.1.2 - does not work. !
I've had the same proble
http://www.php.net/manual/en/function.printf.php
try sprintf to format the string and then fwrite
I use text files to log debug msgs in my programs as they are not too heavy
duty applications.
- Original Message -
From: "Sebastian A." <[EMAIL PROTECTED]>
To: "PHP General List (PHP.NET)"
you are missing fopen() before calling fwrite()
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 1:50 PM
Subject: [PHP] fwrite() - problems
> I have a large string that I want to written to a new file.
>
> Let's
Hi All,
I'm a newbie to PHP. Just started to use it for a week and I just subscribed
to this mailing list.
I have a problem with socket reading using fread.
What I'm doing is ..
calling fsockopen to open a socket. Then call fwrite to send my data and
then call fread for 4 bytes. My Server is sup
try this..
$temp = ($foo%$bar);
$this=$temp/$bar;
- Original Message -
From: "Seb Frost" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 6:20 AM
Subject: [PHP] Dividing too integers...
> Sorry for the stupid question...
>
> I want to do
>
> $this=$foo/$bar
try this
$fupdatecontents='';
while ( list($key,$value) = each($fcontents) ) {
$fupdatecontents .=$value;
}
$fcontents = $fupdatecontents;
or just write $fupdatecontents into the file.
You may need to add a \n after each line ( which I'm not sure);. If you need
you can change the
$fupdatecon
use onClick event handler for the checkbox and inside the handler check if
checkbox.checked==true then call your checked handler else call unchecked
handler
HTH
- Original Message -
From: "Ben Holt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 6:13 PM
Subject
replace the if statement if(!$dte)
with
if (!isset($dte))
- Original Message -
From: "Johnson, Kirk" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 2:35 PM
Subject: RE: [PHP] variable issue
> The else clause can be removed, since it is not doi
I use war ftp.. its a free ware and has good features
- Original Message -
From: "Olexandr Vynnychenko" <[EMAIL PROTECTED]>
To: "Benjamin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 8:37 AM
Subject: Re: [PHP] apache + ftp!
> Hello Benjamin,
>
> Monday, No
Hi gang,
Any one tried to send mail through PHP using mail() through an smtp server
which requires authentication ?
Regards
R'twick
--
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
grab a copy of phpmailer .. it does exactly what you want
- Original Message -
From: "Jaime Iniesta Aleman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 4:01 AM
Subject: [PHP] Sending mail without using mail()
>
>
> Ok, where can I find a tutorial about
check under what user Apache is running ( mostly nobody ). You have to give
write permission on the directory where you want the files to be to that
user. For security reasons, just don't give write access on your
document_root, instead create a directory outside ( or within) your
document_root a
looks like your email client at work is not capable of handling the image
(.gif) attachments. check in the help secion of your email client.
HTH
- Original Message -
From: "Caspar Kennerdale" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 8:16 AM
Check this url. Your error_reporting is set to E_ALL in the php.ini file.
Change it to suit your need.
On my machine I have error_reporting set as below in the php.ini file.
error_reporting = E_ALL & ~E_NOTICE
http://www.php.net/manual/en/function.error-reporting.php
- Original Messa
1 - 100 of 123 matches
Mail list logo