I was always using pws until recently when I got Apache for windows. Unfortunately
when apache gets to a php file it doesnt parse it, it thinks its a file to download. I
uncommented the php lines in the http.conf file but still no use. Does anyone know how
to fix this?
Whenever I try to connect with ANY Mysql code on my cpu, I get an error saying it
can't connect. I installed usingthe 4.04 win32 installer(heresey I know) which has
mysql built in. Do I have to edit anything to all me to try the scripts on my personal
cpu?
i downloaded the binaries but when I compiled it said I was missing
string.obj
- Original Message -
From: "Phil Driscoll" [EMAIL PROTECTED]
To: "Chris" [EMAIL PROTECTED]; "PHP" [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 4:44 AM
Subject: Re: [PHP] My
table schemata), to enable reproduction. It
seems like a bug to me - the question is, is the bug in PHP, MySQL, or my
brain?
This is driving me CRAZY
- Chris
mysql_connect("localhost", "myusername", "mypassword");
mysql_db_query("DocCountry"
is? Is it still free?
Thanks,
Chris
On Tue, Mar 06, 2001 at 12:28:33PM -0600, Boget, Chris wrote:
Is it possible to use the auto prepend/append directives to
prepend/append particular files only to files with a particular
extension?
I don't believe you can do this directly with PHP but you
probably can with
Apache
Do any of these editors support server mappings allowing one to
auomatically preview files through a server? I find this invaluable in
HomeSite (which is also VERY stable for me using Win2K) and I think
HTMLKit does it too-- but do anyof the leaner text editors?
By server mappings I mean that I
# allways different too!)
Can someone tell me what the proper header to send is?
I looked at HTTP1.1 protocol page, but it just refers to multipart/form-data but does
not actuall show it in an example with Content-Type.
Thanks,
Chris
Hi,
Is there a way to do an array_pop with php3?
Help,
Why did this suddenly stop working? (only code on page)
script language="php"
header ("Location: http://www.otherserver.com/index2.htm");
/script
It was working fine before, now the page just returns:
/body/html in the source, no error messages.
the file and creating a new one but that seems like
a lot to do. It would be nice if there were a way to set a pointer to
the top of the file and overwrite.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
* FROM sometable) everything works fine. There
must be something Im missing about the SHOW query.
Thanks
Chris Williams
--
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
DUH Why didn't I see that..
Thanks..
Chris
Miles Thompson wrote:
Well, did you try looping though tables with mysql_fetch_array($tables)?
But, how 'bout mysql_list_tables()?
Cheers - Miles Thompson
PS There's a bunch of other interesting stuff relating to database
manipulation
everything i can think of that can work
but with no luck.
So if someone have a solution for me... i would apriciate it :)
(and yes i do have defined all the vars in the script they are just not that
important here)
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
)
{
$line = mssql_fetch_row($result);
if( $line[1]='$bruker' and $line[2]='$passord') echo hei $bruker.;
else echo FEIL;
}
?
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nope... that did not do the trick...
-Chris
Rick Emery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
if( $line[1]='$bruker' and $line[2]='$passord') {echo hei
$bruker.;}
else {echo FEIL;}
-Original Message-
From: chris
enclose the variables in double quote.
if( $line[1]==$bruker and $line[2]==$passord) echo hei
$bruker.;
else echo FEIL;
-Original Message-
From: chris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] why doesnt t
f( $line[1]==$bruker and $line[2]==$passord) echo hei
$bruker.;
else echo FEIL;
-Original Message-
From: chris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] why doesnt this work???
this script receive
Message-
From: chris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 8:33 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] why doesnt this work???
it all works just fine exept that when the vars is wrong i get a blank
page...wich means that the else echo doesnt work for some reason...
the browser is not caching the page.
Win98 + 'foxserv', that is: apache, mysql. php, zend.
Using: Postnuke 0.7.1 with sessions (it did not happen before the
sessions, but cannot imagine the sessions do this.).
I would suspect zend but it also happened with the normal php 4.06.
cheers,
Chris
, it
now uses sessions.
IE6, caching turned of, and check page every time as well as
'automatic'..
Also reproducable in Opera.
Chris
- Original Message -
From: Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 12:59 PM
Subject: [PHP] included files not reread
;
--
! please check my email address !
! only my email [EMAIL PROTECTED] works !
! email [EMAIL PROTECTED] is a black hole since januari 2002 !
Chris Hayes - Droef 35 - Wageningen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
() );
I find it is extremely useful in debugging.
--
! please check my email address !
! only my email [EMAIL PROTECTED] works !
! email [EMAIL PROTECTED] is a black hole since januari 2002 !
Chris Hayes - Droef 35 - Wageningen
--
PHP General
!
! only my email [EMAIL PROTECTED] works !
! email [EMAIL PROTECTED] is a black hole since januari 2002 !
Chris Hayes - Droef 35 - Wageningen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
How can I echo some text such as Processing, please wait... whilst the PHP
script runs. Rather than displaying a blank screen with the results being
echoed once the script has fully completed.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Can anyone help me with the command I need for a RAW FTP file upload?
I can create connections and they empty file, but I have no idea how to get
the data into the file and I have tried everything.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Yes. Your solutions fails for any file over 5k about 99% of the time. The
server I use does not have the FTP functions installed so I cannot use
these, that is why I am looking to this solution.'
Chris
Analysis Solutions [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">new
PROTECTED]">news:[EMAIL PROTECTED]...
Hi Chris:
Yes. Your solutions fails for any file over 5k about 99% of the time.
The
server I use does not have the FTP functions installed so I cannot use
I wouldn't really call it your solution, since it's really the
solution. FTP stands
and
suggestions to solve it
http://bugs.php.net/bug.php?id=16102
Chris
--
! please check my email address !
! only my email [EMAIL PROTECTED] works !
! email [EMAIL PROTECTED] is a black hole since januari 2002 !
Chris Hayes - Droef 35
I'm trying to use the mail() function to send mail to a mailing list and
because of the junk mail problem of hotmail, I'm trying to send mail one by
one. The problem of using this method is that it always exceed the max
execution time of 30s before the script reaches end of parsing.
I'm using a
Is there a way to implement Dynamic Binding using PHP?
Chris Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
What is the best way to do this?
Clearly, I don't want to do this as a list of vars in the URL - some of the
vars are sensitive.
I would appreciate any comments.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I found this on the web one day, though I've never used it or played around
with it. It does make the code a pain to read though if it does anything
close to the sample on the page. Plus, its free.
http://pobs.mywalhalla.net
-Chris
At 01:35 PM 5/7/2002 +, Udo Giacomozzi wrote:
Hi!
Has
and then populating the rest. IE
They select Ohio in the first box, then you would refresh the page, and
select * from cities where state = OH...
-Chris
At 01:21 PM 5/16/2002 +0100, Brian McGarvie wrote:
All,
How would you implement 4 drop down lists
Data in list 2 dependant on list 1, list 3 dependant
on?!#!#!$#
Thanks a million in advance!!
- Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'd written a work around - basically I echo the message, and recall the
script with a meta refresh to do the actual processing.
Thanks again,
Chris
Michael Sims [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Chris Andrew [EMAIL PROTECTED] wrote in messag
Before creating a graphic, I would like to detect what type of graphic
files are supported. For example if GD is enabled and GIF Support is
available I'll create an GIF image. I know phpinfo() will tell me this
but I don't want to burden the user with this check.
Any Suggestions?
Chris
Is there a way to detect, using PHP, if mySql is installed on a server?
Can a version # be determined also? I know this can be done using
phpinfo, but I don't want to use that approach.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
error is
thrown:
Fatal error: Call to undefined function: imagetypes()
Any suggestions to prevent the error message being thrown. Are there
other methods to detect the presence GD libraries before testing for GIF
or PNG support?
Regards,
Chris
--
PHP General Mailing List (http://www.php.net
.
Any suggestions welcome.
Thanks,
Chris
--
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 PROTECTED]
It appears this function is only available for PHP4+. I have been trying
to stay compatible with PHP3 but maybe I should abandon this requirement.
Do you know of any URLs that may provide stats on versions of PHP in use?
Thanks,
Chris
Wolfram Kriesing wrote:
Im considering writing all
Are there any refrences that would indicate the percent of sites (PHP
installs) using various versions of PHP (i.e., 60% PHP4, 30% PHP3,
etc.)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
That Report doesn't seem to identify PHP version only total
Matt McClanahan wrote:
On Fri, Nov 09, 2001 at 10:11:50AM -0800, Chris wrote:
Are there any refrences that would indicate the percent of sites (PHP
installs) using various versions of PHP (i.e., 60% PHP4, 30% PHP3,
etc.)?
See
[posted and mailed]
Jim Lucas addressed php.general and spake thusly:
I have a page that includes a file in the middle, but I wish to set
the title of the page based on a variable set in the included file--
is this possible?
Basically, I was doing this for the output buffering:
***
It didn't help :(
- Original Message -
From: Matthew Loff [EMAIL PROTECTED]
To: 'Chris' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, December 01, 2001 10:03 AM
Subject: RE: [PHP] XML and PHP - dynamic hell
Did you try adding:
header(Content-Type: text/xml);
To the top
I am digitalizing a companies Application in an online system. The problem is that
companies they deal with require the app to be signed. Obviously an online application
cannot be signed conventionally. Does anyone know of a way or a work-around to
accomplish this?
The PHP function fopen() can read a URL generated by a server with the GET
method. In that case, the arguments of this server's script are part of the
the URL.
Unfortunately, I have to read parse the result of a form using POST method. Is
there another function than fopen() that can be used ?
with this would be great...
Thanks, Chris Irwin
--
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 PROTECTED]
what I want to do is annotate the gif
before I display it.
Any comments welcome.
Chris
--
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 PROTECTED]
OK, NOW I FEEL STUPID!!!
Upon trying the suggestion I notice a missing semicolon.
Thanks,
Chris
--
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
$HTTP_SESSION_VARS to read a variable works fine.
Since I like to always use $HTTP_SESSION_VARS for safety, rather than
the bare varname, I'm not too thrilled with all this. Can anyone
explain why it's so?
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I have configured mod_auth_pam for Apache and secured a directory with an
.htaccess file:
AuthType Basic
AuthName Secure Area
require group staff
require user chris
Now, I would like to control the local browser window's authentication cache
via PHP. For example, how do I clear
Looks like this may be in wrong order:
url = '$file_name')
^
I think you have ' when it should be '
Here is the command.
mysql_query(UPDATE user_polls WHERE uid = '$UserName' AND type = '$type'
SET
url = '$file_name') or die(mysql_error());
Output
You
Is there anyway to ALWAYS have a script running on the server without needing a
browser to access it?
problem, with a well known solution?
Thanks,
Chris
--
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 PROTECTED]
.
Chris.
If you include a file as a link, so the browser sees:
www.myserver.com/sercuredir/image.jpg.
Than yes, you will be asked for a user and pass.
If you include the file in the code, like including another script file, or
reading the raw image data and outputting it, then .htaccess will be
ignored.
And if you can't seperate the root directorys of the secure and not secure
servers, you can setup and aliases directory under the secure server and it
will be the only one that can see that dir.
On Fri, 9 Feb 2001, Daniel Tryba wrote:
On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley
= myarray["something"];
$indexofsomething = current();
Thanks,
Chris
Ok,
But can't the array still be refered to with a number?
So in myarray["something"] is the 50th element in the array, wouldn't:
myarray[49] = myarray["something"]
?
On Thursday 15 February 2001 01:40, Chris wrote:
How do I get the index,number of an array if reffe
to be 'in' the directory I
want to import. Since I can't do anything like a cd from PHP, what do
I do?
Thanks,
Chris
Eep. I didn't know there was a chdir. It's not in the list of Filesystem
functions, but when I looked for it by name in the quickref, there it was.
Thanks!
Chris
ting with 1. I want for # to increase by one each time a user
clicks it, as well as load that numbers image. I wanted to define each # as
a link to that image.
Thanks,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
? Or is the the access database that isn't properly
storing the ?
Is there a better way to do this?
Thanks,
Chris
read the posted info just fine.
PHP does work fine with normal php forms.
Why can PERL recognize my data, but PHP not, how are they handling the posted info
differently?
Is there a way I can get PHP to display the raw data that the script receives so I can
see what is happening?
Thanks for any help,
Chris
the posted info just fine.
PHP does work fine with normal php forms.
Why can PERL recognize my data, but PHP not, how are they handling the posted info
differently?
Is there a way I can get PHP to display the raw data that the script receives so I can
see what is happening?
Thanks for any help,
Chris
Unfortuanetly, phpinfo is not telling me anything.
It returns all the normal info, but it still seems to act like there was no
data posted.
Put phpinfo() in the script to see what is going on..
On Monday, 26 February 2001, at 09:12:11 (-0800),
Chris wrote:
I am trying to post some
'});
Put phpinfo() in the script to see what is going on..
On Monday, 26 February 2001, at 09:12:11 (-0800),
Chris wrote:
I am trying to post some info to my php script using the microsoft
internet control:
strurl = http://www.myserver.com/test.asp
strdata = "lah=sddta
to a temp dir then give them the link, then worry about
deleting the temp dir again.
Thanks,
Chris
to a temp dir then give them the link, then worry about
deleting the temp dir again.
( I am not sure if my first email went through, I got an error back about the mailbox
being full)
Thanks,
Chris
Great, thanks.
I looked at the file(), but it sounded like is was just for local file use.
Is it possible to send a file to a browser?
Sure.
file();
I would like to allow people to download a file, but I don't
want to give away the path to the file, so a normal link
wouldn't
Hi again,
Has anyone here come accross a Rich Text Format to HTML converted based on PHP?
Thanks,
Chris
Hi again,
Has anyone here come accross a Rich Text Format to HTML converted based on PHP?
Thanks,
Chris
Try the perl compatible one, you can set a limit of how many times to
replace:
http://www.php.net/manual/en/function.preg-replace.php
I've tried and tried to no avail, can someone assist
I need to select the first space in a line like the following
Nelson Bob and Mary, 123 Street st.,
it is because of the browser
that the client is using that this variable is unreliable. But what those
browsers/versions are, I don't know and am hoping someone can
answer.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Not really,
because the script filename is deleted and changed all the time, it doesn't
matter if they paste the name into the form, since the file will no longer
exist.
From: "Chris" [EMAIL PROTECTED]
Would it not be possible to have both the form page and the script page
that
No wait,
I see what you mean. You're right, sometimes the obvious is missed, but it
sounded cool.
From: "Chris" [EMAIL PROTECTED]
Would it not be possible to have both the form page and the script page
that
handles the form be generated o the fly with random filenames?
The
Hi,
I am trying to find some info on upgrading from php3 to php4.
I can't seem to find any docs about upgrading, just installing. Is this the same thing?
Do I have to re-compile apache just to go from php3 to php4?
Thanks,
Chris.
Yes, thank you, but this has nothing to do with what I asked, this is about
CODE migration.
http://www.php.net/manual/en/migration4.php
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 12:19 PM
To: php
Subject: [PHP] Help please
Hi,
Does anyone know if and what the limit is of bcc that can be used in the mail()
function? Hundreds, thousands?
Thanks,
Chris
You're using the wrong option.
Register globals is for the auto-creation of variables passed through
GET, POST, etc.
What you want is register_long_vars (or something like that, long
variables, long arrays...)
Chris
Rodney Courtis wrote:
Hi
I have installed php v5 on a windowsXP PC
Jon Westcot wrote:
Hi David, et al.:
Thanks for the comment. I removed the trailing semi-colon in the two
areas where it was being sent to mysql_query() and tried the code again.
I'm still getting the same basic problem -- it silently aborts somewhere
around 22,000 to 26,000 records being
Frank Lopes wrote:
I just started using PHP and got to think...
Without getting into the discussion of best practices, strictly from
a performance perspective,
what is faster: a function or an include?
For example I have a block of text that needs to appear mutliple times
throughout the
Ronald Wiplinger wrote:
My php program is working with Firefox, but not with Internet Explorer.
Nothing to do with php, your problem is javascript.
Is there a tool to find the problem?
For IE, try
Khyron wrote:
I have tried this for weeks with no success, so I am asking for help
with this. Something seems really off with the PHP 5.2.4 build
process.
You might get more help on the php-install list rather than this one.
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP
Nathan Nobbe wrote:
On Nov 11, 2007 9:32 PM, Robert Cummings [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
On Mon, 2007-11-12 at 11:27 +1100, Chris wrote:
Frank Lopes wrote:
I just started using PHP and got to think...
Without getting into the discussion
Nathan Nobbe wrote:
On Nov 11, 2007 11:52 PM, Chris [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
As I said, it's a micro-optimization *shrug*. 0.0004 seconds difference
over 10 iterations - wow ;)
actually it was just one iteration; the output isnt very clear, but
thats
Jamesas wrote:
I have the array by the following. i want to sort the array by name and
starlevel.plz help me i am troubled for it.
If this is coming from a database it would be easier to get the database
to do the sorting instead of trying to do it in php.
--
Postgresql php tutorials
The only question that remains for me is what's the difference between
Local and Master Configure values in php_info? Why two?
The 'master' value is straight from php.ini or the httpd.conf settings
(eg httpd.conf sets the open_basedir restrictions).
The 'local' value is after .htaccess
David Calkins wrote:
I'm attempting to scrape a web page to pull out some pertinent info.
The URL looks similar to the below.
http://www.someserver.com/user-info.xml?user=myusername
If I paste the above into my web browser, the page comes up and
displays the information. If I try view
Radek Hladik wrote:
Hi,
I need to run remote command (by ssh), send it some data and receive
its output and return value. I could run command like
ssh [EMAIL PROTECTED] 'command' via proc_open or something like that. But I've
discovered ssh2 pecl-extension and I liked the idea of using ssh
Josh McDowell wrote:
I just recently installed apache 2.0 on my comp with php 5.2.5 aswell. Apache
is working and I am trying to get php to be configured into apache as a module,
I put the ini file in the load module so it looks like this:
#LoadModule vhost_alias_module
David Calkins wrote:
Its a big company. They provide the page to help people look up the
info, but I don't think I could expect support from them on it. I was
thinking it was some standard sort of thing, like maybe the way you
issue the HTTP request or some way of decoding an alternate
mvh wrote:
on windows
Why not?
http://www.vim.org/download.php#pc
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jon Westcot wrote:
Hi all:
I'm having problems retrieving an array value that should be in a $_POST
setting. In fact, I'm having trouble with the code hanging with no warnings or
errors whatsoever, so I've got no clue why it's not working.
Working code:
if(isset($_POST[mls])) {
OK, I'm looking at the PHPEclipse site, and I've been here before: the current
Using PHPEclipse document lists the system requirements as PHP 5.1.2 or *below*,
and Apache 2.0 or *below*
Is that just badly out-of-date (last update is April 2007), or is PHPEclipse
really not able to support PHP
Jon Westcot wrote:
Hi Mike:
you want javascript.
i'd recommend using jquery (jquery.com)
I'll look into this. Thanks.
put an id=username on the username box.
then do
script type=text/javascript
$(document).ready(function() {
$(#username).focus();
});
/script
voila
Hmmm.
Ronald Wiplinger wrote:
I added just into a input field
19 enclosure
which was displayed from the database as:
19\ enclosure
That gives me some questions:
1. where the protecting slash comes from?
Probably magic_quotes_gpc
2. how can I get it away when I want to display that field?
1)
Ronald Wiplinger wrote:
I am having troubles with the function file_exists()
I tried the full path like:
if (file_exists('/srv/www/../images/pic412.jpg') {
echo IMG SRC='images/pic412.jpg';
} else {
echo nbsp; //picture is missing!
}
No matter if I use the
Ronald Wiplinger wrote:
Chris wrote:
Ronald Wiplinger wrote:
I am having troubles with the function file_exists()
I tried the full path like:
if (file_exists('/srv/www/../images/pic412.jpg') {
echo IMG SRC='images/pic412.jpg';
} else {
echo nbsp; //picture
1 - 100 of 8019 matches
Mail list logo