Hi friend,
I am using the SMTP server which needs authentication.
When I use
mail([EMAIL PROTECTED],"Thanks for
visiting","From:[EMAIL PROTECTED]");
I am getting server error on the line which is having this mail
function.
How can I resolve this problem?
Php.ini settings
=
Ask them.
Seriously, PHP is a server-side platform. The only information about the
client that you're possibly going to be able to get is what is passed to
you either through the headers of a request (basically just the remote
address and some browser information), or what the user tells you
thr
Thanks,
Only one concern. Are there any security issues. And I suppose more
importantly, if there are; is there a way to get the php-script to ensure
that is is being invoked by my cron deamon. Should I put the page in a
directory and use .htaccess to control security. Or can I check the referrer
On Wednesday 03 July 2002 00:24, you wrote:
> Hi Jason,
> when I am trying to send email through email.php
> I have got following errors.
>
> =
> Warning: Server Error in c:\www\imac\email.php on line 18
>
> Warning: Server Error in c:\www\imac\email.php on line 22
>
Henry,
lynx --dump http://www.domain.com/myfile.php
"man lynx" for details. You can run it from cron.
HTH
Chris
Henry wrote:
>PS. I cannot compile as a binary etc. This configuration is the confi of the
>shared server I am using which is hosted by a third part.
>
>Henry
>
>
>
--
PHP Genera
Your form action parameter has an absolute url specifying an https
protocol. When the browser submits the form, it uses the url you specify
which is https. So the request is going to be encrypted. You might
consider serving the form page from https as well to kind of tighten
things up a little, bu
Hi jason,
Thankyou for the prompt reply.:-)
here is the code.
Actually line number 18 and 22 are having mail functions..that why I
didn't send source code.
Here is the source code..
==
just visited your site and submitted the form
at www.auburn.edu/helpd
On Tuesday, July 2, 2002, at 01:00 PM, Henry wrote:
> Only one concern. Are there any security issues.
> And I suppose more
> importantly, if there are; is there a way to get the php-script to
> ensure
> that is is being invoked by my cron deamon. Should I put the page in a
> directory and use
thanks for the insights. :)
basically the 2 files are from 2 different domains saving to the same
database server. the 2 sites share the same userbase. and when the
registration form is submitted to the 2nd site, upon successful
registration, it will redirect back to the 1st site and display
On Wednesday 03 July 2002 00:52, Balaji Ankem wrote:
> I am using the SMTP server which needs authentication.
I don't think the built-in mail command handles authentication.
Google > php smtp auth
that should point you in the right direction.
--
Jason Wong -> Gremlins Associates -> www.grem
It is possible to use arrays within strings, just skip ''.
Write
$name="My $name[name]";
instead
Hugo
"Matt Williams" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tuesday 02 July 2002 13:49, Uwe Birkenhain wrote:
>
> > Hi,
> > I upgraded to 4.2
Well after searching around I have found nothing really but a bunch of
questions about this problem.
I can run php 4.1.2 just fine with no troubles
When I install 4.2.1 I started getting Emalloc() errors on some pages.
The pages that seem to cause errors are pages that access the database,
but n
Did you remember to compile ODBC into PHP?
./configure --help shows these odbc options:
--with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base
install directory, defaults to /usr/local.
--with-unixODBC[=DIR] Include unixODBC support. DIR is the uni
Hey all!
I'm trying to get this darn eregi_replace() to work, but it doesn't produce any
results at all.
I want it to find all occurances of PHP variables. Here is the regexp
$output = eregi_replace("^[\$]{1,2}[a-zA-Z][0-9]+$", "\\1", $var);
As you might guess this is for a syntax highlighti
I'm having to learning new languages faster than I'm having hot dinners.
When I say learn I don't mean become some sort of guru, just enough to get
by. If I wanted to do it in perl (and I know this isn't the right newsgroup,
but please excuse me), how would I access a mysql server?
Besides that,
On Wednesday 03 July 2002 01:40, Martin Clifford wrote:
> Hey all!
>
> I'm trying to get this darn eregi_replace() to work, but it doesn't produce
> any results at all.
>
> I want it to find all occurances of PHP variables. Here is the regexp
>
> $output = eregi_replace("^[\$]{1,2}[a-zA-Z][0-9]+$
I am trying to get the value of a frames path into a PHP variable. Is it
possible to access DOM values from PHP?? If not how do I set a PHP variable
to the value of the window.frame.path that I get in javascript?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Imagine I have a piece of text
"Dear [firstname]
Thankyou for purchasing [product] on [date].
We're sure you'll be very [expectation].
Ta Very much."
Whats the easiest way to replace all the things in square brackets with
variables of the same name.
i.e. $firstname, $product, $date, $expecta
PHP is server-side. You're discussing client-side issues. You'll need to
find a way of submitting the information to the server and then PHP can
process it from there.
-Original Message-
I am trying to get the value of a frames path into a PHP variable. Is it
possible to access DOM valu
Has anyone had a problem where PHP created to many open files and crashed
apache?
B i g D o g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yesterday I could do this (all on one line);
exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o
cdrlist.html https://theserver.com/list.html";);
This is the one that worked, not the other one with the variables. Now this
one does not work and I don't insert any variables in
No. Only you. :-)
Platform? Environment? Configuration information?
..mike..
On Tue, 2002-07-02 at 11:01, B i g D o g wrote:
> Has anyone had a problem where PHP created to many open files and crashed
> apache?
>
> B i g D o g
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsu
Even this:
$output = preg_replace("/^[\$]{1,2}[a-zA-Z][0-9]+$/", "\\1", $var);
echo $output;
Doesn't work. It just takes whatever you put into $var, then puts it into $output,
and outputs it to the screen.
I want to change anything resembling a PHP variable, i.e. $var, $$var or &$var to
$var
Nothing will be inserted if the variable is empty, so you could just use
$firstname, $product, $date, etc. inside your "letter". The main problem is
adding logic to your "letter" to respond appropriately based on the value of
different variables. For example:
$MailBody = "";
if (empty($firstnam
Sorry bro...doing to many things at once.
Apache 1.3.23
Linux 7.2
PHP 4.1.2
Configuration:
./configure
--with-apxs=/usr/local/apache/bin/apxs
--with-sybase-ct=/sybase
--with-mysql' '--enable-exif
--with-gd
--with-jpeg-dir=/usr/lib
--with-png-dir=/usr/local/lib
--with-
Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth
my time and trouble to upgrade to a newer version of PHP? Is this hard
to do? Any links to info on how to upgrade ??
Thanks!
On Tuesday, July 2, 2002, at 01:40 PM, Martin Clifford wrote:
> I'm trying to get this darn eregi_replace() to work, but it doesn't
> produce any results at all.
>
> I want it to find all occurances of PHP variables. Here is the regexp
>
> $output = eregi_replace("^[\$]{1,2}[a-zA-Z][0-9]+$",
Takes the time of the download + 5minutes
Download the full version of php... extract the zip file to where php is
currently... then copy the new versions of php.ini and php4ts.dll into your
c:\windows\ directory... Then make any minor changes you need to to the
php.ini and voila all done (don't f
Nothing will be inserted if the variable is empty, so you could just use
$firstname, $product, $date, etc. inside your "letter". The main problem is
adding logic to your "letter" to respond appropriately based on the value of
different variables. For example:
$MailBody = "";
if (empty($firstnam
On Wednesday 03 July 2002 02:10, Phil Schwarzmann wrote:
> Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth
I was going to say php 4.0.5 has a vulnerability, but then you're using Win98
:)
> my time and trouble to upgrade to a newer version of PHP?
Before you upgrade
Thanks Ed,
I would like to do that, but I'm not hard coding the letters myself. I'm
trying to provide a way for others (to provide the text, who know nothing
about the underlying processes) and do the search and replaces on the fly.
Henry
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROT
I think there were security updates in the newer version that you'll benefit
from, so it's worth your time. Check the README file for the new download.
There are notes on upgrading.
-Original Message-
Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth
my time and tr
PS> Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth
PS> my time and trouble to upgrade to a newer version of PHP?
yes. It should take about 15 minutes, unless your download connection
is slow. :)
PS> Is this hard to do?
No.
Download zip file. Extract contents. Move a
It sounds like you need to use templates. I haven't played with them much
so I can't give specifics, but I hope that points you in the right direction
=)
-Original Message-
I would like to do that, but I'm not hard coding the letters myself. I'm
trying to provide a way for others (to pro
On Wednesday 03 July 2002 01:59, Martin Clifford wrote:
> Even this:
>
> $output = preg_replace("/^[\$]{1,2}[a-zA-Z][0-9]+$/", "\\1", $var);
> echo $output;
>
> Doesn't work. It just takes whatever you put into $var, then puts it into
> $output, and outputs it to the screen.
>
> I want to change
php 4.2.1. On the php.net website, the odbc_fetch_array webpage, it stated
that it become unavailable with around php 4.1.1. Some of the other odbc
functions became unavailable also.
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tu
On Tuesday, July 2, 2002, at 01:52 PM, Henry wrote:
> Imagine I have a piece of text
>
> "Dear [firstname]
>
> Thankyou for purchasing [product] on [date].
>
> We're sure you'll be very [expectation].
>
> Ta Very much."
>
> Whats the easiest way to replace all the things in square brackets with
Perfect
Thankyou
Henry
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Tuesday, July 2, 2002, at 01:52 PM, Henry wrote:
>
> > Imagine I have a piece of text
> >
> > "Dear [firstname]
> >
> > Thankyou for purchasing [product] on [date].
> >
Hallo Matt,
thank you for the explanation and for the manual-link!
But - correct if I'm wrong - that has been possible before! Or not?
Uwe
Matt Schroebel schrieb in Nachricht
<4B08FD7DB3CBD4119F560002A508C453015B3851@hsus3>...
>> "Parse error: parse error, unexpected
>> T_ENCAPSED_AND_WHITESPA
Hi Again! I missed part of the past responses to the past posting over the
last few days because I had it cleaned from MS-Outlook folder. So, feel
free to provide some feedback on the transformation from the script with
register global turned on to off. Need some feedback on hiding the $SID
fro
> -Original Message-
> From: Hugo Wetterberg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 1:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] $name = "My $row['name']" not longer possible?
> It is possible to use arrays within strings, just skip ''.
> Write
> $name="My $
I'm having a small problem understanding Alpha channels. I thought that the
Alpha Channel was the level of transparency but the following code does not
seem to work.
$DI = 50;
$MOD = 127/$DI;
ImageAlphaBlending($im, true);
for ($x=0; $x<$DI; $x++) {
$AL = 127-$MOD*$x;
$GLColor=
You will need to upgrade Apache to 1.3.26 due to security hole. As we all
know, Windows is very vulerable to virus like worms, so with the Apache's
hole, it make it easier for hte virus to get in. So, better upgrade to
1.3.26 as soon as possible, this is where hte hole had been fixed.
FletchSOD
Unless you have your php.ini file configured differently, simply adding
session_start(); at the top of each page will make the session available
without having to pass the SID through the URL string. Not that there is
anything wrong or insecure by passing the session id through the URL string.
-K
Has anyone tested the dbx functions with huge results 1+ records
returned?
How does the performance handle?
Thanks,
B i g D o g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
subscribe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi :)
Given I have some content embedded on my page by calling a remote JS and
occasionally the URL for the remote script is down causing my page to be
slow or fail, can I use the following example as a means to test and timeout
the remote server and skip the embedded JS, if the remote server isn
Or just fopen() would work fine.
-Kevin
- Original Message -
From: "Verdon Vaillancourt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 1:37 PM
Subject: [PHP] Test if URL is alive before including a remote JS
> Hi :)
>
> Given I have some content embedded on my
Hi all:
I'm trying to write files for PDAs (pdb type) from a PHP script.
I've tried to use PHP-PDB from SourceForge but can only give a name to the
database, I cannot add any record (pretty bad for a database, no?).
Is someone could help with, that'd be fantastic! Either with that library or
w
Hello,
I have a PHP script which gets data from a MySQL database and
returns an image. So returns the image of
id 3 from the database. What I really want is to state width is 100 and
height is 100 for example so I do not have to downlaod the entire
picture and specify the width and height
Hi, if you can find a web host that offers ALL these services, i will eat my
hat on my webcam to the whole club:
Usenet Newsgroup.
at least 200MB space
Perl/CGI support (optional)
PHP - note: must have GD library installed!
MySQL
SHOUTcast web radio
Reseller account option
at least 300MB per mont
Thanks Kevin,
Do I need to include 'fclose ($fp);' in there somewhere in this case?
On 7/2/02 3:41 PM, "Kevin Stone" <[EMAIL PROTECTED]> wrote:
> Or just fopen() would work fine.
> -Kevin
>
> - Original Message -
>> Hi :)
>>
>> Given I have some content embedded on my page by calling
subscribe [EMAIL PROTECTED]
matthew de Jongh
president
the spa! internet
voice (413) 539-9818
www.the-spa.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is a newsgroup for PHP discussion. This is not a PHP discussion, so it
is a spam mail. Please refrain from using it.
"Tony Harrison" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, if you can find a web host that offers ALL these services, i will eat
Analysis & Solutions wrote:
> On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote:
>> is there a unix like ~/ , to access to root directory of my site
>
> Does $_SERVER['DOCUMENT_ROOT'] help?
>
> Whenever you have a question like this, run phpinfo() and see what's there
> which produces
This is a PHP newsgroup, it is for PHP discussion. This is not a PHP
discussion, so it is a spam mail. Please refrain from using it.
"Matthew" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> subscribe [EMAIL PROTECTED]
>
> matthew de Jongh
> president
> the s
I think calling it spam is a bit harsh! Offtopic maybe, but it is a genuine
enquiry to an audience i think can help with the matter. So, I stand by my
post!
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a newsgroup for PHP discussion.
On Tuesday, July 2, 2002, at 03:50 PM, Tony Harrison wrote:
> Hi, if you can find a web host that offers ALL these services, i will
> eat my
> hat on my webcam to the whole club:
Do you know the origin of that expression? It refers to a period when
sugar was sold in paper cones, known as "h
Does anyone know anyway to synchronize calls to php functions.
I was thinking of writting a hack that uses a lock file on the server put if there is
a proper way to do it then I would
rather use that.
Any suggestions would be good.
|---|
On Tue, 2 Jul 2002, Hugo Wetterberg wrote:
> I have a problem with pdf_show_boxed(), it doesn't output anything.
> Everything else shows up just fine. Is there something that I have
> overlooked in this code?
>
> pdf_show_boxed (
> $pdf,//Object
> $issuedesc, //text
> 70,//left
> 700
Now I'm getting this error each time I upload a file...
Warning: Unable to open 'none' for reading: No such file or directory
in /home/.../upload3.php on line 7
why is it saying 'none' ??
Sorry about thatI beefed.
On Tue, Jul 02, 2002 at 09:55:13PM +0200, Nightshade wrote:
>
> Do you advice me to use
> $_SERVER['DOCUMENT_ROOT'] . remaining_path/
> in all my files?
I use relative paths in most circumstances. Makes things easier to move
between my development machine and the actual web servers.
Enjoy,
-
Are you not promoting a hosting service? What is your inquiry?
-Original Message-
I think calling it spam is a bit harsh! Offtopic maybe, but it is a genuine
enquiry
> > Hi, if you can find a web host that offers ALL these services, i will
eat
> my
> > hat on my webcam to the whole clu
He is looking for a web hosting company that has what he has listed below...
B i g D o g
- Original Message -
From: "Lazor, Ed" <[EMAIL PROTECTED]>
To: "'Tony Harrison'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 2:29 PM
Subject: RE: [PHP] Re: Have you seen th
It's good programming ediquite but not required. All fclose does is destroy
the handle which will be lost when the script terminates.. same difference.
-Kevin
- Original Message -
From: "Verdon Vaillancourt" <[EMAIL PROTECTED]>
To: "Kevin Stone" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
S
Why would it be quicker on the client-side? I would think you'd go with the
first option. That way the layout of your web page is maintained while the
image downloads.
-Original Message-
Do not want
WHat I want
WHich will be a lot quicker on the client side.
I cannot m
Analysis & Solutions wrote:
> On Tue, Jul 02, 2002 at 03:47:20PM +0200, Nightshade wrote:
>> is there a unix like ~/ , to access to root directory of my site
>
> Does $_SERVER['DOCUMENT_ROOT'] help?
>
> Whenever you have a question like this, run phpinfo() and see what's there
> which produces
I don't understand alpha channel well enough to explain it, but I know you
can find more information over at Adobe.com and by running a Google search
for "alpha channel tutorial".
-Original Message-
The idea is to create a simple glare effect by taking a white circle and
making it more t
In that case, go with CWIHosting.com. They are the best I've seen yet.
-Original Message-
He is looking for a web hosting company that has what he has listed below...
This message is intended for the sole use
Send us a copy of your script so that we can help. Odds are that you didn't
specify the proper field name in your upload form.
-Original Message-
Now I'm getting this error each time I upload a file...
Warning: Unable to open 'none' for reading: No such file or directory
in /home/.../u
No,
I did think of it, but the page may end up with quite a few
pics, and I download of a modem...
Prefer if server has the load...
Steve
|-Original Message-
|From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
|Sent: 02 July 2002 21:34
|To: '[EMAIL PROTECTED]'; [EMAIL
I suppose you haven't looked around much. Those features are fairly
typical. Besides what really matters is that the host has what you need at
the lowest price. I spend $10/mo for 350MB space, 20GB/mo transfer, PHP, 10
MySQL dbs, anon FTP, CGI/Perl, SSL, SSI, SSH login, unlimited email, and
mor
What load are you talking about? This is just an issue of telling the web
browser the image's dimensions. It's not like the image is being processed
to convert it to that image size.
-Original Message-
No,
I did think of it, but the page may end up with quite a few
pics, and I
List,
How can I regex to compare the last three chars of a string to "php"?
/B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually for a job like this look to substr() to extract the last three
chars as a string and compare them in an if() statment.
http://www.php.net/manual/en/function.substr.php
-Kevin
- Original Message -
From: "David Busby" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent:
$string = 'somethingphp';
$pat = 'php$';
$hasphp = ereg($pat, $string);
Henning Sittler
www.inscriber.com
-Original Message-
From: David Busby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 4:49 PM
To: php-general
Subject: [PHP] RegEx question
List,
How can I regex
>>> "Justin French" <[EMAIL PROTECTED]> wrote in message
>>> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
1. Name all included files .inc
>>>
>>> If you name them *.php then put anything in them inside a function, then
>>> when the user browses to that file he/she won't see anything at all.
>But once I had moved most of my code into object methods and functions
>(and therefore out of the global namespace/scope/whatever), I realized
>this really didn't matter as much. In fact, for consistency and
>neatness, it was better that I use only $sql or $result, since there was
>only ever
>Except in a production environment, where you really never want your
>users to see PHP error messages that you haven't coded yourself for the
>user's benefit. It could reveal just a bit too much about your setup...
>even filenames are valuable to maleficants.
>
>I recommend setting your php.i
Hi,
Has anyone any advice as to how to deal with XML documents encoded in windows-1252: a
character set that PHP's XML extension won't process? I've
got a large number of such documents, and using xml_parse_into_struct() would be the
easiest way to handle them - but because of the encoding
p
eregi("php$", $stringtobecompared);
See: http://www.php.net/manual/en/ref.regex.php
Gurhan
- Original Message -
From: "David Busby" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 4:49 PM
Subject: [PHP] RegEx question
> List,
> How can I regex t
Hi, first let me introduce myself...
My name is Kit, and I own the domain below
and host sites from off that domain.
I'm new to using PHP...and need some help.
1. I have apache for win32 1.3.26 setup
on my w2k pro at home, and need to know
how to enable PHP in the config.
2. I also have a PHP
you must be tired from searching the manual all day for your answer. :)
Check here:
http://www.php.net/manual/en/install.apache.php
There's a section on installing with Win32
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Tue, 2 Jul 2002 17:14:32 -0400
I hate to sound like an ass, but the best thing would to really read the php
manual @ php.net or buy a PHP programming book...
There are many great books out there on PHP that you can get.
1. Check under php.net for installation and configuration
2. Review include(), include_once(), require() a
Portability between different databases makes a DB class beneficial. Then
again, I stick with MySQL, so I don't bother with the extra overhead either.
-Original Message-
I just don't see a cost/benefit ratio that makes sense in the DB classes.
I know it's a minority opinion, but I've ne
Hi Kit,
For your first question, take a look at:
http://www.php.net/manual/en/installation.php
and click on the windows links..
For your second question, I am really not sure what you are asking.. What
exactly do you want to do? Just add a form to a php page? or have a form
automatically added by
Check here:
http://www.chilkatsoft.com/ChilkatXml.asp
Google search:
http://www.google.com/search?sourceid=navclient&q=convert+xml+charset
B i g D o g
- Original Message -
From: "Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 02, 2002 3:05 PM
Subject: [PHP] Dea
On Tue, 2 Jul 2002, Lazor, Ed wrote:
> The idea is to create a simple glare effect by taking a white circle and
> making it more transparent around the edges. Though this only produces a
> white circle with fuzzy edges. Can anyone tell me what I'm doing wrong and
Which browser are you using
I haven't tried this myself yet, but will soon be facing a similar need.
http://www.php.net/iconv
That's probably the way I'll start off on tackling this problem ... Grab
your XML document, check to see if it's in windows-1252, and if it is, run
it through the iconv functions, then parse the XML
On Tuesday, July 2, 2002, at 04:31 PM, Richard Lynch wrote:
> Well, yeah, at that point all you have is SQL and Result, because the
> function has no idea what that SQL is about in any given call...
>
> But, personally, I just don't see the point to having a function/class
> do my
> database w
On Tue, Jul 02, 2002 at 10:34:32PM +0200, Nightshade wrote:
> Analysis & Solutions wrote:
>
> Document root doensn't solve my problem...
> ... snip ...
> Any solution?
Read and heed what I already said:
> > Whenever you have a question like this, run phpinfo() and see what's there
> > which pro
Is the number of requests (used for garbage collection), tallied on a per
server basis, or on a per domain basis? What about in a load-balanced
environment?
TIA
Kirk
"0, as a number, is just as important as any other number."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
> id 3 from the database. What I really want is to state width
> is 100 and height is 100 for example so I do not have to downlaod the
entire
> picture and specify the width and height as part of the image:
>
> Do not want
>
>
> WHat I want
>
>
>
Hello,
I need to get _$POST into a string in this form:
tree=green&sky=blue&sun=yellow , how can i accomplish this?
THanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh man I hope you don't shoot yourself when you realize how easy this is..
foreach ($_POST as $key => $val)
{
$str .= "&$key=$val";
}
Then just crop the first char off and there you go.
-Kevin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Ju
- don't use /^ .. $/ if you want to replace all occurences. ^ and $ refer
to the very start and end of the whole string
and make no sense at all - at least in this case. your regexp will not
match at all unless $var contains only a
single variable and nothing more
- either capture (somethin
I have been trying to figure out how to execute
commands on a win 98 system with php and apache.
exec(), system(), and shell_exec() seem to work when i
try to execute a command (such as "netstat -n" or
"dir") because I can see the ms-dos window open on the
system, run the command, and then close.
List,
How do you make you PHP scripts require explicit variable declaration?
Like Java/SQL/C/C++ or 'use strict;' in PERL or 'Option Explicit' in
VB/VBScript
/B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gurus,
I've created the following file (see HTML/JavaScript code below) which
allows end-users to dynamically (on the client-side) move items from one
form select list (called "list_managers" to another (called simply
"managers[]"). When, however, I attempt to access the end-user created
"manage
101 - 200 of 280 matches
Mail list logo