Richard Lynch wrote:
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote:
Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a
URL
forwarded site? I am trying to find the authorised user id so that I
can
access an SQL database with it. Anyone got some ideas?
If you do a Loc
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote:
> Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a
> URL
> forwarded site? I am trying to find the authorised user id so that I
> can
> access an SQL database with it. Anyone got some ideas?
If you do a Location: with a
On Feb 10, 2008 10:09 PM, Robert Cox <[EMAIL PROTECTED]> wrote:
> Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL
> forwarded site? I am trying to find the authorised user id so that I can
> access an SQL database with it. Anyone got some ideas?
Once again I'll defe
Robert Cox wrote:
Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a URL
forwarded site? I am trying to find the authorised user id so that I can
access an SQL database with it. Anyone got some ideas?
PHP looks like this
//Get User
$user = $_SERVER['PHP_AUTH_USER
--- Robert Cox <[EMAIL PROTECTED]> wrote:
> Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in
> a URL
> forwarded site? I am trying to find the authorised user id so that
> I can
> access an SQL database with it. Anyone got some ideas?
>
> PHP looks like this
>
>//G
On Wed, March 21, 2007 5:05 am, Albert Kopka wrote:
>
> Hi ...
>
> I want to generate certificate for smardcard login (MS Win-XP)
> and for do that the subject of certificate should contain same key
> (in key:value of $dn) multiple times for example ...
>
> cert generated by ca suplied with W-2
Hello Bruce,
Thursday, July 7, 2005, 12:10:30 AM, you wrote:
BG> I get an error stating:
BG> "Warning:
BG> copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf):
BG> failed to open stream: Permission denied in
BG> /hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on
Greg Donald wrote:
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker
<[EMAIL PROTECTED]> wrote:
Any help here would be appreciated.
Simple.. your PHP doesn't have MySQL support. Rebuild it or install
the rpm or package or whatever. What kind of 'Linux box' is it?
Greg is right. Also it's imp
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker
<[EMAIL PROTECTED]> wrote:
> Any help here would be appreciated.
Simple.. your PHP doesn't have MySQL support. Rebuild it or install
the rpm or package or whatever. What kind of 'Linux box' is it?
--
Greg Donald
Zend Certified Engineer
http:
Phillip S. Baker wrote:
Greetings all,
I am runnign into a strange problem.
I am working on a Linux box.
Running PHP 4.2.2
Apache 2.0
And it has MySQl installed on it (not sure of the version.
I ran a quick script to check to make sure the connection to the DB is
working fine as this is a very secu
On Mon, 6 Dec 2004 14:23:51 +0100, Salvatore <[EMAIL PROTECTED]> wrote:
> I have that script in php that should print on a page the result of lot of
> pages defined in this way:
>
> This is the address: www.mysite.com/mypage.php?idx=1&lines=50
Sounds to me like you want basic pagination. I'd use
Salvatore a écrit :
If I understand correctly, have you tried this instead of the above code :
while( !feof($f) )
{
$stream = fread($f, 8192);
$data .= $stream;
}
fclose($f);
i found it.
max_execution_time = 30
is too few for more than 3000 files:)
Ooops... Sorry for leaving PHP thr
Ron King wrote:
At 06:28 AM 7/23/2004, you wrote:
You need php-cli rpm, it's not an extension, it's command line binary.
And it won't hurt anything to have both cli and extension installed?
-- Ron
No
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
At 06:28 AM 7/23/2004, you wrote:
You need php-cli rpm, it's not an extension, it's command line binary.
And it won't hurt anything to have both cli and extension installed?
-- Ron
Ron King wrote:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
installed correctly. I could se
You need php-cli rpm, it's not an extension, it's command line binary.
Ron King wrote:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
installed correctly. I could serve web pages, MySQL worked, and when I
tried the phpinfo() function, I got a page that looked OK. I could
c
as in 20 degrees?
float *sin* ( float arg)
*sin()* returns the sine of the arg parameter. The arg parameter is in
radians.
RADIANS.
|sin(deg2rad(20));
|
Jon
Marcus Strube wrote:
Hi,
i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin().
In PHPs opinion
sin(20)
is
0
Thanks a lot. I've overseen a word in the manual. Now i got it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you want it in degrees, use sin(deg2rad(20);
> On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <[EMAIL PROTECTED]> wrote:
> > It's giving you sin(20) in radians, not in degrees (which is what you
> > seem to want). It's not a bug.
>>
> > On Thu, 22 Jul 2004 17:40:21 +0200, Marcus Strube <[EM
It's giving you sin(20) in radians, not in degrees (which is what you
seem to want). It's not a bug.
On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <[EMAIL PROTECTED]> wrote:
> It's giving you sin(20) in radians, not in degrees (which is what you
> seem to want). It's not a bug.
>
>
>
> On
On Tuesday 13 July 2004 00:05, Eric Boerner wrote:
> I am having trouble setting array data from within a MySQL results
> query. I have modified data from the result and wish to enter it into
> it's own array ($data). That then is used to generate a graph. The
> following code basically gives me a
Eric Boerner wrote:
Hello all,
I am having trouble setting array data from within a MySQL results
query. I have modified data from the result and wish to enter it into
it's own array ($data). That then is used to generate a graph. The
following code basically gives me an empty array...
I doubt the
Nevermind, I figured it out. Simple case of duh...
$data[] = array('$time' => '$time','$aval' => 'aval');
Should have been:
$data[] = array('$time' => "$time" ,'$aval' => "aval");
Thanks. :)
-Original Message-
From: Eric Boerner [mailto:[EMAIL PROTECTED]
Sent: Monday,
[snip]
A simplified version of the code is shown below and is posting to
itself.
Any idea what I'm doing wrong?
Untitled Document
Please Enter
[/snip]
I tried this (navigated directly to the page) and it worked. You
probably want to set the GET array thingie though...like this
If you are using double quotes teh file name should be c:\\thefile.txt
Benjamin wrote:
I'm sorry if this has already been asked before...
I am trying to make a small ftp app using this line to download files:
if( !ftp_get( $conn_id , "C:\thefile.txt" , $HTTP_GET_VARS['file'] ,
FTP_BINARY ) ) $
* Thus wrote James Johnson ([EMAIL PROTECTED]):
> Hello,
hello james.
>
> Is there a limit or something to the number of Session vars that can be
> used? I've even tried setting a Session var called "foo" and that doesn't
> work.
None that php enforces, only the operating system's filesystem an
DOH! Nevermind, I mis-spelled session_start().
:(
-Original Message-
From: James Johnson [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2003 4:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Trouble with Session var
Hello,
This one has me stumped.
I'm setting a session var to a value
Adam Voigt wrote:
> I think what you want is:
>
> move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir .
> $_FILES['imagefile']['name']);
>
> (Apologies if it wraps, that should be all one line.)
>
>
>
> On Wed, 2003-05-28 at 12:58, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > Hmm, what'
I think what you want is:
move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir .
$_FILES['imagefile']['name']);
(Apologies if it wraps, that should be all one line.)
On Wed, 2003-05-28 at 12:58, Adnan wrote:
> Adam Voigt wrote:
>
> > Hmm, what's the exact error message you get?
> >
>
Adam Voigt wrote:
> Hmm, what's the exact error message you get?
>
>
> On Wed, 2003-05-28 at 12:43, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > If your running under linux/unix, do:
>> >
>> > chown webuser:webuser /tmp/php
>> >
>> > Supplement /tmp/php with whatever upload path you have
>> > se
Call me an optimist but if you don't get any error's, that
usually means it worked. You do know that the uploaded file
is erased when the page ends right?
You have to use a call to move_uploaded_file to actually
put it somewhere on the file system.
On Wed, 2003-05-28 at 12:53, Adnan wrote:
> Ada
Adam Voigt wrote:
> Hmm, what's the exact error message you get?
>
>
> On Wed, 2003-05-28 at 12:43, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > If your running under linux/unix, do:
>> >
>> > chown webuser:webuser /tmp/php
>> >
>> > Supplement /tmp/php with whatever upload path you have
>> > se
Hmm, what's the exact error message you get?
On Wed, 2003-05-28 at 12:43, Adnan wrote:
> Adam Voigt wrote:
>
> > If your running under linux/unix, do:
> >
> > chown webuser:webuser /tmp/php
> >
> > Supplement /tmp/php with whatever upload path you have
> > set in your php.ini, and webuser with
Adam Voigt wrote:
> If your running under linux/unix, do:
>
> chown webuser:webuser /tmp/php
>
> Supplement /tmp/php with whatever upload path you have
> set in your php.ini, and webuser with whatever user your
> webserver runs as.
>
>
>
> On Wed, 2003-05-28 at 12:33, Adnan wrote:
>> Jason Wo
If your running under linux/unix, do:
chown webuser:webuser /tmp/php
Supplement /tmp/php with whatever upload path you have
set in your php.ini, and webuser with whatever user your
webserver runs as.
On Wed, 2003-05-28 at 12:33, Adnan wrote:
> Jason Wong wrote:
>
> > On Wednesday 28 May 2003
Jason Wong wrote:
> On Wednesday 28 May 2003 20:11, Adnan wrote:
>
>> i have been having trouble working out how to upload an image, the most
>> progress ive made is putting a blank file on the server, but thats it,
>> any suggestions anyone??
>
> If you're wanting to do HTTP uploads then manual
On Wednesday 28 May 2003 20:11, Adnan wrote:
> i have been having trouble working out how to upload an image, the most
> progress ive made is putting a blank file on the server, but thats it, any
> suggestions anyone??
If you're wanting to do HTTP uploads then manual > Handling file uploads tells
thanks Marek, it never crossed my mind about time, i was using it to have a
unque name to the uploaded file.
I'll try the script without the time and see.
Thanks
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At first glance I noticed you use
At first glance I noticed you use time() all over your script and expect
it to
be always the same. But the function returns current time, so it
changes! Use
$n_image1 = time().$_FILES['image1']['name'];
and remove all time() functions
Geckodeep wrote:
I am having trouble in resizing the im
If you want to do relative includes, you must have a . in
your include_path. Maybe this is what you are meaning to
do. Please reread this:
http://www.php.net/configuration.directives.php#ini.include-path
And if you still have problems after adjusting it and restarting
the web server, tell us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nope... same error. Patch worked perfectly, LDFLAGS=-lstdc++ did too. End
result: same error. Any other ideas???
On Wednesday 06 November 2002 09:09 am, you wrote:
> Hi,
>
> Wednesday, November 6, 2002, 2:50:42 PM, you wrote:
> EN> -BEGIN PGP SI
Hi,
Wednesday, November 6, 2002, 2:50:42 PM, you wrote:
EN> -BEGIN PGP SIGNED MESSAGE-
EN> Hash: SHA1
EN> I'm trying to get XSLT working with PHP, and after slowly working my way
EN> through several other problems, I've found one that I can't figure out.
EN> Software:
EN> PHP 4.2.3
EN>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nope. Same error. Good idea, though...
- -Evan
On Tuesday 05 November 2002 01:56 pm, .: B i g D o g :. wrote:
> Try specifying the sablot installation directory in the configuration
>
> --with-xslt-sablot=/some/dir
>
> On Wed, 2002-11-06 at 04:50,
Try specifying the sablot installation directory in the configuration
--with-xslt-sablot=/some/dir
On Wed, 2002-11-06 at 04:50, Evan Nemerson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I'm trying to get XSLT working with PHP, and after slowly working my way
> through several
If you are running in safe mode, setting time limit has no effect
Eduardo M. Bragatto wrote:
I've send an e-mail with a doubt related with the
"maximum_execution_time" variable but it has no answers, so, I'm
submiting it again...
I'm using a single php script to send files named upload.
Edward,
Try
Case "1":
.
Break;
-Original Message-
From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca]
Sent: Friday, October 25, 2002 6:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Trouble with switch statements
Ok...I just recently installed Apache1 and PHP 4.2.3 on m
Hello,
"eNetwizard Developers Team" <[EMAIL PROTECTED]> wrote:
>
> Use $_GET["select"] for the switch statement
>
> Some of the people on this list would even recommend you make another
> variable first, such as $userselect = $_GET["select"] and use
> $userselect as your switch statement, thoug
Use $_GET["select"] for the switch statement
Some of the people on this list would even recommend you make another
variable first, such as $userselect = $_GET["select"] and use
$userselect as your switch statement, though I think it pointless.
Or turn register_globals on in the php.ini file (not
switch($_GET['select']){
case 1:
..
-Peter
> -Original Message-
> From: Edward Kehoe [mailto:emkehoe@;learn.senecac.on.ca]
> Sent: Friday, October 25, 2002 19:47
> To: [EMAIL PROTECTED]
> Subject: [PHP] Trouble with switch statements
>
>
> Ok...I just recently installed Apa
Easy way is stripslashes(), just watch out you don't put stripslashed
field input into the database
Christian Ista wrote:
>Hello,
>
>I'm trying the example1 give in xml_parse_into_struct section here :
>http://www.php.net/manual/en/function.xml-parse-into-struct.php
>
>works fine.
>
>But know I
It looks like your problem is simply in the debug line, where you echo
print_r(array_values($TickersCurrent));
You shouldn't call array_values() before print_r(), since array_values
generates an indexed array of only the values (quotes), not the keys
(tickers), of the supplied array, essentially t
Thanks for all your help :)
Justin
on 26/08/02 1:55 AM, Michael Sims ([EMAIL PROTECTED]) wrote:
> On Sun, 25 Aug 2002 10:49:00 -0500, you wrote:
>
>> static $myrow;
>> if($myrow = mysql_fetch_array($result)) {
> [...]
>
> Oops. We want to remember the position of the result set, so it's
> $r
On Sun, 25 Aug 2002 10:49:00 -0500, you wrote:
>static $myrow;
>if($myrow = mysql_fetch_array($result)) {
[...]
Oops. We want to remember the position of the result set, so it's
$result that should be static, not $myrow. In addition, you'll have
to put a check at the top of the function to see
On Mon, 26 Aug 2002 01:12:56 +1000, you wrote:
>However, I was hoping to use it in a similar way that I use mysql in the
>above code... something like:
>while($song = getSongByArtist(4))
>{
>echo song['title'];
>echo song['writers'];
>echo song['video'];
>echo song['artist_id'
Everytime you call the function, it re-runs the sql, and gives you the same
list. The only time it wouldn't do that was if the id wasn't found. You
could probably change the function to a class, where the constuctor ran the
sql, and then you had another method to get the next entry.
- Origi
> > Try this function:
> > http://www.php.net/manual/en/function.stripslashes.php
>
> Oddly enough, as I told John, I did that as well and it doesn't work.
Are the \ there to escape anything, like ' or " or are they just in
there by themselves..as a delimiter or something. If the \ is by itself,
on 25/07/02 8:30 AM, [EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote:
> Anyway, with asides to the snooty "RTFM" reply I got, I thought I'd share.
No, I agree with the RTFM statement. A simple search for "remove slashes"
on php.net would have resulted in links to all the slashes functions,
includin
> If the "\" are showing up in form posted data just do this:
>
> $newtext = stripslashes($oldtext);
That's what I'm doing now before they're written to the file.
> The slashes are put before any single or double quote by a
> nifty little php feature called "magic quotes". By escaping
> quotes i
> It's extremely important as to where you put the function within your
> script.
Understood, and as I said before, I'm fairly new to PHP, so I'm bound to
make the boneheaded mistakes. But I did try and solve it myself before
begging for help :)
Basically, the user enteres some text into a form,
If the "\" are showing up in form posted data just do this:
$newtext = stripslashes($oldtext);
The slashes are put before any single or double quote by a nifty little php
feature called "magic quotes". By escaping quotes in form posted data you
greatly reduce the risk of sql injections and other
n
blend passion, reason and courage in a personal commitment to the great
enterprises and ideals of American society." - Robert F. Kennedy
> From: <[EMAIL PROTECTED]>
> Date: Wed, 24 Jul 2002 14:48:07 -0800
> To: "PHP List \(E-mail\)" <[EMAIL PROTECTED]>
> Sub
> Try this function:
> http://www.php.net/manual/en/function.stripslashes.php
Oddly enough, as I told John, I did that as well and it doesn't work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try this function:
http://www.php.net/manual/en/function.stripslashes.php
Rick
"And God shall wipe away all tears from their eyes; and there shall be no
more death, neither sorrow, nor crying, neither shall there be any more
pain: for the former things are passed away." - Revelation 21:4
> Fr
I thought this is a secure way to find out if the file is a jpeg or not. So
you are suggesting to passit to the unix command file? How does that work.
Maybe you can make a small example or give a small hint on what to look for
on google. Sound interesting!
I tryed to to perform a createfromjpeg c
On Sun, 19 May 2002, andy wrote:
> I do have trouble with finding out if a file is a jpeg or not. This is the
> command I am using:
>
> $_FILES[picture_location][type]
>
> works fine exept in one case: With Photoshop 6.0 I do open the jpeg (which
> workes fine) an save as jpeg as another file
No, the @ was in the right place (if memory serves me the book said this
suppresses the error output.) The problem was my sock file was not in the
default location so I had to specify it. If you check the thread the answer
is there on how to find where your sock is located.
Best Regards,
Jim Ha
Is that supposed to be ->
$db = @mysql_pconnect("localhost", "bookorama", "bookorama123");
Jim Hankins wrote:
> I'm doing a simple database connection using the follow syntax:
>
>
>
> Book-O-Rama Search Results
>
>
> Book-O-Rama Search Results
>if (!$searchtype || !$searchterm)
> {
>
never mind got it "localhost:/pathto/mysql.sock" duh? :) Thanks a
million, I'm up and running.
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Jim Hankins" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent
Can you give me a syntax example. I've found my sock file but seem to be
having trouble getting it right on the mysql_pconnect line,
my sock is /var/lib/mysql/mysql.sock
Thanks in advance!
So close but yet so far. :) My first MySql project.
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in messa
Figure out where your mysql.sock file is and provide the path right in
your mysql_connect() call. "mysqladmin version" tells you the path.
-Rasmus
On Sat, 23 Mar 2002, Jim Hankins wrote:
> I'm doing a simple database connection using the follow syntax:
>
>
>
> Book-O-Rama Search Results
>
On Thursday 14 March 2002 20:01, andy wrote:
> Hi there,
>
> I know this is not a unix board, but maybe someone had to cope with the
> same problem.
>
> I have a couple of wired filenames matching all this pattern .jpeg:
>
> How can I delete all files matching this pattern recursive in all
> dire
Actually there's a nice bash command:
$ which mysql
that is supposed to show you the folder where binary is...
I mean my understanding is if there's 'mysql' binary that
means mysql is installed.
alternatively you can do this also:
$ find / mysql*// what this one will do is it will sta
locate mysqld
whereis mysql
Regards,
Andrey
- Original Message -
From: "Sean Kennedy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 7:05 PM
Subject: [PHP] trouble with telnet.
Hello,
I telneted to my web server and I would like to see if they have MySQL. Is
nt to give out bad advice :)
Rick
"The old law about "an eye for an eye" leaves everybody blind." - Dr. Martin
Luther King, Jr.
> From: Steven Walker <[EMAIL PROTECTED]>
> Date: Wed, 20 Feb 2002 19:57:48 -0800
> To: "Phillip S. Baker" <[EMAIL PROTE
er King, Jr.
> From: Steven Walker <[EMAIL PROTECTED]>
> Date: Wed, 20 Feb 2002 19:57:48 -0800
> To: "Phillip S. Baker" <[EMAIL PROTECTED]>
> Cc: PHP Email List <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Trouble with Sessions
>
> Phillip,
&
Phillip,
I had the same problem. It's even worse in IE5 since no error was
displayed, just an empty form. To circumvent this, I put PHP controls
for navigating. To go back, a button called 'modify' resubmits the data
to the form page. On my site, if the user clicks the back button, they
get h
On Wednesday, February 13, 2002, at 05:18 PM, Rick Emery wrote:
> Next time you go to the PHP Manual (dated 19-09-2001) for answers, go
> to the
> title page and count down 5 names...
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing
mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 3:59 PM
To: Lars Torben Wilson
Cc: PHP
Subject: Re: [PHP] trouble with headers
On Wednesday, February 13, 2002, at 04:12 PM, Lars Torben Wilson wrote:
> Well, PHP isn't an HTML parser and has no concept of a DOM, or the
> SGM
On Wednesday, February 13, 2002, at 04:12 PM, Lars Torben Wilson wrote:
> Well, PHP isn't an HTML parser and has no concept of a DOM, or the
> SGML-based nature of HTML, or anything like that (although there are
> extensions which do this). Essentially, PHP generates a series of bytes,
> which
On Tue, 2002-02-12 at 17:57, Erik Price wrote:
> Sorry, I debugged it myself.
>
> Don't add extra whitespace lines after you jump out of PHP mode (for
> instance, at the end of an include file, don't have any extra lines
> after the '?> PHP-jump-out mark'. The extra lines at the bottom of the
On Tuesday, February 12, 2002, at 09:10 PM, Miles Thompson wrote:
> You're right Erik. Subtle, ain't it?
>
> On the other hand, look how accepting browsers are of malformed HTML.
> I'm inclined to think that today they see the tag and 'think':
> "So, we assumed HTML anyway."
True! I supp
You're right Erik. Subtle, ain't it?
On the other hand, look how accepting browsers are of malformed HTML. I'm
inclined to think that today they see the tag and 'think': "So, we
assumed HTML anyway."
Cheers - Miles Thompson
At 08:57 PM 2/12/2002 -0500, Erik Price wrote:
>Sorry, I debugged
Sorry, I debugged it myself.
Don't add extra whitespace lines after you jump out of PHP mode (for
instance, at the end of an include file, don't have any extra lines
after the '?> PHP-jump-out mark'. The extra lines at the bottom of the
functions include file was being interpreted as the end
> I'm using PHP 4.0.6 with GD-2.0.1 and Freetype 2 compiled in. After
> playing a while with gd, I found that i can generate blank images
> with TTF text on it and can put text with imagestring on a png,
> but writing with ImageTTFText fails.
Okay, I've tried it with PNG and JPEG, nut nothing work
Give ImagePNG a try...
-Jason Garber
At 10:22 PM 10/29/2001 -0800, costa wrote:
>The text printed on this image looks sloppy and grainy. (This image is being
>generated on a linux server RH 7.1, Apache 1.3.19, with GD 1.8) I remember
>seeing something about adjusting the quality of the image, bu
> The text printed on this image looks sloppy and grainy. (This image is being
> generated on a linux server RH 7.1, Apache 1.3.19, with GD 1.8)
It looks fine on GD 2.0.1 using arial.ttf. Maybe you could try another
font?
> My question is this, is there a
> way to generate a quality image or i
What does $UPLOADFILE resolve to? getImageSize() didn't support URLs
until 4.0.5, so if you're trying to use a URL in PHP3, it won't work.
--kurt
> -Original Message-
> From: Patrick J. Militzer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 9:39 AM
> To: Php3
> Subject: [PH
I would also like to know what's going on with that error. I have gotten
that while compiling on FreeBSD.
Tyler
- Original Message -
From: "Heiko Maiwald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 3:06 PM
Subject: [PHP] Trouble with php 4.06 and Apache
> When using Cookies for session management everything works fine (the
> authentication part). But not passing the values of the session variables.
> In the example below the existence of '$ident' is verified. But no chance
to
> get its value: no 'echo' prints out anything! Even isset() denies the
hi michael,
if you read the PHP manual, i think it says something like "odbc_num_rows"
might or might not return the correct number of rows after a "SELECT"
statement. in the case of easysoft odbc driver (which is what we're using
as well), odbc_num_rows always returns -1 on a SELECT statement (
> $nameArray = array("Last", "Suffix", "Prefix", "First", "Middle");
> while (list($key, $value) = each ($nameArray)){
> if ($infoObject->$value != ""){
> echo "$infoObject->$value";#this is the problem line...
> }
> }
>
>
> If I take out the "$infoObject->" on th
> Hi all. In the project I'm working on, I've got a table with ids that are
> written based on how many records are in the table. i.e., the first
record
> has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a
> web interface, I don't want all these members using phpMyAdmin),
91 matches
Mail list logo