(Sorry if this is a duplicate post; I sent it through the news server but
began to think that might not be forwarding posts to the list)
For some reason, on just one server, data from forms posted with
ENCTYPE=multipart/form-data never makes it to the PHP script.
We use this extremely simple
For some reason, on just one server, data from forms posted with
ENCTYPE=multipart/form-data never makes it to the PHP script.
We use this extremely simple test script:
form method=post enctype=multipart/form-data action=?= $PHP_SELF ?
!--form method=post action=?= $PHP_SELF ?--
input
On Tue, 19 Mar 2002, Pekka Saarinen wrote:
I need to search text for @ and replace the mail address around it (i.e.
text between previous and following spaces) so that if I have text
Foobar foobar [EMAIL PROTECTED] foobar foobar.
It'll convert it to
Foobar foobar a href=mailto:[EMAIL
On Wed, 20 Mar 2002, John Clarke wrote:
I have used the following script successfully for a year now, but have just
found a problem with the date 2002-03-31.
When I add 0 days to this date it returns 2002-03-31.Correct!
When I add 1 day to this date it still returns 2002-03-31.NOT
On Wed, 20 Mar 2002, Paul ... wrote:
just thinking about making a small control panel for my server so i can do
the web hosting related things from the web... would php be a good language
to do this in and if so why?.. what would be the ups and downs?
The fastest way would be to download
On Tue, 19 Mar 2002, Dr. Shim wrote:
Well, this is a fairly simple problem. I'm having problems with escaping a
string, and then ending the string right after the escape! For example,
echo Then Johnathan said, \That's exactly what I said!\;
I get a parse error on the line where the string
On Tue, 19 Mar 2002, Ian Wayne wrote:
I'm trying to use some header functions to force the browser to download
quicktime movies. I have a small piece of code that takes the relevant file
name from the url and then uses that in the header function. This code sits
in get.php. Unfortunately, all
On Tue, 19 Mar 2002, Dr. Shim wrote:
Hmmm. How about this?
echo form name=\frmMovies\ method=\post\ action=\ . echo $PHP_SELF
. \;
You're concatenating echo $PHP_SELF rather than just $PHP_SELF, which
isn't necessarily helping. But just between me and you, life would be a
lot easier if
Are you inside a function, having neglected to do
global $PHP_SELF;
?
miguel
On Tue, 19 Mar 2002, Dr. Shim wrote:
Strangley enough, $PHP_SELF is empty. Nothing appears when I do it the way
Bob and you suggested, the action property equals .
Miguel Cruz [EMAIL PROTECTED] wrote
On Wed, 20 Mar 2002, Martin Towell wrote:
use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists,
but the former function does)
Close - it's eregi_replace().
To use preg_replace case-insensitively, just toss an 'i' at the end of
your pattern. Instead of:
On Wed, 20 Mar 2002, Jennifer wrote:
I'm new to PHP and i'm trying to set it up so that i can use the mail()
function to send emails. I'm using Mac OS X 10.1.3, PHP 4.1.2 and
Apache/1.3.20.
... nothing seems to happen ei. the mail was not sent.
There's a problem with the default
On Wed, 20 Mar 2002, Jennifer wrote:
$to=[EMAIL PROTECTED];
$from=[EMAIL PROTECTED];
$subject=Hi;
$message=this message;
mail($to, $subject, $message, $from\r\nX-Priority: 1 (Highest));
By the way, your From line is also mangled.
You should have:
$from = From: [EMAIL PROTECTED];
That's
On Wed, 20 Mar 2002, James Arthur wrote:
I'm writing a voting script, but I have a problem with it.
Voters cast their vote by submitting a form. When this form is received
it is added to the database, and a session variable is set saying that
they've voted. The problem is that once someone's
On Wed, 20 Mar 2002, Joshua E Minnie wrote:
I have a form with a menu which I need multiple select on. How does PHP
handle this? I have to use $HTTP_POST_VARS[somevariable] to access
somevariable from the form.
For a multiple select, stick [] after the HTML name and you'll get it back
as
On Wed, 20 Mar 2002, David Johansen wrote:
I was just wondering what was the best way to handle a multipage form. Would
the best way be to keep passing the variables through the forms as hidden
values or should I use sessions and store all the values as session
variables? What's the best way
On Wed, 20 Mar 2002, Kris Vose wrote:
I have a problem with a piece of code that uses the mail function in a
for loop. It sends out mail to all the users in the database but it has
a problem with attaching their specific name into the message. What
happens is the first user in the database
On Wed, 20 Mar 2002, ROBERT MCPEAK wrote:
$sql = UPDATE mytable SET
img_url=$img_url,visitdate=$visitdate,img_group=$img_group,display=$display,
caption=$caption where id = $id;
You need to surround non-numeric values with 'single quotes'.
$sql = update mytable set
On Thu, 21 Mar 2002 [EMAIL PROTECTED] wrote:
It can be accomplished using HTTP PUT to a script which receives it and
then copies it back to its relevant location (in the users home
directory). However, the difficult part would be to cause Microsoft Word
to trigger the upload whenever a user
On Thu, 21 Mar 2002, Maris Kalnins wrote:
Is there any possibility to get PHP page viewer's ip address..
for example
$addr=some_function_that_returns_viewer's_address()
$REMOTE_ADDR
You might want to play with phpinfo() - it tells you a lot.
miguel
--
PHP General Mailing List
On Thu, 21 Mar 2002, David Johansen wrote:
I was wondering if there was a way to do validation of the values in forms.
I know that I could just check it all after it's been submitted with a post,
but is there any way to do it as they're entering the data or when they
click the button right
On Thu, 21 Mar 2002, Aras Kucinskas wrote:
LINUX
Apache
PHP
mySQL
Server purpose:
One site (PHP+mySQL ) hosting, max 1000 visitors per day.
What is recommendet hardware requiremnts (CPU, RAM,...)?
Unless you expect most of those hits to be concentrated in a short period,
for that sort
On Thu, 21 Mar 2002, Mauricio Sthandier wrote:
I guess thist must be really silly... but how can I append text to the
beginning of a file ???
I've been trying since a while... but all I get is overwriting !.
Open a temporary file, write your new data to it, copy the old file on to
the end of
On Thu, 21 Mar 2002, andy wrote:
Rasmus Lerdorf [EMAIL PROTECTED] schrieb:
The way to do this is to write a little PHP wrapper script that you
stick in your document_root that does a readfile() on the file stored
outside of the document_root.
What would you suggest to prevent people from
On Thu, 21 Mar 2002, Joshua E Minnie wrote:
I need to access a variable on a form that allows multiples. I have to use
$HTTP_POST_VARS so I need to know how to display the information obtained
from the form. This is what I am using right now:
?
reset($HTTP_POST_VARS[interest]);
On Thu, 21 Mar 2002, Mauricio Sthandier wrote:
I could append but then I need to read the first 8 chars of the last line I
appended... neither something I know how to do.
Seek to the end of the file minus typical record length, read,
look for the penultimate end-of-record delimiter (\n,
On Thu, 21 Mar 2002, Morten Nielsen wrote:
I got a page, which is reloaded 3 times. When the user first sees the page
he has to fill in some information. On the second page he press a button to
confirm. I would then like for the third page to display what he has entered
on the first page.
On Thu, 21 Mar 2002, James Taylor wrote:
I have this sort of guest book that only will display 10 entries on the
page at a time, after that you have the option of previous 10, and if
you're not on the front page you also have next 10. I'm getting the ID
of the VERY LAST POST listed on the
On Fri, 22 Mar 2002, Erik Price wrote:
I have noticed that pressing enter in IE does achieve the same effect as
pressing the submit button for my forms. But I have also heard that
it's not really the same, especially if there are more than one
submit-style inputs for the given form. What
On Sun, 24 Mar 2002, John Fishworld wrote:
I'm still playing about trying to validate an url
www(dot)something(dot)something !
I thought this would work but know
if (ereg(^(w{3})(\\.)([a-zA-Z]+)(\\.)([a-z]{2,4})$, $str))
First of all, web server hostnames don't need to start with www.
On Sat, 23 Mar 2002, Andre Dubuc wrote:
I have written, in an html form, a drop-downlist that uses SELECT:
i.e. SELECT NAME=state
OPTION SELECTEDState
OPTIONAL
OPTIONAZ
OPTION// and so on
I would like a text
On Fri, 22 Mar 2002, webapprentice wrote:
I have a form with a text field, say userName.
I put a value in that has double quotes (i.e. foobar) and submit this form.
On output I have this:
?php echo $HTTP_POST_VARS[userName]; ?
The output ends up being a \.
The quotes go away, or they
On Sun, 24 Mar 2002, John Fishworld wrote:
On Sun, 24 Mar 2002, John Fishworld wrote:
I'm still playing about trying to validate an url
www(dot)something(dot)something !
I thought this would work but know
if (ereg(^(w{3})(\\.)([a-zA-Z]+)(\\.)([a-z]{2,4})$, $str))
First of all, web server
?
--Stephen
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: webapprentice [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, March 23, 2002 7:49 PM
Subject: Re: [PHP] Double quotes in form fields and submitting them
On Fri, 22 Mar 2002, webapprentice wrote:
I
On Sun, 24 Mar 2002, Shaun Martinec wrote:
I'm using mysql to store images that I load through a script called
photo.php. I pass it the ID and it displays the image. No problem. However,
when I right-click on the image in my browser (IE6) and choose properties,
it doesn't seem to recognize
On Mon, 25 Mar 2002, Mantas Kriauciunas wrote:
Well it didn't work with $_session[logged]
$_session is not the same thing as $_SESSION
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 25 Mar 2002, David McInnis wrote:
When I save a file that has been uploaded through PHP it prepends (adds
to the beginning of the file) the mime type. This renders the file
unusable when it is downloaded as MS Word cannot open the file and tries
to install some kind of converter.
My
On Mon, 25 Mar 2002, Brad Harriger wrote:
I'm trying to debug a program written by someone else. There are two
files that I'm having problems with. File A uses require_once to call
file B. Near the beginning of File B is a Header(Location:) that
calls File A. Can anyone tell me if the
that is taken care of in later releases.
David McInnis
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 3:47 PM
To: David McInnis
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Mime type prepeded at file upload
On Mon, 25 Mar 2002, David McInnis
On Mon, 25 Mar 2002, Jack wrote:
Can someone pls tell me is php will be able to grep text from MS Word and
then save that word file into MYSQL database? Which means is MYSQL will be
able to store files into it's table?
You can pipe the Word document through a program like catdoc
On Tue, 26 Mar 2002, Denis L. Menezes wrote:
I have a website called www.abcresources.com
The mysql database set up by the hosting company is called
abc_resources.com
I have a table called addressbook
One problem you may run into is that (at least as far as I know) a MySQL
database name
On Tue, 26 Mar 2002, Jason Goodman wrote:
2 questions about register_shutdown_function.
1)Functions registered with register_shutdown_function are called after
the script finishes processing. Is there a way to have a function only
called when the PHP form is actually closed?
2)The
On Tue, 26 Mar 2002, Fabio Spinelli wrote:
Hi all, I'm writing a script that generate invoices in a PNG files.
My problem is that I have to write the numbers aligned to the right.
I'm using the funciotn ImageTTFText and it haven't a parm that tells the
alignment.
I looked at the IMAGE
On Tue, 26 Mar 2002, Denis L. Menezes wrote:
I am a newbie and need some help.
I have a form with three textboxes named firstname, lastname and
description
My table is called addressbook
Please tell me the INSERT statement. Also please tell me whether I should
include the insert
On Tue, 26 Mar 2002, andy wrote:
I am wondering if it is possible to send a cookie and read it on the same
page.
Following environment:
There is a cookie already on the machine of the client, but expired.
Now I am setting a new cookie and reading it on the same page via $sess_id =
On Sun, 3 Feb 2002, Chuck Barnett wrote:
I have a db field that holds the first and last name of a person. Is
there a way to sort by the last name in that field?
The whole reason for this is to populate a select box sorted by last name.
I don't want to go back and create a separate
Can you show the contents of the variable $email ?
miguel
On Wed, 27 Mar 2002, Philip J. Newman wrote:
Below is some code that I have used to send an email Via mail. The message
sends with the correct data, HOWEVER my mail server don't like the header
and sends the email back to admin.
] example
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: Philip J. Newman [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, March 27, 2002 11:14 AM
Subject: Re: [PHP] Problem sending email message, from Newman.
Can you show the contents
On Tue, 26 Mar 2002, Vlad Kulchitski wrote:
Hi can anyone help me, I am getting this error when I try
to start session:
Warning: Cannot send session cookie - headers already sent by (output
started at /var/www/kulchitski/btl/btl.php:2) in
/var/www/kulchitski/btl/_talkroom_edit.php on line
to create a
session.
Anyway, this certainly makes it clearer - thank you guys.
Vlad
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: 26 ÂÅÒÅÚÎÑ 2002 Ò. 20:41
To: Vlad Kulchitski
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP]
On Tue, 26 Mar 2002, Vlad
On Wed, 27 Mar 2002, gaukia 345 wrote:
I'm writing a web mail. Having problem grabbing user full name to be
included in the email. So I hv a few questions:
1) How do I fetch the user's full name using a PHP function WITHOUT
calling system program finger? I already have the Linux user ID
I can't imagine you'll ever get results that are to anyone's satisfaction
using JPEGs unless they aren't wearing their glasses. How about PDF?
miguel
On Tue, 26 Mar 2002, Michael A. Peters wrote:
Here's the situation.
I run the website for a macintosh user folding@home team.
We are
On Wed, 27 Mar 2002, John Fishworld wrote:
so i want
$newvar_$i = result 1
$newvar_$i = result 2
so I can use them outside the loops as
$newvar_1 and $newvar_2
Why don't you use an array? That's what they're for.
Nevertheless,
$i = 1;
$varname = newvar$i;
$$varname = result 1;
On Wed, 27 Mar 2002, James Taylor wrote:
I'm trying to do something to the effect of this for a preg_replace statement:
$string = Hello\n\n\n\n\n\n\nHow are you?\n\n\n\n\n\n\n\nHi;
$string = preg_replace(/\n\n/, /\n/, $string);
But, it appears the 'replace' portion of the function
On Wed, 27 Mar 2002, James Taylor wrote:
On Wednesday 27 March 2002 02:49 pm, you wrote:
On Wed, 27 Mar 2002, James Taylor wrote:
I'm trying to do something to the effect of this for a preg_replace
statement:
$string = Hello\n\n\n\n\n\n\nHow are you?\n\n\n\n\n\n\n\nHi;
$string =
On Wed, 27 Mar 2002, James Taylor wrote:
Ok, let me try to refine this as the big picture. User enters something into
a form.
We take that form value and convert newlines into br / though nl2br.
Then, I want the limit the number of consecutive br /'s a user can enter,
to avoid abuse via
On Wed, 27 Mar 2002 [EMAIL PROTECTED] wrote:
I am running php 4.1.1, and when i try to use odbc_fetch_array, it says
Call to undefined function
Why is this?
Maybe your installation of PHP was not built with ODBC support? It's a
compile-time option.
miguel
--
PHP General Mailing List
On Wed, 27 Mar 2002 [EMAIL PROTECTED] wrote:
I am running php 4.1.1, and when i try to use odbc_fetch_array, it says
Call to undefined function
Why is this?
Maybe your installation of PHP was not built with ODBC support? It's a
compile-time option.
Well, why would all the other ODBC
On Sat, 23 Mar 2002, Donald wrote:
In Visual Basic there is a function called left.
usage: left(string, len)
It allows you to get the first 'len' characters of 'string'.
Is there a similar function in PHP?
I have a value:
3.405
That I just want to crop to 3.40
If I pass 3.405 to MySQL
On Wed, 27 Mar 2002, Dalton Hunter wrote:
Hi, I am trying to write a file that contains a shell script. The file
writes to the server but when I try to execute it it fails with a
command not found error. But if I copy and paste the files contents into
a new text file using Textpad on my PC
On Wed, 27 Mar 2002, Dalton Hunter wrote:
Miguel Cruz [EMAIL PROTECTED] wrote:
Make sure you use unix-style line endings (just \n and no \r).
Hi, thanks for your reply. I should have been a little clearer. The file is
created as a result of a PHP script not in TextPad. I am only comparing
On Thu, 28 Mar 2002, Miguel Cruz wrote:
Right. I think the No such file or directory message is because it's
failing to find an interpreter called /bin/bash\r.
Sorry, I mean /bin/sh\r. Habit.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On Thu, 28 Mar 2002, Sebastian A. wrote:
When you say ORDER BY that, is it also possible to do that via letters
such as ORDER BY 'S', because from what I understand, ORDER BY has to be
a column.
The object of order by should be something that changes for each row, or
else the statement is
On Thu, 28 Mar 2002, Rodrigo Peres wrote:
if(isset($submit)) {
$x = addslashes($HTTP_POST_VARS);
$y = serialize($x);
setcookie(posted,$y)
}
1) You probably should call serialize on the array to turn it into a
string before trying any string transformations like addslashes. If
Works for me in 4.1.1 (and 4.1.2) too. Are you sure there's not something
else going on? Can you provide an unadulterated code sample pasted
directly from your problem script?
miguel
On Thu, 28 Mar 2002, Sharat Hegde wrote:
The code worked fine in PHP Version 3.x
It does not work with PHP
On Thu, 28 Mar 2002, David Duong wrote:
How do I add extra fields after it has already been set?
1) Read the manual conveniently available at http://www.mysql.org; this
is not rocket science.
2) ALTER TABLE mytable ADD boogers_per_hour INT;
miguel
--
PHP General Mailing List
On Fri, 29 Mar 2002, Alastair Battrick wrote:
I have over 26000 urls in a table. They are all urls and query strings of
hits to the same 10 - 20 sites.
I need to have a way to allow the user to select one of these, and then do
some processing on it, and I'm struggling to find a way.
I
On Fri, 29 Mar 2002, Andrew Korsak wrote:
I want to read user cookie with javascript and pass it to PHP.
PHP already gets the cookie information. What do you need JavaScript for?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 29 Mar 2002, Eric Kilgore wrote:
What's wrong with this code that it would give this error?
Parse error: parse error, expecting `','' or `';''
$query = INSERT INTO tblUserInfo (UserID, Complex, Contact, Address, State,
City, Zip, Phone,
Fax, email, fee) VALUES
On Fri, 29 Mar 2002, David Johansen wrote:
Ok, I have a question about arrays and indexes. Something weird happens when
I try this:
echo tdweek[$i][$j]: $week[$i][$k][0]/td;
If you're array subscripts inside double quotes, then use {braces}
around the entire variable:
echo
On Fri, 29 Mar 2002, Ian Wayne wrote:
I have a table of accounts and I want to display all the money amounts
to 2 decimal places. How do I do this? Should I use floatval (which I
can't use because it's CVS only)? Or is there some other way?
http://php.net/printf
miguel
--
PHP General
On Fri, 29 Mar 2002, Jonathan Duncan wrote:
Yeah, I have played with the eval function a bit, but it didn't seem to
help much. Then again, I haven't ever used the eval function before so
I may not know how to properly implement it. I have read the page for
eval on php.net several times as
On Sat, 30 Mar 2002, Mantas Kriauciunas wrote:
I have few users in my small page. And it goes with ID numbers. I
did auto increasement. And i think all the settings are ok. but in
phpMyAdmin it shows ID numbers starting from 5 and i have 10 users
so when i deleted row(user) with ID
On Sat, 30 Mar 2002, Sebastian A. wrote:
I am trying to use anytext in an object but I am having a number of
problems. anytext does not seem to work if it is indented. If I un-indent
anytext and the text between it, it works perfectly. Does anyone know
what could be causing this error? I can
On Sat, 30 Mar 2002, David Duong wrote:
Hello, I need a script that can track impressions through PHP.
I know you load a php script from IMG tags than some how the image is
loaded or redirected.
Is their a way I can record impressions and environment variables like IP,
Browser, referrer,
On Sat, 30 Mar 2002, Alberto Wagner wrote:
But I Want a way to do something if there isn't any result
31/03/2002 01:52:10, Jason Wong [EMAIL PROTECTED] wrote:
On Sunday 31 March 2002 07:29, Alberto Wagner wrote:
$Sql_Query_Login Returns an empty mysql array like:
$Sql_Query_Login =
On Mon, 1 Apr 2002 [EMAIL PROTECTED] wrote:
We are choosing some tools for building applications. Php is a very good
tools to build web applications, but we don't know if it can generate
printable reports. Printable reports mean the report you can print
what you see on screen (like winword).
On Mon, 1 Apr 2002, Jordan wrote:
Isnt there really no need for the 'return' though?
Try this program and see what happens:
?
function triple1($x) { $x = $x * 3; return $x; }
function triple2($x) { $x = $x * 3; }
function triple3($x) { global $x; $x = $x * 3; }
$x = 5; $x =
On Sun, 31 Mar 2002, Miguel Cruz wrote:
On Mon, 1 Apr 2002, Jordan wrote:
Isnt there really no need for the 'return' though?
Try this program and see what happens:
Ah, Rasmus brings up a good point. Try this one instead.
?
function triple1($x) { $x = $x * 3; return $x; }
function
On Tue, 2 Apr 2002, Denis L. Menezes wrote:
$query=INSERT INTO news (newsid,title, author, body, posted)
//VALUES($newsid,'$title','$author', '$body', $posted);)
Explanation : I run the test.htm and then the testphp1.php executes well.
The databse is connected, but the error
error
On Mon, 1 Apr 2002, news.php.net wrote:
while ($data = fgetcsv ($fp, 1000, ;))
{
switch ($row)
{
}
?
and when i run it i get : Parse error: parse error in essai.php on line 45
You never close the { you open for the while().
miguel
--
PHP General Mailing List
On Mon, 1 Apr 2002, Jordan K. Martin wrote:
Makes sense. I didn't think much when writing that piece...but...what is
the for? wouldn't it work the same without it?
function test ($var)
{
$var = addslashes($var)
}
$foo = He's dreaming;
test($foo);
print($foo);
If you don't
On Mon, 1 Apr 2002, Ken Nagorski wrote:
function write()
{
if(!$domainfile=fopen(/tmp/$domain, w))
{
die(Failed to open domain file);
}
while(!$result-EOF)
{
if($remote_domain !($default))
{
On Mon, 1 Apr 2002, Jeff D. Hamann wrote:
I tried some small script like exec(ls -la) and that worked. I then
tried system( /usr/local/bin/pdflatex temp/report_file ); to try and
diagnose the problem, and got Fatal Error occured, I can't write on
file 'report_file.log', suggesting that there
On Mon, 1 Apr 2002, Septic Flesh wrote:
I have slackware 8 . . .
I can have php working . . .but the default ssl installation does not work
Does not work is not a very helpful description. Maybe it does work, and
it just isn't being used correctly. But nobody can help you find out if
you
On Mon, 1 Apr 2002, Dr. Shim wrote:
I have a variable which is appeneded to the end of a URL, like
http://www.your_web_site.com/your_page/?your_variable=your_value
This would return your_value;
echo $your_variable;
But this wouldn't work, and returns an error
$sql = SELECT * FROM
On Tue, 2 Apr 2002, Ryan F. Bayhonan wrote:
I'h vaving problem with mail function. I'm currently making a PHP
application that would be able to send mails to my co-employee. My webserver
where my application reside runs on linux without a sendmail appliation.
That is why the mail function
On Tue, 2 Apr 2002, Maris Kalnins wrote:
I have a situation where I need to keep connection still active after php
script is done and page displayed!
I tried to use
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
But unfortunately connection closes automatically when script is
On Tue, 2 Apr 2002, Maris Kalnins wrote:
Yes I am using CGI...
So that means under Windows using Apache Server it is impossible to do that?
Can't PHP be run as a module under Apache for Windows?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Tue, 2 Apr 2002, Erik Price wrote:
On Tuesday, April 2, 2002, at 01:24 PM, Jason Wong wrote:
(b) Pass a variable as an argument to a function but make that argument
optional so that it does not have to exist to make the function
legitimate.
function function2 ($variable_A=) {
}
I think he was doing that silly thing where people asking for help
obfuscate IP addresses and pathnames, thinking somehow it improves their
security, when in fact it only makes it difficult to figure out what on
earth they're talking about - because they INVARIABLY hide relevant
information
On Tue, 2 Apr 2002, lmlweb wrote:
Hosted web, so option to turn on or off is up to the hosting company, not
me.
Perhaps you can control it from a .htaccess file?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 3 Apr 2002, Denis L. Menezes wrote:
What I wish to do is develop a mailinmg list which , among the normal
functions, can give a list of failed email messages. Can anyone please help
me find such an application code?
The best you can do is to make sure the return address on your
On Wed, 3 Apr 2002, Craig Westerman wrote:
I did that first thing. Also tried chmod g+rwx
I can copy manually via Telnet, but something is wrong with my PHP script.
chmod g+w probably won't help you, since Apache normally runs as user
'nobody', who tends not to be in groups with anyone else.
On Wed, 3 Apr 2002, Andrew Brampton wrote:
So unless the FAQ was placed infront of them when signing up to this list
(if they actually sign up), then it might not get the results you expect.
The first time you post to comp.lang.perl.misc, a daemon picks up your
address, checks it against a
On Thu, 4 Apr 2002, Maxim Maletsky wrote:
You can try to load all those classes as texts into a db and then to execute
the needed ones as eval()ed strings. It could be easy for you to create the
logic because the PHP code are stings and are never included but SELECTed.
Not sure if this
On Wed, 3 Apr 2002, Alex wrote:
I'm trying to write code that will return all records found between certain
dates(e.g. 2001-01-30 through 2002-01-30). I created a html form with pull
down menus for both dates but when I try to run it I get a parse error and
can't figure out what's wrong.
It
On Wed, 3 Apr 2002, Alex wrote:
I'm trying to write code that will return all records found between certain
dates(e.g. 2001-01-30 through 2002-01-30). I created a html form with pull
down menus for both dates but when I try to run it I get a parse error and
can't figure out what's wrong.
On Wed, 3 Apr 2002, Rick Emery wrote:
Convert to date/time variable and perform arithmetic.
Otherwise, if these dates are from mysql, let mysql do it
Even if you don't happen to be getting the date out of MySQL, it can
occasionally be easier to let MySQL do your date math since it has some
On Wed, 3 Apr 2002, Jason Lotito wrote:
Just for reference, there is www.alt-php-faq.org as well as
www.devnetwork.net the home of the PHP Developer's Network
We might be able to work something out in providing assistance to this
effort.
Definitely. But a mailing list FAQ is a different
On Wed, 3 Apr 2002, Jack Davis wrote:
mail($arrText[$i], $subject, $message, $headers);
mail (trim($arrText[$i]), $subject, $message, $headers);
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 773 matches
Mail list logo