Im managing a really crowded webservers. We have article system implemented
in php and backend db is mysql (not my first choise but hey, it does the
job)
Few version numbers:
PHP: 4.0.6 (Self compiled, w/ gcc in solaris8)
Mysql: 3.23.24 (Self compiled, w/ gcc in solaris8, ok, not the latest
stab
Hello,
The manual says that parse_str does it. (btw, I didn't try it)
Look on the second sentence pasted here.
void parse_str (string str, array [arr])
Parses str as if it were the query string passed via an URL and sets variables in the
current scope. If the second parameter arr is
Hi
I have successfully installed PHP 4.0.6 with apache 1.3.22 on my mandrake
Linux box. Now, the problem is I am not able to send email using mail () of
php. However, I am able to send it using mail command.
Any help will be highly appreciated.
Regards
Sanjay
--
PHP General Mailing List (ht
Hi all,
I have a script that lists directory contents but I'm trying to put the
results in reverse order.
I've tried the arsort & array reverse but have so far been unable to get
them working, can somebody please help me!
Here's a look at my script:
===
Hi there,
I have a problem putting through a variable which contains an & in the
string.
When the variabele is something like:
click here
the next file sees $name as rob instead of $name=rob & sjoerd
i've tried the urlencode function but that doesn't work.
Somebody,
thanks
___
probably from 4.1.0 or 4.2
this construction will be available
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Papp Gyozo" <[EMAIL PROTECTED]>
To: "Berthold" <[EMAIL PROTECTED]>; "faeton" <[EMAIL PROTECTED]>; "PHP-General"
Hi all,
I have a fnction that needs to quote a strings in php to make them easy to
stick into an mysql db.
I need to do basically "$msg", which is easy enough, but I would like to
not quote strings that are already quoted and also escape any single or
double quotes in the string.
IS there a re
$sql="insert into some_table (".stripslashes(mysql_escape_string($your_var)).");";
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Jason Rennie" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001
Hey all,
Need some help.
Two questions:
1)
=Environment=
PHP 4.0.5
Win2k
Apache 1.3.20
MySQL ..3.24
===
I created a login page which uses MySQL to verify the username and
password.
When I run the script (submit the html form), PHP returns this error:
"The instruction at 0x10091c
Hi, could anyone tell me what is wrong with this Insert query? I get an
'Invalid query' error but I can't see the problem at all. All the fields
match exactly what is in my database, it's all in lowercase too.
Cheers.
mysql_query ("INSERT INTO listserve (title, surname, forename, job_title,
o
Hi there!
I want to do the following piece SQL query :
$search .= " ba = '".$b."'";
I want it to be like the following :
ba = 'someting'
But this is what i get :
ba = \'someting\'
What am i doing wrong?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Hi, could anyone tell me what is wrong with this Insert query? I get an
'Invalid query' error but I can't see the problem at all. All the fields
match exactly what is in my database, it's all in lowercase too.
Cheers.
mysql_query ("INSERT INTO listserve (title, surname, forename, job_title,
o
John,
Question 1,
are you using PHP as ISAPI or CGI?
"John Monfort" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hey all,
> Need some help.
>
> Two questions:
>
> 1)
>
> =Environment=
> PHP 4.0.5
> Win2k
> Apache 1.3.20
> MySQL ..3.24
> ===
>
Hi,
I have some HTML including several pseudo tags like
After parsing I have an array $content[$i]["name"] where "name" is the name
of the parameters and $i the Counter of the tag. I'm using a regular
expression to find these tags and explode(" ", $my_tag_line) to geht the
parameters out. How ca
Hi,
I have a small question? Does anyone know (or has written) a function about
"digit grouping symbols", that means:
when I have a value of 1000, it should print out like this: 1.000
The same when I have a value of 100, it should give 1.000.000
Does anyone know how to do it? Thanks in advan
Used to happen the same here when I was using PhpMyAdmin. On large
consults, it would lock.
Passing from CGI to module solved all my problems. On the manual you can
see the necessary lines to do such.
--
Julio Nobrega
No matter where you go, &this.
"Lallous" <[EMAIL PROTECTED]> wrote in m
Worry not, easier typing:
$search .= " ba = '$b'";
If above doesn't satify the needs, maybe you are mysql_escape_string();
it?
--
Julio Nobrega
No matter where you go, &this.
"De Necker Henri" <[EMAIL PROTECTED]> wrote in message
3A8ED7A62794D311AA7700508B6164EC08DCA3E5@SCPTS01">news:3A8
Function number_format(); should do the trick for you, maybe with the help
from str_replace('commas' for 'dots');
--
Julio Nobrega
No matter where you go, &this.
"Sascha Ragtschaa" <[EMAIL PROTECTED]> wrote in message
7208FD73D511B7040050BF68EF1E027A09@MUCMAIL">news:7208FD73D511B7040
Do those field names need single quotes too? Can't remember right now ...
Are there any datatype problems (wrong kind of datatype for a field)?
What about a semi-colon at the end?
Mick
On Thu, 29 Nov 2001, Payzillee wrote:
> Hi, could anyone tell me what is wrong with this Insert query? I ge
Hello,
Wonder if anyone can help me out.
I am trying to run an example out of a book Beginning Php by wrox.
One of the examples is supposed to allow me to connect to a database by
using a function that takes a database as an argument. It has an include
file that contains the function.
Problem
take a look at your table definiton.
maybe some of your fields have a diferent definition as the value you want
to insert. e.g.
fax_number in your query-string is defined as string and in your table as
integer or something like this
regards
martin
-Ursprüngliche Nachricht-
Von: Payzillee
I've got my names, web addresses etc. set up as Varchar and my telephone/fax
numbers as Bigint. Special interests field as text. Only other field in
the database is an auto increment number field.
"Michael Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
Could be that the value you're trying to insert doesn't match up with
the field type in the database - you know, putting a word in a number
field. What exactly is the error message?
Payzillee wrote:
>Hi, could anyone tell me what is wrong with this Insert query? I get an
>'Invalid query' err
error message is 'Invalid Query'.
"Douglas McKenzie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Could be that the value you're trying to insert doesn't match up with
> the field type in the database - you know, putting a word in a number
> field. What exac
> - can have one process more than one persistent connection ?
I dont quite understand this. What do you mean ?
> - how many children of apache do u have in one time ?
Depending on load, around 250-350. Heavily changes between nights and
businesshours and weekends.
> - php.ini means confi
that seems to be easy:
put every string and varchar in single quotes eg '$surname'
and every number like $fax_number without quotes
regards martin
-Ursprüngliche Nachricht-
Von: Payzillee [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 29. November 2001 13:16
An: [EMAIL PROTECTED]
Betre
I'm using it as CGI.
Note: I've developed these types of pages many times(on the same system).
I've never seem this error before.
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, ar
definitely you need "&" to be replaced with "&" ...
it will work ...
Peter
> -Original Message-
> From: Oosten, Sjoerd van [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 10:45 AM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] problem with urlencode
>
>
> Hi there,
>
> I
How can I search a MySQL database field that contains sentences (VARCHAR
datatype) or entire texts (TEXT datatype) for single words?
Let's say I want to search 100 articles stored in a database field as TEXT
for the word "bingo", is there any SQL or PHP way of doing that?
Mick
--
$word = 'bingo';
$sql = "SELECT a_column FROM table WHERE text_column LIKE '%$word%';
$res = mysql_query($sql);
// etc... for displaying results
Resuming:
% on the beggining - doesn't matter what comes before
% on the end - doesn't matter what comes after
--
Julio Nobrega
No matter where
You could try something like this:
SELECT * FROM database WHERE text LIKE '%bingo%'
Rick
> How can I search a MySQL database field that contains sentences (VARCHAR
> datatype) or entire texts (TEXT datatype) for single words?
>
> Let's say I want to search 100 articles stored in a database fie
My output is still the same!
It looks like this : ba = \'DA\'
:)
-Original Message-
From: Julio Nobrega Trabalhando
[mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 13:54
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Need help with a stupid problem!
Worry not, easier typing:
$search .=
> $word = 'bingo';
> $sql = "SELECT a_column FROM table WHERE text_column LIKE '%$word%';
> $res = mysql_query($sql);
> // etc... for displaying results
>
> Resuming:
> % on the beggining - doesn't matter what comes before
> % on the end - doesn't matter what comes after
Yes, which means
and what about this ...
$sql = "SELECT a_column FROM table WHERE text_column LIKE '% $word %';
matching the word in the text ...
$sql = "SELECT a_column FROM table WHERE text_column LIKE '$word %';
matching the word at the begining of the text ...
$sql = "SELECT a_column FROM table WHERE text
This might interest you:
http://marc.theaimsgroup.com/?l=php-general&m=100453803524687&w=2
You can install Winzip on the machine, then shell out to unzip the file.
Robert V. Zwink
http://www.zwink.net/daid.php
-Original Message-
From: Emiliano Marmonti [mailto:[EMAIL PROTECTED]]
Sent: T
On Thu, 2001-11-29 at 14:59, Zozulak Peter wrote:
> and what about this ...
>
> $sql = "SELECT a_column FROM table WHERE text_column LIKE '% $word %';
>
> matching the word in the text ...
>
> $sql = "SELECT a_column FROM table WHERE text_column LIKE '$word %';
>
> matching the word at the beg
when compiling php version 4.06 with '--enable-trans-sid' and thereafter
setting 'session.use_cookies off'.
Does anyone know why the url rewriting works like this:
- when it encounters a 'href' it do rewrite
- when it encounters a header("Location: test.php"); it does not rewrite
- when it encoun
I am trying to set up a session setup that saves session data to a mysql
database.
I have gone into php.ini and set session.save_handler to user.
I call the following include file up using
session_set_save_handler("open", "close", "read", "write", "destroy",
"gc");
(of course I have labeled eac
> When I run the page this is on, I get a parse error at the line where
> function session_open is in the include file (see below)
> Any idea why? Thanks
Hmm, it doesn't look like there is any reason why you would be getting
an error on that line. Have you tried going directly to that page usin
Try;
SELECT whatever FROM articles WHERE textlines LIKE "%searchword%"
Two warnings;
1) This will force a "table scan" (the contents of each row in the entire
table because there can be no index to support faster searching of contents
that float in the column) which will be very slow on a large
BTW...
Can anybody tell me where the words
foo and bar
come from?
Thanx,
Kiko
-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
http://info.astrian.net/jargon/terms/f/foo.html
Btw, it was just a matter of googleing for 'foo bar origins'.
--
Julio Nobrega
No matter where you go, &this.
"Christoph Starkmann" <[EMAIL PROTECTED]> wrote in message
B120D7EC8868D411A63D0050040EDA77111904@XCHANGE">news:B120D7EC8868D411A63D0
Hi
I'am totaly new in php i work always with asp.
I give the folowing hidden fields to a php script
and in my php script i try to make my connection as follows:
$conn = mysql_connect('%s','%s','%s',$connectie,$uid,$pwd);
mysql_select_db('%s',$database,$conn);
but i keep getting this error:
Actually the sql statement you want is
select whatever from articles where textlines regexp "^\Sbingo\S$"
regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key
- Original Message -
http://www.tuxedo.org/~esr/jargon/html/entry/foo.html
HTH
Jon
-Original Message-
From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 14:54
To: '[EMAIL PROTECTED]'
Subject: [PHP] foo-bar
BTW...
Can anybody tell me where the words
foo and bar
come from?
Thanx
It looks OK, but I have lousy track record of writing out "perfect" sql
which doesn't work. Syntax looks OK.
1. What does it look like if you write out the update statement, assign it
to a var and then echo the var?
2. Can you try it at the console?
3. Try " or die(mysql_error) ;" to see if yo
You've got too many parameters in the mysql_connect() and mysql_select_db()
functions. You don't need the %s stuff. Here's what it should be:
$conn = mysql_connect($connectie,$uid,$pwd);
mysql_select_db($database,$conn);
Good luck,
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www
Christoph Starkmann wrote in
B120D7EC8868D411A63D0050040EDA77111904@XCHANGE:">news:B120D7EC8868D411A63D0050040EDA77111904@XCHANGE:
> Can anybody tell me where the words
>
> foo and bar
http://www.tuxedo.org/~esr/jargon/html/entry/foo.html>
http://www.tuxedo.org/~esr/jargon/html/entry/bar.html>
In the include file, call it ""dbname.inc",
and then at the top of a page needing the database ...
Hi
>
>I'am totaly new in php i work always with asp.
>I give the folowing hidden fields to a php script
>
>
>
>
>
>and in my php script i try to make my connection as follows:
>
>$conn = mysql_con
Hi all!
I have a little problem here : )
A customer wants a order made by a forminput sent to fax. Is it possible
with php? Or do I have to do it some other way?
Best regards Raymond
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
can it be index_forum1 instead of index_forum. This code presumes that it's possible
while($group = $db->fetch_array($queryg)) {
if($group[type] == "group") {
$bg = 1- $bg;
eval("\$forumlist .= \"".template("index_category".($bg+1)."\";");
if($catsonly != "on" || $gid) {
$query
$conn = mysql_connect($connectie,$uid,$pwd);
mysql_select_db($database,$conn);
%s is used in printf, sprintf
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Tommy Straetemans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
We run on a Windows platform. If a client uploads an image to my script
that is too wide, I want to use GD to resize the image down to the proper
dimensions.
The problem I'm having is that the resized image drops huge chunks of the
color pallette, creating what is basically a monochromatic image
I would like to know if there is a way to store objects globally from a
php-page, so that the object can be used from another page.
/Stefan B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
If the problem is just the web address, etc., in the bottom of the page, that can be
turned off.
In NN, File/Page Setup and uncheck the boxes in the header and footer
In IE, File/Page Setup and remove the stuff in the header and footer fields.
Lauri Vain wrote:
> Hello,
>
> A client requeste
> I would like to know if there is a way to store objects
> globally from a php-page, so that the object can be used
> from another page.
Yes, using sessions or cookies.
Chris
Hello all,
when I want to do an upload ( form ENCTYPE="multipart/form-data"
action=" . $PHP_SELF . " method="post">), sometimes ( having in form,
several input file types, ex.:), after
submit , dont show me the values uploaded ( aa_name ; aa_type) ?? Any
ideas why ?
thanks for your time...
--
Best
Simultaneously? Or you want them preloaded and constructed in memory on every page
request?
Regards,
Andrey
- Original Message -
From: "Stefan Bergstrand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 5:56 PM
Subject: [PHP] Global storage of objects.
>
Hi Stefan!
> I would like to know if there is a way to store objects
> globally from a
> php-page, so that the object can be used from another page.
Why not writing these objects to a *.php document which you can
include wherever you need it?
HTH,
Kiko
-
It's not a bug, it's a feature.
ch
var_dump($HTTP_POST_FILES);
HTH
Andrey Hristov
- Original Message -
From: "Miguel Loureiro" <[EMAIL PROTECTED]>
To: "php-gen" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 6:04 PM
Subject: [PHP] upload problem
> Hello all,
> when I want to do an upload ( form ENCTYPE="multipart
Hello everyone!
I'm wondering if you guys could suggest a hosting company that provides:
php4
mySql
qmail
ezmlm (or ezmlm-idx).
I have been with csoft.net, which was wonderful and which provided
all of these things, but last night they decided to pull down my web
site for six hours without not
> select whatever from articles where textlines regexp "^\Sbingo\S$"
Again, that would fail if the word 'bingo' is and the end of the sentence.
Allthou i realized my own example doesnt work either in that case. Best way
would be remove all characters like ,.!? and and split the string into
words.
http://www.ispcheck.com
HTH
Andrey
- Original Message -
From: "Sondra Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 6:02 PM
Subject: [PHP] Ezmlm Hosts besides csoft.net?
> Hello everyone!
>
> I'm wondering if you guys could suggest a hosting co
> A customer wants a order made by a forminput sent to fax. Is it possible
> with php? Or do I have to do it some other way?
Hey, php is a programming language, it does what ever you want (up to
certain restrictions ofcourse)
But for pointers, try installing hylafax (if you run *nix that is) an
> I would like to know if there is a way to store objects globally from a
> php-page, so that the object can be used from another page.
Keyword is Serialization. If you save object to flatfile or to db, i dont
see any point why the result wouldnt be accessible from other places
(providing that th
Hey all,
Has anyone else had problems with memory leaks using PHP's LDAP functions?
I put together a LDAP server the other day, and wrote a PHP program to test
it. I've stripped this program down to basically a ldap_connect, ldap_bind,
ldap_search on objectclass=* , ldap_get_entries, ldap_free_
Have a look at the path to sendmail in your php.ini file. To get mine
to work I had to set it to '/usr/sbin/sendmail -t -i'. Your path may be
different, but the -t and -i switches are important.
- Ben
Sanjay wrote:
> Hi
>
> I have successfully installed PHP 4.0.6 with apache 1.3.22 on my m
Hi List,
I'm having some troubles with APC and was wondering if anyone else had seen
this and perhaps knew of a solution...
Basically, random pages at random times cause the script to run out of
memory. This first happened with the default 8Mb limit, so I upped it to
20Mb but the problem rem
Thanks, that sounds great! I have to admit that i am pretty new with this
php language.
But to get this work, I have to use a "faxprogram"? and then send the
forminput to this program? That redirect the data to a fax?
I'll see what kind of program I can get.
"Jani Mikkonen" <[EMAIL PROTECTED]>
I have previously done this by creating either a text or PDF document with
PHP and then passing it off to HylaFAX.
The only problems I was having was that I would create a legal size PDF.
When I sent it through HylaFAX, the destination fax machine would not
scale the PDF to various size paper, o
I need to edit a entry into the database via an admin script, how do I work in a radio
selection
box, and populate it with the correct selection?
=
Dan McCullough
---
"Theres no such thing as a problem unless the servers are on
Nop, doesn't work - the same result, supplied argument is not valid
file handler...
Youri
> Global variables are not really global in php because they are not
> available from within functions unless you specifically declare them
> as global. This should work:
>
> 130 function get_line {
>
Hello Sjoerd,
U can try using htmlentities().
OSv> I have a problem putting through a variable which contains an & in the
OSv> string.
OSv> When the variabele is something like:
OSv> click here
Ivan 'Faeton aka xetrix' Danishevsky
ICQ(240266) [
How are you passing the name of the database? Are you replacing 'sample_db'
in the line:
$link_id = db_connect('sample_db');
in show_more_db.php?
If so, then I do not see where there would be a problem.
Fred
Ian <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello Dan,
Thursday, November 29, 2001, 7:11:22 PM, you've written:
DM> I need to edit a entry into the database via an admin script, how do I work in a
radio selection
DM> box, and populate it with the correct selection?
Something like that, maybe :)
I have a PHP script that outputs several lines of comma separated values.. I
would like to display this output in Excel without having to write the
output to a file with a .csv extension and redirecting.
I have tried setting the content-type: application/vnd.ms-excel and Excel
isn't happy.. it co
ew
How about:
?>
>On-Line
>Off-Line
Here is what I did.
>if ($edit[status]=="On-line") {
>print "Status: \n";
>print "On-line\n";
>print "Off-line\n";
>print "\n";
>} else {
>print "Status: \n";
>print "On-line\n";
>print "Off-line\n";
>print "\n";
>}
>//and
>if ($edit[single]=="1") {
>p
Can anyone email me directly and tell me how to subscribe to this list?
Thanks,
Steve Osborne
Database Programmer
Chinook Multimedia Inc.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
>
>
>
And if you want to make one of those selected use something like this:
>
>
>
--
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 PROTE
Hello Mike,
And cleaner:
';
print '';
?>
:)
ME>
ME> selected="selected"'; } ?>>On-Line
ME> selected="selected"'; } ?>>Off-Line
ME>
ME> There's much better/general ways to do it, but the above is a nice,
ME> clean, quick and dirty way of doing it. Yes, clean and dirty. ;)
Here is what I did.
if ($edit[status]=="On-line") {
print "Status: \n";
print "On-line\n";
print "Off-line\n";
print "\n";
} else {
print "Status: \n";
print "On-line\n";
print "Off-line\n";
print "\n";
}
//and
if ($edit[single]=="1") {
print "Single: Yes or No
\n";
} else {
print "Single:
Can anyone explain why I am getting the following error?
Fatal error: Call to unsupported or undefined function in_array() in
includes/chinlib21stCentury.inc on line 3131
Code:
if( (is_array($List)) AND (is_array($RemoveList)) )
{
$ListItems = count($List);
sort($List);
for($ListItem=0;
I am being hosted by South West Bell, and my php files are not even
recognized. They are stored in the correct folder, but SWB ONLY allows
read/write permissions, and NO chmod access. The tech support guy told me
that I have to code the Execute permission in my php file. Is that true?
and if so
Steve,
What version of PHP are you running. in_array is >= 4.0. is_array was in 3.0
so this may be an issue for you.
Gerard
-Original Message-
From: Steve Osborne [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 3:08 PM
To: PHP-General (E-mail)
Subject: [PHP] in_array error
On Thu, 29 Nov 2001, Mike wrote:
>-I am being hosted by South West Bell, and my php files are not even
>-recognized. They are stored in the correct folder, but SWB ONLY allows
>-read/write permissions, and NO chmod access. The tech support guy told me
>-that I have to code the Execute permissio
Are you using GD 2.0.1 and PHP 4.0.6? If yes then try
$dst_img = ImageCreateTrueColor ($new_w,$new_h);
(http://www.php.net/manual/en/function.imagecreatetruecolor.php)
-Andy
> -Original Message-
> From: Michael Hall [mailto:[EMAIL PROTECTED]]
> Subject: color problems when resizing
Super new to PHP but I'm putting in the effort to learn quickly.
How would I output the user's IP address in a php file.
I want the webpage to say...
Your IP address is xx.xx.xx.xx
thanks
Ken Savage
http://kensavage.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
BTW, could anybody share its experience in writing scripts that can
resize images? And what extensions should be installed on server 4
such operationz.
Thanx.
--- Hit any user to continue. --- :)
Ivan 'Faeton aka xetrix' Danishevsky
ICQ(240266) [
On Thu, 29 Nov 2001, Ken Savage wrote:
>-Super new to PHP but I'm putting in the effort to learn quickly.
>-How would I output the user's IP address in a php file.
>-
>-I want the webpage to say...
>-
>-Your IP address is xx.xx.xx.xx
Try finding it in these variables:
$HTTP_SERVER_VARS["REMOT
Your IP address is
That is all case sensitive too, by the way.
Mike
Ken Savage wrote:
>Super new to PHP but I'm putting in the effort to learn quickly.
>How would I output the user's IP address in a php file.
>
>I want the webpage to say...
>
>Your IP address is xx.xx.xx.xx
>
>thanks
>Ken Sav
Maybe, but where I come from, printing HTML is illegal, and XHTML
compliance must be 100%, so:
>
>
Mike
faeton wrote:
>Hello Mike,
>
>And cleaner:
>print '';
>print ''').'>';
>?>
>
>:)
>
>ME>
>ME> ME> selected="selected"'; } ?>>On-Line
>ME> ME> selected="selected"'; } ?>>Off-Line
>ME>
>ME>
[EMAIL PROTECTED] (Faeton) wrote:
> BTW, could anybody share its experience in writing scripts that can
> resize images? And what extensions should be installed on server 4
> such operationz.
here are some examples:
http://www.zend.com/codex.php?CID=344
you need GDlib installed or a command
I'm using php 4 on my machine, however the server that I am testing on only
supports php3
- Original Message -
From: "Gerard Onorato" <[EMAIL PROTECTED]>
To: "Steve Osborne" <[EMAIL PROTECTED]>; "PHP-General
(E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:29 AM
Subj
Hello Henrik,
That should be oK 4 my server, but how about my home apache+php on
win? Any solution?
HH> here are some examples:
HH> http://www.zend.com/codex.php?CID=344
HH> you need GDlib installed or a command line tool such as imagemagick.
Iv
On Wed, 28 Nov 2001 20:57:41 +0100 impersonator of [EMAIL PROTECTED] (Zeev
Suraski) planted &I saw in php.general:
>There were some last minute issues that required further testing...
>
It could be stated on the site, or (and) tar could be re-moved. As far as
I am concerned, as soon as something
Hi,
I got a linux server with many domain names using PHP and various
Database. Theses applications exists and were developped with this
settings in php.ini :
magic_quotes_gpc= Off
magic_quotes_runtime
= Off
magic_quotes_sybase = Off
Now for a new application using a sybase serve
I have had success using tab delimted files instead of comma delimited
files. For some reason Excel does not behave as expected when opening csv
files from the web. At least, it acts differently than it does when opening
them from the local disk. At any rate, I use tabs to delimit fields and ne
Hello Alain,
In httpd.conf (or .htaccess) you can make:
php_value magic_quotes_gpc On
php_value magic_quotes_sybase On
Yeah, just like that :)
AD> magic_quotes_gpc= On
AD> magic_quotes_sybase = On
AD> The problem is that if i modify the php.ini file the other applications
AD> wil
You will not be able to use this and many other functions on a php3 only
machine. For your convenience, all of the function references in the manual
state which versions of php support them and which do not.
Fred
Steve Osborne <[EMAIL PROTECTED]> wrote in message
008401c17916$dd87f200$[EMAIL PR
[EMAIL PROTECTED] (Faeton) wrote:
> Hello Henrik,
>
> That should be oK 4 my server, but how about my home apache+php on
> win? Any solution?
no problem just grab the php dist from php.net it has an gd extension
with it. If you want gif support also look for a build at php4win.de
--
Henrik
1 - 100 of 152 matches
Mail list logo