Strange... I just tried creating and writing to a text file by using a
filename with a space in it and it worked ok. Perhaps consider using
str_replace to convert spaces to the ascii value for a space (chr(32) I
believe) and give it a shot. Cheers.
Armando
Gustav Wiberg wrote:
Hi!
Of
nsfer');
header('Content-Type: application/force-download');
header('Content-Length: ' . filesize($file));
header('Content-Disposition: attachment; filename=' . basename($file));
readfile($file);
Note the double backslashes! Cheers.
Armando
Gustav Wiberg wro
RIght, Vista's quirky "Yes, I'm the administrator but no, wait, not
unless you REALLY mean it." I'd also suggest not using the installer,
but downloading the zipped package and doing a manual install. There's
many tutorials online how to do this. Cheers.
Armand
ORDER BY rowID
DESC");
Cheers.
Armando
Mark Abrams wrote:
Thank you all. Problem solved.
Gustav, I followed your recomendation and changed the table name var to the
actual table name and my problem is solved. Perpaps something is lost in the
interperter when PHP passes the code.
It has b
That's a bit of a half-truth... cookies do disappear if you don't
specify a time to livem. When I use cookies to store miscellaneous data
(for security I use session naturally) I typically do not specify a time
to live so when the user closes the browser, the cookie dies. Cheers.
I'd avoid the Windows installer.. most people have problems with it. Try
downloading the zip package and do a manual install.. the instructions
are in there. I had the same issue on previous versions and they went
away when I did a manual install. Cheers.
Armando
Marko Simovic wrote:
I would restart IIS. You know the old Windows adage.. when in doubt,
restart.
Styve Couture wrote:
I really don't know. I didn't succeeded when trying the last time. And since I have been move to another project, I haven't finished my migration from Apache to IIS on my previous project so...
This sounds like it's just a permissions issue. IUSR (or the user
account that IIS is running under) must have modify rights to whichever
folder your script is trying to delete from. Cheers.
Armando
Gustav Wiberg wrote:
Hello!
This is not strictly a PHP-question, but I hope anyone can
he data
before spitting it out, but I'm really not that great with arrays yet.
Plus updating the form with 21 different fields on it... how to identify
them and make sure they update the right fields in the database?
Any tips or suggestions would be welcome. Cheers!
Armando
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What URL are you using on your dev machine in the web browser when
testing? http://localhost...? I would try instead explicitly specifying
the machine's IP. I've had some weird issues come up in developing when
I try and use 'localhost'. Cheers.
- A -
Ken Kixmoeller -- reply to [EMAIL PROTECT
installed? Perhaps one of the two installations meddled with your
permissions. If you figure it out though, please let me know - I have a
few clients that are planning on using it for some personal stuff and
something like this would be great to know. Cheers.
Armando
Harpreet wrote:
Not sur
it shouldn't be an issue. HTH. Cheers.
Armando
.
Harpreet wrote:
SQL looks as below:
select top 400 * from na_item_view_new where ((story_name like
'%Midlothian%' ) or (title like '%Midlothian%' ) or (script like
'%Midlothian%' ) or (item_text like '
#x27;s query? Cheers.
Armando
Harpreet wrote:
I have a search page on my web application that searches a database with
1000's of rows. The search results are returned in like 45-50 seconds.
If the user goes to another page and then returns to the same page again
it takes the same amount of
and be able to upload to the server and
it would work. If you can do something similar, I highly recommend it.
Cheers.
Armando
[EMAIL PROTECTED] wrote:
Hi Stefan,
thats probably it :) Will give it a try when I get home.
Tryst
-Original Message-
From: [EMAIL PROT
on Windows that pull files from or write files to non
web-accessible directories and I have to specify double forward slashes
in the absolute path order to make them work. Cheers.
Armando
[EMAIL PROTECTED] wrote:
Can you locate the included file via absolute path? I.E. "/folder2/someclass
There's ways. A really simple way (though not necessarily the right one,
or the only one) would be to just use an SSI that gets included at the
top of each page it's required to be on to check for the validity of a
session... if OK proceed, if not, punt to login.
Armando
Harpreet
Don't put php.ini in the Windows folder.. put it back in the PHP folder
and add "c:\php" to your PATH environment variable in Windows. Cheers.
Armando
Travis Cooper wrote:
Okay, here is some more information that might help somebody help me. I
am working on Windows XP Home.
urrent site context (http://www.searcydigest.com/catalog) as it's
base reference instead. Cheers.
Armando
pfancy wrote:
hi. I have probably posted about os commerce before, but I fixed the css
file to where some of the pictures shows up great. But the pictures I took
and added to my cart a
ers should be preceded by a backslash so that when the
information is parsed, it treats them as literal text and not
delimiters. Cheers.
Armando
Karuna wrote:
What's do you mean they're incorrect? Are they preceded by a slash?
Google for "php sql injection" and it'l
like:
AddType application/x-httpd-php .php .txt
This would process PHP code in files with both .php and .txt extensions.
Cheers.
Armando
Alf Stockton wrote:
From what I have read on the web I am given to understand that I can
include text files in a html document by issuing the following in the
h
No, you must have an SMTP server. And phpBB does use one. You have to
specify the server settings in the configuration section of the
administration panel in phpBB. Cheers.
Armando
Daniel Anderson wrote:
Is there a way I can use the Mail(); function without having to have an SMTP
server
Do you have the php_gd2.dll module loading? In your php.ini file under
the modules, uncomment the line out then give it a try. Cheers.
Armando
Ted Lorenz wrote:
I'm trying to create a thumbnail from a jpeg file but the script stops when it
encounters the function 'imagecreatefr
places it appears and see if there are any common elements that might
give you a better clue as to what's causing it. Cheers.
Armando
Dbird.. wrote:
Armando,
I appreciate the response. Hopefully we can track it down better. The
websites which are functioning properly are actually mu
after a reboot then start throwing out errors in the event log. Reboot,
fine for another period of time. Maybe check your event log for any
errors? Can you perhaps expand on the differences between this site and
your others? Are there other modules it's using that your other sites
are no
ctory (so they are not just able to be viewed by browsing
directly to the file) and it works fine. If you do it with a different
file extension, make sure you configure your web server to make PHP
process pages with that extension. Cheers.
http://ca3.php.net/manual/en/function.include.php
Ar
your connection. You may be doing something wrong
there. Cheers.
Armando
-
SETUP: PHP 5.0.5 on Windows 2003 Server/ IIS 6
PROBLEM: php_info() display correctly when called and basic PHP
functionality appears to be working UNTIL I attempt to connect
of an archtectural difference between 2K and 2K3. It
could *possibly* be a permissions issue. Also get yourself the FileMon
utility from sysinternals. It's a very handy utility and may help you
out: http://www.sysinternals.com/Utilities/Filemon.html
Cheers.
Armando
David Felton wrote:
Here
ipped packages rather than the ones with the built
in installers. Was fairly straightforward and only took about 15 minutes
to upgrade both. Cheers.
Armando
Charlie Wong wrote:
I experimented with an install of PHP 5.1 and had the same problem. It
would not load the mysql extension. I had to r
kly. Since then there's been no issues. That
particular setup was getting ~150k hits a day.
Personally, amongst my machines, I've got one box running Win2k Server
that's been running Apache2/MySQL/PHP5 for some time with not so much as
a hiccup. Cheers.
Armando
Matt Murp
the other night and ended up
having to upgrade from PHP 5.0.1 to 5.0.5 before it would talk to the
MySQL server properly. All is running smooth again though, and I am
mighty happy with them thus far. Cheers.
Armando
G. Eggold wrote:
If it's any consolation, I'm having the same issue.
og in it actually doesn't show your userid or autologinid as plain
text so that's why I was considering hashing the username, just for
cookie value. Thanks for the insight!
Armando
[EMAIL PROTECTED] wrote:
Shouldn't you have used the $_COOKIE global variable, considering it
w
could expain it, it would
be greatly appreciated. Thanks in advance!
Best Regards,
Armando
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try dropping the libmysql.dll file in your windows/system32 directory.
Or add the PHP directory to your PATH environment variable. Cheers.
Armando
Mikey wrote:
Vincent Kruger wrote:
My php 5.0.5 doesn't want to load the mysql module and the libmysql
file is
in the root directory of
7;s often too much. There's absolutely nothing
wrong with richness in your web app, but keep it limited and keep it
simple. That will keep the users happy and wanting to use it. Cheers!
Armando
Tony Aldemir wrote:
Hi There,
I am trying to decide what software to use along with PHP so th
es by just leaving a space and then adding the ones
you want, for example:
AddType application/x-httpd-php .php .html .htm
Cheers.
Armando
Mark Rees wrote:
Lots of possible solutions on this:
http://www.webmasterworld.com/forum88/4806.htm
And another is... change the extensions on your html
I run across this in all the user input forms I do. People are always
trying to put weird stuff in there. Usually I just use the str_replace
function to strip out unwanted characters. Cheers.
Armando
Ross Honniball wrote:
Hi all,
Say you get some text field from a user and store it in a
Did you add c:\php to your PATH environment variable?
Toby Brown wrote:
I continually get this error when trying to setup php5 on a windows 2000
machine. I can get it woriking on a XP pro machine but when I try to set it
up on our windows 2000 server i cannot get my php apps to connect to mysql
Only use $_SESSION if you're running PHP 4.1.0 or higher as in previous
versions it's not available as a global variable. Check this link on PHP
for more info on session:
http://ca3.php.net/manual/en/ref.session.php
Cheers.
Armando
graeme wrote:
Also use $_SESSION rather than HTTP_S
Try removing the apostrophes around the field names that you are trying
to insert data into:
$query="insert into login (uname,access) values('try','super')";
Armando
Richard Lynch wrote:
Vaibhav Sibal wrote:
Hi,
I am not able to insert data into my mysql database us
You said you changed the port to 8080 but you didn't specify that in the
browser URL. By default all web browsers connect to port 80 unless you
specify otherwise. You need to use the address:
http://localhost:8080/phpinfo.php
Cheers.
Armando
Sunburned Surveyor wrote:
Windows/PHP Users,
I&
It will not work. The simple file sharing option is not available in XP
Home, only Pro. You can check the sharing settings in the sharing tab
for the folder once shared, but if you still can't get it to work then
there's really not much you can do. Cheers.
Armando
Chris wrote:
DvDm
If you upgraded to 4.1.x from 4.0.x then it's likely you need updated
libraries (DLL files).
Armando
Joseph L. Mueller wrote:
Just upgraded to MSQL 4.1.8 and PHP 4.3.10 and am running apache 2.0.43
on Win XP. When trying to connnect to Mysql I get the following error:
"Warning: mys
i use vi!
Or notepad when I'm on a Windoze box. Wordpad has too much fluff. I like
to keep it as simple and plain text as possible.
:)
Jason Barnett wrote:
I use Wordpad. Seriously ;)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
primarily on
dialup systems) will work.
HarryG wrote:
Well you should still be able to relay messages via your ISP's mail server.
Meaning in your php.ini, under the mail server settings put in mail.aol.com
or mail.whateverisp.com.
You just have to find out your isps mail server name and put it
cable modem service. I
guess it's the principle though. You really never know which ISPs filter
email based on DUL lists and whatnot until people start complaining that
they aren't getting their automatically generated emails from your
website. It's a real pain in the a$$ :) Che
together. Cheers.
Armando
Jason Barnett wrote:
Andre wrote:
Hello
Anyone know if it’s possible to have a (IIS – sql-server) and (apache –
mysql) running on the same machine?
Thanks
André Caridade
If they are listening on different ports then I don't think this is a
problem. Then again I
Put your PHP directory into your 'PATH' variable in environment
variables, or try copying the php_mysql.dll file into your windows
directory. Cheers.
Armando
Mike Francis wrote:
Hi,
I am running PHP 5, MySQL 4.1 and Apache 2.0 on an XP Pro Box. I would like
MySQL to serve HTTP pag
stall. There
is documentation available to help you and there is much more bundled in
the zip package that you don't have to go looking for if you end up
needing it. Cheers.
Armando
-Original Message-
From: Ian [mailto:[EMAIL PROTECTED]
Sent: November 28, 2004 1:22 PM
To: [EMAIL PROTECTE
Windows related issues so blew away my development box and put
Linux on it instead :-) But I digress...
Cheers.
Armando
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: November 29, 2004 11:06 PM
To: 'Pravin-Kumar'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] pro
Anthony, there is nothing wrong with what you've done, but try changing
your 'print' line in hiUser.php to:
print "Hi there, ". $_POST["userName"] ."";
And it should now work. Cheers.
Armando
-Original Message-
From: aomarlow [mailto:[EMAI
sical location on the drive that $file specifies without
needing any extra functions. Needless to say this is going to
significantly reduce the amount and complexity of my code, and is quite
an extremely pleasant surprise! Cheers to all.
Armando
-Original Message-
From: Armando [mailto:[
Hi to all who volunteered assistance - I've figured out what the problem
was! Actually what the REALLY nice thing is that now that I want to
access
-Original Message-
From: Armando [mailto:[EMAIL PROTECTED]
Sent: November 2, 2004 9:47 PM
To: [EMAIL PROTECTED]
Subject: RE: [PH
, and so
I assume that PHP which is loaded as an Apache module would attempt to
access the file as whatever user the Apache service is using. In which
case LocalSystem SHOULD have access. It's frustrating because I know I'm
probably missing something simple!
Armando
-Original Message-
s Apache 2.0.51, and o/s is
Win2K Server. Thanks again, and cheers.
Armando
-Original Message-
From: Warren Vail [mailto:[EMAIL PROTECTED]
Sent: November 1, 2004 1:37 AM
To: Armando; PHP Windows List
Subject: RE: [PHP-WIN] Displaying An Image / Non-Web accessible Dir
I would thing you could
ay
the image from that page. I'm just not familiar enough with PHP yet to
do this.
Any help would be greatly appreciated! Cheers.
Armando
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
55 matches
Mail list logo