Search found 71 matches

by eyewoo
Tue Dec 13, 2005 7:54 am
Forum: PHP coding => General
Topic: extra slashes when using str_replace()
Replies: 8
Views: 2343

hmmm... problem... My ISP support tells me that they are using the 4.2.2 PHP module on my server, which has no .ini file. They suggested I use phpinfo() to check php configuration, which I did... but I could not find anything regarding "magic_slashes."

Does this make sense?
by eyewoo
Fri Dec 09, 2005 2:18 pm
Forum: PHP coding => General
Topic: extra slashes when using str_replace()
Replies: 8
Views: 2343

OK... but oddly, the same code works fine on my server (no slashes), but not on a friend's server...??? Why might that be? That's why I thought there meay be a config problem...
by eyewoo
Fri Dec 09, 2005 1:42 pm
Forum: PHP coding => General
Topic: extra slashes when using str_replace()
Replies: 8
Views: 2343

extra slashes when using str_replace()

... I think it is a configuration problem for the str_replace() tag. The problem is, whenever single or double quotes are used in an html textarea tag editing window, if the text is saved to a text file, back slashes are added before each single or double quote. Any idea why?
by eyewoo
Mon Apr 11, 2005 9:24 am
Forum: PHP coding => General
Topic: Identifying bots and such....
Replies: 2
Views: 731

Thanks for the info groovenectar
by eyewoo
Sat Apr 09, 2005 5:49 am
Forum: PHP coding => General
Topic: Identifying bots and such....
Replies: 2
Views: 731

Identifying bots and such....

I've worked out a system for tracking the ip addresses that come to my website. On many days, most of them seem to be robots from various sources. Is there some common element or list of robot ip addresses that I could use to filter out the robots to get a more accurate idea of actual visitors?
by eyewoo
Sat Apr 09, 2005 5:42 am
Forum: Free time
Topic: I'm curious...
Replies: 1
Views: 2585

I'm curious...

...when I logged on, the heading indicated that I had last visited on March 20, 2005. I haven't been to the forum for months??? Why would there be an indication that I visited a few weeks ago???
by eyewoo
Sat Dec 27, 2003 7:17 am
Forum: PHP General
Topic: Built a PHP website for artists and photographers
Replies: 3
Views: 997

Thanks... and it's all for sale... :) :D 8)
by eyewoo
Thu Dec 11, 2003 8:06 am
Forum: PHP General
Topic: Built a PHP website for artists and photographers
Replies: 3
Views: 997

Built a PHP website for artists and photographers

I used PHP to create a website for my fine art work... PHP is very cool... http://www.philwms.com

I've made the code available for other artists and/or photographers who may be interested in using it. It can be downloaded at http://www.moobad.com

Philip Williams
www.philwms.com
by eyewoo
Mon Aug 04, 2003 12:16 pm
Forum: PHP General
Topic: Serious security risk for Windows 2000 and Windows XP
Replies: 4
Views: 1061

most cool... Thank you so much! I appear to be STEALTH on all three ports. 8)
by eyewoo
Mon Aug 04, 2003 8:26 am
Forum: PHP General
Topic: Serious security risk for Windows 2000 and Windows XP
Replies: 4
Views: 1061

It may be available on CNN's site... It ran on Sunday, I believe. It is not a virus or worm... it is a method to gain direct control of a Windows XP or 2000 computer vis the Internet, enabling the user to download or change whatever is on the computer. It has apparently been around for awhile, but h...
by eyewoo
Mon Aug 04, 2003 6:11 am
Forum: PHP General
Topic: Serious security risk for Windows 2000 and Windows XP
Replies: 4
Views: 1061

Serious security risk for Windows 2000 and Windows XP

I saw a piece on TV over the weekend on CNN about a security risk that makes it easy for anyone who understands how to use it, to get into anyone else's home computer if they run Windows XP or Windows 2000. Not only can PHP code be stolen, but also anything else on your computer. Not a comfortable f...
by eyewoo
Tue Jun 24, 2003 1:33 pm
Forum: PHP coding => General
Topic: Permission Denied
Replies: 4
Views: 1292

No I didn't... The I used the PHP copy function because the copy routine is part of a selective reset routine in a PHP program I'm developing... i.e. it resets files to their original state after being changed, mauled, mucked up, by a user of the program. hmmmm... my sig below wasn't working... I fi...
by eyewoo
Tue Jun 24, 2003 12:05 pm
Forum: PHP coding => General
Topic: meta tags and PHP
Replies: 4
Views: 1361

OK... That is very good to know... and helps my understanding quite a bit!!! Thanks...
by eyewoo
Tue Jun 24, 2003 9:58 am
Forum: PHP coding => General
Topic: meta tags and PHP
Replies: 4
Views: 1361

