Re: [PHP-WIN] space in filenames when uploading?

2007-09-06 Thread Armando
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

Re: [PHP-WIN] open/download file not under www-root

2007-09-04 Thread Armando
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

Re: [PHP-WIN] Vista wont let me install php

2007-08-07 Thread Armando
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

Re: [PHP-WIN] Solved - Re: [PHP-WIN] ORDER BY is not sorting

2007-08-03 Thread Armando
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

Re: [PHP-WIN] So why do I need session?

2007-04-13 Thread Armando
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.

Re: [PHP-WIN] Problem with installer version on IIS

2007-03-22 Thread Armando
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:

Re: [PHP-WIN] Rights to delete?

2007-02-22 Thread Armando
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...

Re: [PHP-WIN] Rights to delete?

2007-02-22 Thread Armando
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

[PHP-WIN] Scheduling

2007-02-19 Thread Armando
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

Re: [PHP-WIN] Sessions working/not

2007-02-07 Thread Armando
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

Re: [PHP-WIN] SQL SERVER EXPRESS upgrade

2007-02-07 Thread Armando
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

Re: [PHP-WIN] Search results

2007-02-03 Thread Armando
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 '

Re: [PHP-WIN] Search results

2007-02-01 Thread Armando
#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

Re: [PHP-WIN] php5

2007-01-04 Thread Armando
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

Re: [PHP-WIN] windows path problem: failed to open stream: No such file or directory

2006-12-18 Thread Armando
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

Re: [PHP-WIN] Database Invalid

2006-05-01 Thread Armando
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

Re: [PHP-WIN] Re: Getting Started

2006-05-01 Thread Armando
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.

Re: [PHP-WIN] shopping cart

2006-04-24 Thread Armando
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

Re: [PHP-WIN] Re: strange caracters

2006-03-27 Thread Armando
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

Re: [PHP-WIN] include txt in html

2006-03-14 Thread Armando
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

Re: [PHP-WIN] Using the Mail function without an SMTP?

2006-02-19 Thread Armando
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

Re: [PHP-WIN] Problem with 'imagecreatefromjpeg'

2006-02-14 Thread Armando
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

Re: [PHP-WIN] Re: Strange access violation

2006-02-14 Thread Armando
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

Re: [PHP-WIN] Re: Strange access violation

2006-02-13 Thread Armando
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

Re: [PHP-WIN] SESSIONS and include()

2006-02-08 Thread Armando
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

RE: [PHP-WIN] PHP 5 - MySQL extensions : MYSQL_CONNECT fails to complete

2006-02-06 Thread Armando
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

Re: [PHP-WIN] Custom PHP extensions not woring on windows 2003 server

2005-11-30 Thread Armando
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

Re: [PHP-WIN] Custom PHP extensions not woring on windows 2003 server

2005-11-29 Thread Armando
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

Re: [PHP-WIN] any fairly large production sites on IIS/PHP out there?

2005-11-17 Thread Armando
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

Re: [PHP-WIN] Re: Install trouble - PHP & MS SQL

2005-11-15 Thread Armando
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.

Re: [PHP-WIN] Login System / Cookies

2005-09-24 Thread Armando
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

[PHP-WIN] Login System / Cookies

2005-09-23 Thread Armando
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

Re: [PHP-WIN] MySQL Problem

2005-09-19 Thread Armando
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

Re: [PHP-WIN] FrontPage or something else?

2005-09-18 Thread Armando
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

Re: [PHP-WIN] Re: Perplexed - wont parse tags in html

2005-07-09 Thread Armando
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

Re: [PHP-WIN] Crazy user input with html in it

2005-05-28 Thread Armando
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

Re: [PHP-WIN] Loading mysql module for php5 and apache2

2005-04-12 Thread Armando
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

Re: [PHP-WIN] Session Variables

2005-03-07 Thread Armando
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

Re: [PHP-WIN] Re: [PHP] Not able to add data to a MySQL database

2005-02-28 Thread Armando
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

Re: [PHP-WIN] New Windows user having trouble with Apache and PHP

2005-02-07 Thread Armando
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&

Re: [PHP-WIN] sharing files over network with XP Home and PHP?

2005-01-23 Thread Armando
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

Re: [PHP-WIN] MySQL connect problems

2005-01-16 Thread Armando
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

Re: [PHP-WIN] Re: [PHP] php editor

2005-01-14 Thread Armando
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

Re: [PHP-WIN] Re: Sending Emails

2005-01-07 Thread Armando
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

Re: [PHP-WIN] Re: Sending Emails

2005-01-06 Thread Armando
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

Re: [PHP-WIN] Re: Is it possible to have IIS and apache runing in the same machine, with windows xp?

2005-01-05 Thread Armando
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

Re: [PHP-WIN] Newbie - Help with WAMP

2004-12-05 Thread Armando
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

RE: [PHP-WIN] Difference between Installer and ZIP?

2004-11-29 Thread Armando
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

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Armando
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

RE: [PHP-WIN] What's wrong with these two programs?

2004-11-22 Thread Armando
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

RE: [PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-11-04 Thread Armando
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:[

RE: [PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-11-04 Thread Armando
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

RE: [PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-11-02 Thread Armando
, 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-

RE: [PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-11-01 Thread Armando
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

[PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-10-31 Thread Armando
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