re going to go this way (which as Rasmus pointed out is generally
very bad UI design) you might find the following a lot cleaner...
location.href = '<a href="http://www.php.net/">http://www.php.net/</a>';
There is no reason to do any browser detection, es
odule php4_module e:/Program
Files/PHP/Windows/php-4.2.3-Win32/sapi/php4apache2.dll
This path contains a space and therefore needs to be enclosed in quotes
otherwise Apache will read the path as e:/Program. I'm willing to bet
that the relative path you are now using does not contain a space.
--
Stu
ww.mwc.edu/inte/cpsc/03/about.html
3. If i have php script and when i execute, need max_execution_time more than 30 second it's pretend bad???
http://php.net/set_time_limit - much better than changing the value in
php.ini
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To uns
Stuart wrote:
Idur wrote:
1. How to searching data in array using "binary search methode" and
update the data when found it.
because the data, that i have to process is big, with more than 12000
lines.
2. How did i found tutorial about binary search in php.???
A quick Google
Mike Brum wrote:
Can you be a bit more clear on "calling a function from a hyperlink"? If
you're referring to that in the JavaScript sense, then no.
No?
link
Works in most browsers I've come across.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsu
need to handle adding items.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lf execute privileges.
In the security tab, click on "Advanced". At the bottom of the dialog
that appears there is a checkbox with the label "Inherit from parent the
permission entries that apply" Uncheck that, select copy in the
popup and you should then be able to modify t
10, could be wrong though)
Yup, 10: http://support.microsoft.com/?kbid=314882
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ad of
http://php.net/com
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Herhuth, Ron wrote:
for($i=0;$i<$_POST['numberOfAmendments'];$i++)
{
$amendmentNumber = $_POST['amendmentID_$i'];
}
Replace your single quotes with double quotes. Variable substitution is
not performed on single-quoted strings.
--
Stuart
--
PHP Windows Mailing List (
FROMdbo.Table_MIS_Files
WHERE dbo.Table_MIS_Files.File_ID NOT IN
(SELECT TOP 10 dbo.Table_MIS_Files.File_ID
FROMdbo.Table_MIS_Files)
That will get rows 11-25.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or messages" in the
Advanced tab of your Internet Options in the Tools menu. Then refresh
the page - it *may* give you a more specific error message.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
GET['ordername'], so for example your debugging statement would
change from...
echo "Debug statement: Chosen order is . $ordername . $name";
...to...
echo "Debug statement: Chosen order is ".htmlentities($_GET['ordername']);
Notice how I'm encoding t
and then, in showorder.php
>
> parse_str($_SERVER['QUERY_STRING'], $qs);
> $name = $qs['name'];
>
> and that's it!
What have you been smoking? This is already done for you, and the
results are in $_GET. Why duplicate the work?
-Stuart
--
http://stut.net/
&
ord? You're freaking kidding right?
In general I would argue that the tools you use have absolutely no
bearing on what level developer you are, but to be using Word for
anything other than word processing takes a special kind of ignorance
and/or stupidity. It has no place as a develo
ript.
>
> Which seems a little odd.
>
> Unless I'm missing something.
There is nothing built-in to get you this, but assuming you're on a
unix platform you can use an evil combination of getmypid() and
executing ps to get what you want. I'm sure similar is possible under
W
f the errors
pointed to blank lines or comments. I am at a loss to explain this and it is
becoming a pain - errors like this on your corporate website do not present
a very professional image!!
Any help would be appreciated.
TIA,
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubs
Set the environment variable QUERY_STRING prior to running PHP...
set QUERY_STRING=servername=SERVERNAME
c:\php\php.exe -q checksingle.php
HTH,
Stuart
-Original Message-
From: Scott Dowd [mailto:[EMAIL PROTECTED]]
Sent: 28 April 2002 12:32
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP
In IE you have to do ctrl+click the refresh toolbar icon. Ctrl+F5 does not
do it.
HTH,
Stuart
-Original Message-
From: Luis Ferro [mailto:[EMAIL PROTECTED]]
Sent: 29 April 2002 19:00
To: Webmaster
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: i'm stuck guys
Internet Exp
ploads, but it has to be saving the file it's receiving somewhere. You could launch a
popup
window when the form is submitted. That popup goes to a page that gets the size of the
file
PHP is saving the upload to and displays it and refreshes itself periodically.
I dunno if it would work, but
php4_module C:/Program Files/Apache
> Group/Apache/php-4.2.0-Win32/php4apache.dll
>
> Please tell me what did I do wrong?
Put the path to the DLL in quotes like so...
LoadModule php4_module "C:/Program Files/Apache Group/Apache/php-4.2.0-
Win32/php4apache.dll"
--
S
R.S. Herhuth <[EMAIL PROTECTED]> wrote:
> I installed 4.2 and I want to use sessions with the "stock
> configuration." I tried this but it doesn't work...what should I be
> doing different?
In what way? What error do you get?
--
Stuart
--
PHP Windows Mailing
h until it goes away (sometimes it doesn't). That
will show just how random it is.
We are not experiencing any other filesystem problems on that server. We don't want to
disable the mirroring without being pretty sure it will solve the problem.
All experiences/insights, good and bad, are appreciated.
--
Stuart
On 13 May 2002 at 17:21, Mauricio wrote:
> I am using apaches' authentication.
> How do i do for get user name and password in PHP?
PHP 4.1.x or later: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']
Earlier PHP: $PHP_AUTH_USER and $PHP_AUTH_PW
--
Stuar
uestion is: how can I access these server variables from PHP script?
http://www.php.net/getenv
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s poorly written,
The PHP manual is extremely comprehensive and (IMHO) quite well-written. However, it
is
written as a reference manual, not a beginners guide. There are lots and lots of good
PHP-
for-beginners books. A good place to start looking for a suitable book is
http://www.php.net/books.php.
I hope that lot helps.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian McGarvie <[EMAIL PROTECTED]> wrote:
> Any Ideas?
Show us your code and we'll see if we can identify the problem.
Unfortunately we're not mind readers.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g the code to use the new superglobal array $_GET.
> border="0">
What do you get if you go to this URL in a browser directly instead of
embedding it inside a page?
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;TextFONT", "3");
>>
>>
Erm, yes. I cannot believe that I missed that!!
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ll then Apache doesn't even load, just exits.
PHP 4.1.2 doesn't support Apache 2. You need to get PHP 4.2.x - it has a module
specifically for Apache 2.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all, I have recently installed php4.2.1 with IIS 5 and 2000 SP2 and
I'm having some wierd problems. PHP "IS" running but it is not running
correctly. It doesnt seem to be posting and/or getting any info from
forms/pages and the request variables. If I have a page like index.php it
works fine
e 'External variables' section. If you still don't understand
what is going on after that, feel free to let me know.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use php, so it
> pointless to refer to any php specific methods.)
The best way is to send it across an SSL connection.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t is. If you've read the notes linked from the release note you'll know that
if you turn register_globals on in php.ini then the variables will be
registered in global scope as they were in previous versions.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
before.
Dunno, never used SSL with Apache. Sorry.
I hope that helps.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
project. However, I would expect that there
would be little difference whether you implement it using IIS or Apache.
> Btw, thanks Stuart, thats kinda making me feel easier about keeping it IIS.
No problem. Don't get me wrong, I think the ?AMP combination
(Linux/FreeBSD/etc, Apache, My
. I (and I'm sure there are others) would prefer it if you could create a new
thread for a new topic. It makes things a lot easier to follow.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot what you mean, please be more specific.
--
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello and good day all. I am having problems trying to upload files
through php. Followed the online manual and the uploading appears to work
fine for small text files. But when I go to try and upload say an mp3 it
doesnt work. It just spits back the error:Warning: Unable to open '' for reading: N
DUH! never mind the newb over in the corner!
Changed the wrong max file size setting. Oh well...live and learn!
Nicholas Stuart said:
> Hello and good day all. I am having problems trying to upload files
> through php. Followed the online manual and the uploading appears to
> work
wrong?
My guess is that it's register_globals related.
> There's nothing wrong in my code cause it works fine on another server, just
> not on localhost.
Your code is not the only variable when moving from server to server. Check the
PHP version on the other server and also compare your re
Hello all, I seem to be having an odd problem with uploading files. The
problem is I'm trying to upload multiple files at a time, but when I try
to do anything more then 10 megs it doesnt work. It doesnt give any error
reports or anything it just goes to the page and acts as if no files were
uploa
from mine:
>
> ; Maximum allowed size for uploaded files.
> upload_max_filesize = 2M
>
> There is a call you can make in PHP to change it for certain scripts,
> although I'm not sure what it is.
>
> -Dash
>
> -Original Message-
> From: Nicholas Stuart [ma
I have read lots of info about this problem on the news group however it
has not solved my problem!
I am trying to get PHP 4.2.2 to load up on Apache 2.0.40 as a module but
it just ain't working. I follow the instructions and add the following
lines to the http.conf file:-
LoadModule
links from other users. Thats we I found the link.
Stuart
Andrew V. Romero wrote:
> I just got apache2 and php set up on winXP home after 2 two weeks of
> playing with it. First, take out the addtype application line, you
> don't need this line appartently for apache 2. See if
Hello all, I seem to be having problems with getting cookies to set
correctly. I use the following code:
___
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-s
me visible until the next loading of a page that
> the
> cookie should be visible for. To test if a cookie was successfully
> set,
> check for the cookie on a next loading page before the cookie expires.
> "
>
> --
>
>
> Best regards,
> George Nicolae
> IT Ma
I have just installed version 4.06 on my Windows 2000 machine, but when
I open the web page I have that contains phpinfo() it still reports
4.05. Is that a known issue or have I done something wrong in my
upgrade?
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e
copied the dll to the
c:\winnt directory. The old dll was in the c:\winnt\system32 directory.
Stuart
--
PHP Windows 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 PROTECTED]
Fatal error: Call to undefined function: imagecreate() in c:\program
files\apache\htdocs\drawchart.php on line 81
Can someone point me to what I should install to get my graphics
capability back?
Thanks.
Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
Hi,
Under win32, your best bet is to work with jpg's and png's, take a look at
your php.ini and make sure
the gd extension is enabled:
first make sure PHP knows which directory you are using:
; Directory in which the loadable extensions (modules) reside.
extension_dir = C:/php/extensions
Then
d the association is defined in windows for both .php and .phtml, I can
execute both file types from the command line (just by typing the file name
hello.phtml).
Does anybody have any ideas?
Thanks
Stuart/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can't believe Chapter 1 , section 1 and I'm off to a bad start already.
Using this form and script, I keep getting "undefined index" for the variables I
declare in the script. Running PHP 4.3.2 on XP Pro. Thanks.
Stuart
Form:
Item
Quantity
Tires
Oi
Yes, register globals are now on. Though it doesn't apparently matter.
Stuart
toby z <[EMAIL PROTECTED]> wrote:
register globals on or off ?
--- Stuart Felenstein wrote: > I can't believe
Chapter 1 , section 1 and I'm off to a bad start
> already.
> Usin
ead though I agree that global registers is not the problem. Besides
>I've tried both ways.
Stuart
Stephen <[EMAIL PROTECTED]> wrote:
Which just goes to show some people will say anything...
I don't think this has anything to do with register globals (Sorry toby).
Undefined i
there.
Anyway is there a definitive guide for install, or some proven method to get PHP
4.3.2, Apache 2 (latest stable) and XP Pro all singing the same tune?
Thanks
Stuart
same warning in Zend Studio as to the "undefined index" and
will try to figure that out. Regardless it works correctly on the web page.
Thanks
Stuart
Adam Goossens <[EMAIL PROTECTED]> wrote:Stuart,
This problem occurs when you try to access an index in an array that
does not ex
I also put php.ini, php4ts, php4apache2 all into my system32 directory.
Stuart
Dean Hayes <[EMAIL PROTECTED]> wrote:
Did you add the lines
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
to your httpd.conf file
Dean "The Insane
Created a small registration form, trying to spit back the information for
confirmation. Getting a parsing error. I don't know if it means anything, but I
created the form and table in GoLive. Up to defining the variables everything is
cool, ZDE points to line 32, as an unexpected >. Though
Oh sorry, no I was just responding to Mathias...my php is working.
Thanks though
Stuart
sven <[EMAIL PROTECTED]> wrote:
hi stuart,
try this:
move php.ini to \winnt
leave php4ts.dll and php4apache2.dll in \winnt\system32
in httpd.conf
change the loadmodule line to:
LoadModule php4_
s returned] to another table or layer somewhere
else in the same page.
Is this possible? I know nothing about HTML and will only take in as much as
necessary and rely on WYSIWYG type of programs like Dreamweaver or GoLive to do the
bulk of the dirty work.
Stuart
I understand what you are saying. PHP doesn't create or hide layers etc. What I'm
trying to understand is will PHP work in that environment or not? Could I code one
layer with a get or post form and have another layer translating it?
Stuart
Thank you for your response.
Jim Hunt
e "objects" dynamic (forms,
tables, layers). I took that to mean that the object has a life of it's own and once
sent to the server a hidden layer or table could automatically appear, again without
redrawing the entire page.
Sorry for the confusion.
Stuart
Jim
---Original
\bin and E:\PHP.
Thanks,
Steven Stuart
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pages and so forth it works without a
problem. Does PHP use a different portion of the Oracle application? Is
there a way manually to determine if the "oracle instant client" is
installed.
Thanks,
Steven Stuart
""Matt Murphy"" <[EMAIL PROTECTED]> wrote in mess
Hi Matt,
I have found out that the client is installed.Our main DBA had me
run some tools that showed that it was installed, and working.
So it appears to be a php configuration issue.
Thanks,
Steven Stuart
""Matt Murphy"" <[EMAIL PROTECTED]> wro
66 matches
Mail list logo