That's what I would think.... However, I have a question about your line: echo '<meta type="keywords" content=" .$row['k_words']. '">'; If that builds a meta tag on the fly, then I'm thinking a spider wouldn't actually see it since it is PHP code rather than a meta tag... It woul...
by eyewoo
Tue Jun 24, 2003 7:40 am
Forum: PHP coding => General
Topic: meta tags and PHP
Replies: 4
Views: 1361

meta tags and PHP

Are meta tags spidered in PHP files just as they are in HTML files... I would think so, but I don't really have any expertise on the subject :?:
by eyewoo
Tue Jun 24, 2003 7:35 am
Forum: PHP coding => General
Topic: Permission Denied
Replies: 4
Views: 1292

I had the same problem when I moved some PHP development work from a server running regular PHP to one running the Apache PHP module. After many tech support calls, I discovered that many files on an Apache server running the PHP module end up getting owned by the Apache server rather than the owner...
by eyewoo
Sun Jun 15, 2003 6:07 am
Forum: PHP coding => General
Topic: passing PHP varibales to Javascript...
Replies: 4
Views: 1367

Nope... from my experiments, the HTML <script></script> tag has to be part of what is encased in the PHP <? ?> tags, i.e. the <script></script> tags have to be echo'd before the PHP variables can be inserted. At least that is the way it works using the Apache mod PHP. Perhaps it's different with the...
by eyewoo
Sat Jun 14, 2003 1:50 pm
Forum: PHP coding => General
Topic: passing PHP varibales to Javascript...
Replies: 4
Views: 1367

ah-ha!!!!!

Got it! This on the other hand does work... <? $myPHPVab='OneTwoThreeFour'; echo ' <script langauge="javascript">; var myJVab = "'.$myPHPVab.'"; document.write(myJVab + " has been passed to Javascript from PHP<hr>"); </script> '; ?> The <script></script> tags ha...
by eyewoo
Sat Jun 14, 2003 1:33 pm
Forum: PHP coding => General
Topic: passing PHP varibales to Javascript...
Replies: 4
Views: 1367

passing PHP varibales to Javascript...

... is there a way? I thought this would work: <script langauge="javascript"> myJVab = <?=$MyPHPVab?>; document.write(myJVab + ' has been passed to Javascript from PHP<hr>'); </script> ...but it doesn't... Apparently the <?= ?> do not have effect within the <script></script> tags.....
by eyewoo
Fri Jun 06, 2003 12:02 pm
Forum: PHP coding => General
Topic: regular PHP vs. Apache PHP module
Replies: 2
Views: 796

Apparently when an Apache server is using the mod PHP, it takes ownership of any files or subdirectories that are created when they are created, so if the directory in which a file resides is not set to 0777, it is not possible to write to to the file. I have no idea why it has to be that way. It is...
by eyewoo
Fri Jun 06, 2003 10:00 am
Forum: PHP coding => General
Topic: regular PHP vs. Apache PHP module
Replies: 2
Views: 796

regular PHP vs. Apache PHP module

I developed a PHP program that creates both files and subdirectories as part of its operation. It was developed on a server running regular PHP, version 4.2.3. Then I ported it to a server running the Apached PHP module version 4.2.2. Nothing worked. The problem apparently has to do with directory p...
by eyewoo
Wed Jun 04, 2003 10:59 am
Forum: PHP General
Topic: Warnings when creating new files and subdirectories
Replies: 5
Views: 1907

I presume /home would be a particlar user's home or root directory. Wouldn't it be possible to also allow creation of subdirectories and files below the /home directory?... and still maintain security?

The program I'm working on must be able to create subdirectories in a user's account.
by eyewoo
Tue Jun 03, 2003 9:01 am
Forum: PHP General
Topic: Warnings when creating new files and subdirectories
Replies: 5
Views: 1907

My host, w , allows creation of files and folders. That's the system I developed the application on.... and now I'm beginning to discover that not all PHP installations are the same... This is a problem, since the application needs to create files and subdirectories and rename files and subdirectrie...
by eyewoo
Tue Jun 03, 2003 5:23 am
Forum: PHP General
Topic: Warnings when creating new files and subdirectories
Replies: 5
Views: 1907

Warnings when creating new files and subdirectories

I'm developing a web application and have it with some beta testers. Some are reporting that their servers have PHP 4 or better installed, but the program does not work because they receive lots of warning messages. The warnings are all related to the fact that, though PHP is active on the server, p...
by eyewoo
Tue May 20, 2003 6:02 am
Forum: PHP General
Topic: File opening using a+
Replies: 5
Views: 1640

So I guess the answer is unknown...

Trial and error... agreed. I've been programing in several languages since 1984... works every time... so do questions asked in forums.... most of the time... :)