On 1/18/07, mike caplin [EMAIL PROTECTED] wrote:
Does anyone know if the change in Daylight Savings Time (March this year)
affects PHP v4.x? I looked around www.php.net and all I could find was a
reference to v5 (http://bugs.php.net/bug.php?id=35296). Is there a v4
release which is compatible
On 1/17/07, jekillen [EMAIL PROTECTED] wrote:
Hello php list:
If I include a php script inside a php function definition and then
call the
function in another script. What is the scope of variables in the
included
script? Are they local to the function that calls include with the file
name?
On 1/17/07, Andrew Kreps [EMAIL PROTECTED] wrote:
On 1/17/07, jekillen [EMAIL PROTECTED] wrote:
Hello php list:
If I include a php script inside a php function definition and then
call the
function in another script. What is the scope of variables in the
included
script? Are they local
One thing that jumped to mind from my PHP 4 days -- do you have output_gzip
(or similar) enabled in your PHP.ini? I seem to remember having a similar
problem a while back, and disabling the gzipped output fixed it for me.
Also, is it possible to browse the website from the web server itself?
On 8/30/06, Miguel Guirao [EMAIL PROTECTED] wrote:
Once the file has been created and saved as I doc file (not a doc
format!),
I e-mail it!
When the client gets the e-mail, he/she should open the file either by
saving the file to the local system or openning the file directly from the
Could it be a 3rd party cookie problem? Does IE display the little
eyeball privacy icon on the troubled user's browser status bar? I
seem to remember having issues when Microsoft started supporting the
cookie privacy stuff.
On 8/23/06, Dave Goodchild [EMAIL PROTECTED] wrote:
Hi all. I mailed
Given that Weblogic is an application server, I don't think you're
going to have much luck. PHP is typically installed directly on the
web server (Apache, or similar).
On 8/20/06, BKruger [EMAIL PROTECTED] wrote:
Could anyone please direct me to installation instructions for PHP on BEA
On 8/18/06, Chris W. Parker [EMAIL PROTECTED] wrote:
Ideas:
1. Use flash to allow the user to draw an image. If the original image
created during signup is within an acceptable range of the image used to
authenticate, let them in.
2. (I saw this somewhere else... don't remember where or what
I would hope that MD5 hashing is MD5 hashing no matter where it
originates. However, I think it's better to use the database server's
implementation. I believe it is less likely to be changed in future
versions, and it removes some processing time from the front end.
Additionally, if you ever
Based on the general description you've given, I could imagine adding
a 'step number' in your session. Then validate it against what step
is being loaded. So, if you set your Session 'step' variable to 5,
and page 6 is loaded, that would seem OK. If your Session 'step'
variable is 6, and page
For what it's worth, I like Jochem's solution much better than the one
I gave you. :)
On 8/11/06, Jochem Maas [EMAIL PROTECTED] wrote:
a very crude idea below (you have to add a request variable named 'ordertransid'
in all links pointing to pages that have to act on an existing order
Better yet, don't allow the user to enter a From address. Simply give
them subscribe and unsubscribe radio buttons, and make sure the
un/subscribe-ee gets a confirmation email. And certainly check your
input fields for newlines. :)
On 8/7/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Mon,
I'll bet your hosting environment has not installed the php sources.
If the server is shared with other clients, you'll probably need to
download the source and compile php in your user space and run it as a
CGI (if your host allows this configuration). Hopefully they have
some allowances for
On 7/31/06, Ray Hauge [EMAIL PROTECTED] wrote:
On Monday 31 July 2006 17:36, John Gunther wrote:
I'm trying to programatically retrieve a sales tax lookup page using
file_get_contents() but the page doesn't return data unless a session id
is first retrieved and then supplied.
I deal with
You can use a regular expressions with a function called preg_match to
find the values. For example,
(Assuming your sql statement is $sql)
preg_match(/(tbl_chassis.chasis_model LIKE \'\%[a-zA-Z0-9-]+\%\'/),
$sql, $matches);
That will return $matches[0] with the matched data. Similarly,
[forwarding my response to the list, as the reply function didn't quite work]
Actually, that's not true. 'rm -rf' removes all files, directories
and subdirectories. Microsoft's del has no analogy to that (although
there was a deltree command in older versions of DOS). You still have
to
Hey, *that's* where the deltree functionality went. I wondered about
that. I just tested that out, and it works like a charm! Thanks for
the tip!
On 7/14/06, Adam Zey [EMAIL PROTECTED] wrote:
Andrew Kreps wrote:
[forwarding my response to the list, as the reply function didn't quite
work
On Mon, 17 Jan 2005 09:45:59 -0600, Shawn McKenzie [EMAIL PROTECTED] wrote:
Thanks, but I'm not running Windows, I'm running just MS-DOS from a
bootable floppy. Hence my question :-)
PHP seems to actually be the php5ts.dll. Would there be binaries for
MS-DOS or is there a way to get this
On Tue, 11 Jan 2005 15:53:39 -0800, Graham Anderson [EMAIL PROTECTED] wrote:
is there a php based CMS that exists that allows you to drag/drop and
reorder tracks ?
something akin to itunes or winamp playlist...
I'm not entirely sure you could make this work, if you're speaking of
a web app.
On Sun, 9 Jan 2005 03:00:35 +0200, Serban Nicolae
[EMAIL PROTECTED] wrote:
where can i find some tutorials aout sockets ?
I don't know of any tutorials as such, but the manual has some good
information. I usually find it useful to familiarize myself with the
functions available before
On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston
[EMAIL PROTECTED] wrote:
Hi,
I would like some help to improve this script. I'm a teacher with a schedule
of 17 weeks.
Instead of using if(date(Y-m-d) = $week3) I would like to do a for i = 1
to 17 and if the current date date(Y-m-d)
On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston
[EMAIL PROTECTED] wrote:
Hi,
I would like some help to improve this script. I'm a teacher with a schedule
of 17 weeks.
Instead of using if(date(Y-m-d) = $week3) I would like to do a for i = 1
to 17 and if the current date date(Y-m-d)
On Mon, 10 Jan 2005 16:38:18 -0500, Sebastian
[EMAIL PROTECTED] wrote:
I have a list of rows in the database and i would like to sort them in two
categories.
example,
echo $row['name'] . '-' . $row['type'];
// output:
row 1 - files
add order by `type` to your sql statement, and then
On Thu, 06 Jan 2005 13:50:58 +0100, Uro Gruber [EMAIL PROTECTED] wrote:
1) this is some domain.com test
2) domain.com
I can make this work either for first example of fo second, but not for
both. What I want is replace of domain.com to get
this is dome domain.com domain com test so
On Wed, 5 Jan 2005 10:17:29 -0800, H. Scott Brown [EMAIL PROTECTED] wrote:
Hi, List,
I need some help with compilation.
./configure runs fine, in the following manner (4.3.10):
[snip]
*** Error code 1
make: Fatal error: Command failed for target `ext/zlib/zlib.lo'
Any ideas? I really
On Fri, 31 Dec 2004 11:39:51 -0800, Robin Getz
[EMAIL PROTECTED] wrote:
Hi.
I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I
am using.
Which used to work with apache 2.0.40 and php 4.2.3 - but what happens now,
is I actually get passed the php script back as
On Fri, 31 Dec 2004 11:55:13 -0800, Robin Getz
[EMAIL PROTECTED] wrote:
I have this and the DirectoryIndex - the problem is that my script does not
end in a .php extention. (GForge )
If I rename the file projects.php and point to that, it works, but that
means an entire re-write of the
On Wed, 29 Dec 2004 08:35:28 -0800, Tony Di Croce [EMAIL PROTECTED] wrote:
So far, I really love PHP... It just makes web development so much
more convenient... But I sometimes wonder why so much server side work
is done with intrpreted scripting languages... Why haven't languages
been
Are you talking about the variable you're POSTing? Does it make a
difference if you urlencode the form var? Have you tried debugging
from the server end to see what cURL is passing over? I use cURL
quite a bit, although I've never tried passing muti-line form data.
On Tue, 28 Dec 2004
On Tue, 12 Oct 2004 02:41:10 +1000, Murray @ PlanetThoughtful
[EMAIL PROTECTED] wrote:
User A finishes his or her page edit and commits the changes, but the
underlying record was already changed by User B's page rename. User A's edit
changes overwrite this update in the record in question, and
On Mon, 11 Oct 2004 15:20:11 -0400, Scott Hamm [EMAIL PROTECTED] wrote:
I know it's impossible, but is there a way php can read something from excel
file?
If you really believe it's impossible, why ask the question? :)
Start with the first link here, and work your way down. Thankfully,
you
On Fri, 8 Oct 2004 08:33:11 -0500 (CDT), Adam Williams
[EMAIL PROTECTED] wrote:
So now it works except on the
very last line it processes, it prints does not exist, so there is still
some sort of a hidden character but its not affecting fetching the URLs
from the web server. so i'm still
On Fri, 08 Oct 2004 06:22:22 -0700, Sam Smith [EMAIL PROTECTED] wrote:
Then from FROM2.php we Submit BACK to FROM1.php and enter it back into the
textarea field with:
type=textarea, value=? echo $_POST['hidden']); ?
I'd like to add that you can also use the following syntax for textarea
On 8 Oct 2004 17:27:10 -, Tim Van Wassenhove [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED], Greg Donald wrote:
On Fri, 8 Oct 2004 11:38:23 -0500, Brent Clements
[EMAIL PROTECTED] wrote:
Given the following string:
$textString = Share A Dream Come True Parade 3:00 SpectroMagic
On Thu, 07 Oct 2004 08:48:01 -0500, Philip Thompson [EMAIL PROTECTED] wrote:
However, I get `Page cannot be displayed` error if the page calls
itself and has to reload some data but only in IE for Windows. If I
hit the `Refresh` button, the page shows up and all the appropriate
fields
On Thu, 7 Oct 2004 14:14:10 -0400, Matthew [EMAIL PROTECTED] wrote:
Hi guys im pretty new at this and cant seem to get this going I want the
code to query the database for the number of messages posted within the last
month this is the code i have but its not working... I might even have it
On Mon, 4 Oct 2004 14:49:44 -0700, Ed Lazor [EMAIL PROTECTED] wrote:
I'm looking at online stores and it seems like a lot of them maintain copies
of credit card numbers. Is this true? That seems like a bad thing to me,
especially in terms of liability and risk of hackers. On the flip side,
On Fri, 01 Oct 2004 08:18:55 +0200, Merlin [EMAIL PROTECTED] wrote:
Here is the how I did it:
14 8 * * * root /usr/local/bin/php /home/www/cron/statistics.php
Does anybody see an error in this?
I'm not familiar with a crontab format that allows you to specify a
username as you have
On Thu, 30 Sep 2004 08:33:45 +0100, PHP Tech [EMAIL PROTECTED] wrote:
Do you mean that I would have a different ID no. for different pages and
pass that variable to the 'email this page' page which will then send the
url according to the ID number? If that's what you mean it sounds like a
On Wed, 29 Sep 2004 22:03:07 +0100, PHP Tech [EMAIL PROTECTED] wrote:
I thought by clicking the link this would be a form sending the url of the
page to the next page and so I could then use $_GET to retrieve this. I
also thought of using $_SERVER and getting the referer web address. Then I
On Tue, 28 Sep 2004 10:45:19 -0700, Jason Davidson [EMAIL PROTECTED] wrote:
I see lots of references to modulus, which works fantastic.. but how
abut just testing if its equal to 20, then there isnt that extra
arthmitc call.. this is just another way to do the same thing.. take
your pick..
On Tue, 28 Sep 2004 13:46:27 -0600, Daniel Watrous
[EMAIL PROTECTED] wrote:
In my efforts to port this over to PHP5 I am having trouble. Not only do I not get
back an
instance of my Foo class, but the script execution stops entirely without so much as
a
warning.
My first suggestion
On Tue, 28 Sep 2004 16:22:18 -0300, Eduardo Sampaio [EMAIL PROTECTED] wrote:
You missed the $count = 0;
right below it Andrew... his code works just like the modulus one...
Whoops, my mistake. I write code, really I do. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Thu, 23 Sep 2004 15:04:26 +0100, Mark Cooke [EMAIL PROTECTED] wrote:
I have a server hosted by a company running Win2k, they are in charge of
the maintainance, and we had a site working fine, then yesterday, it
failed to include any files using http:// using:
include
On Tue, 21 Sep 2004 22:01:02 +0100, Luke [EMAIL PROTECTED] wrote:
however, i'd like to add more meaningful names as the field name
headings in the excel file. can anyone suggest how i can write a list of
tab separated headings into $header?
If you're talking about hard coding the header,
On Wed, 22 Sep 2004 00:09:01 -0600, LW Ellis [EMAIL PROTECTED] wrote:
I'm new to php, but am familar with ASP.
I have this code to open and read a text file.
What I need is to take out the 'while' and present the data one line at a
time.
I read up on fgetcsv, but we will be using one text
On Wed, 22 Sep 2004 09:29:21 +0100, Chris Dowell [EMAIL PROTECTED] wrote:
That's not 100% correct
If you have more than one TIMESTAMP field only the first (IIRC) will be
filled with the current time - other TIMESTAMP fields will only be filed
if you set them = NULL.
You're absolutely
On Wed, 22 Sep 2004 14:13:37 -0700, Ed Lazor [EMAIL PROTECTED] wrote:
2. Add a new FAQ section on what information to collect when
troubleshooting PHP related problems and how this information can help you
find solutions as quickly as possible - including details on how to discern
whether a
On Tue, 21 Sep 2004 16:25:37 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
i need to insert a current timestamp into a mysql field when a form is posted.
can anyone suggest a simple way of doing this?
Here's the MySQL answer: If you have a (data type) timestamp field in
your table, you
On Sat, 18 Sep 2004 19:48:37 -0500, Stephen Craton
[EMAIL PROTECTED] wrote:
Here's what I'm doing in a nutshell: Loop infinitely, checking for changes
to a database, flushing the data, sleep, and repeat the loop. It all goes
well and I'm getting it to work correctly. However, I'm not sure on
On Sun, 19 Sep 2004 01:07:25 +0200, Martin Justra [EMAIL PROTECTED] wrote:
Hello,
I want to write a script which does the following:
You enter http://www.test.com/test.php?number=123456
and the script shows the site
On Sat, 18 Sep 2004 14:19:55 -0500, Stephen Craton
[EMAIL PROTECTED] wrote:
I know I can change the default setting in the ini but I might need to span
this script on another server where I may not have the power to do that.
Whenever I go into a loop, and then go sleep(1) or so, after about 30
On Sat, 18 Sep 2004 15:19:29 -0500, Stephen Craton
[EMAIL PROTECTED] wrote:
Thanks, I had a look at this but it doesn't seem that it will solve my
issues, since it just adds on the time the script runs but still limits it.
Any suggestions?
The manual states that if you pass set_time_limit a
On Sat, 18 Sep 2004 22:25:12 +0200, Dirk Schippers
[EMAIL PROTECTED] wrote:
with indexes: id = primary, putdatetime, userid,
{put,front,topcategory,approvedby} and review.
If I want to know the 30 most recently added and approved items, I do
the following simple query:
SELECT id FROM
On Fri, 17 Sep 2004 14:07:08 +0800, Louie Miranda [EMAIL PROTECTED] wrote:
is it possible to increment by 10's? or 20's?
i have this piece of code, but it selects from 1 to 1000 and counts by 1's.
for($i = 1; $i = 1000; $i++)
Yep, just change that last part from $i++ to $i += 10, or 20, or
On Thu, 16 Sep 2004 11:15:13 -0400, Gryffyn, Trevor
[EMAIL PROTECTED] wrote:
I could have sworn that there was a function that dropped ALL GET values
into an associative array. Kind of the inverse of http_build_query.
I believe you're thinking of import_request_variables ().
On Thu, 16 Sep 2004 12:47:26 -0700 (PDT), Chris Shiflett
[EMAIL PROTECTED] wrote:
This makes absolutely no sense to me. What do you mean by submitted? How
would a PHP script be executed at all if the browser never sends a
request?
PHP can be run from the command line, in which case the GET
On Thu, 16 Sep 2004 16:25:31 -0500, Greg Donald [EMAIL PROTECTED] wrote:
On Thu, 16 Sep 2004 13:31:08 -0700, Andrew Kreps [EMAIL PROTECTED] wrote:
PHP can be run from the command line, in which case the GET and POST
arrays wouldn't exist.
$_GET and $_POST exist in CLI php, they are just
On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs [EMAIL PROTECTED] wrote:
Also, are the warning messages documented? As I asked in my original
question, is 10061 an error code?
10061 is a generic winsock error for a timeout, it's not PHP or MySQL
specific. It means that the call couldn't connect
This one worked for me, on MySQL 3.23.xx. I hope it's closer to what you need.
select sum(ordersubtotal), date_format(orderdate, '%Y-%m') as odate
from orders group by odate
On Fri, 10 Sep 2004 15:01:34 -0700, Brian Dunning
[EMAIL PROTECTED] wrote:
I have a MySQL db with a datetime field
60 matches
Mail list logo