f the first 5 file names are found in the directory, Apache will
redirect to your front page (assumption is your frontpage is called
index.php, if it's not, change the last value, but leave the /).
HTH,
Peter Janett
New Media One Web Services
New Upgrades Ar
Since the user Apache is running as created the file, it owns it too.
Make a quick PHP script to delete the files when ready.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun
ost set on port 443 to point to the
wrong DocumentRoot, or you need to set one up on port 443, pointing to the
right DocumentRoot.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Sol
t looking for a good, clean and fast
email address syntax check.
So, what is your favorite bit of code to do that?
Thanks,
Peter Janett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s a
column that doesn't exist, in order to break the DSN lock.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghol
Sessions themselves use cookies, though, right? So, if you want your app to
work for those who don't have cookies, you have to pass the session data in
the url string, at least that's my understanding.
Peter Janett
New Media One Web Services
New Upgrad
I'm trying to figure out if there is an easy way to measure how long my
queries in PHP/MySQL are taking to execute.
Any tips or code examples most appreciated.
Thanks,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 acc
sues exist that Evan pointed out
(unless you're not in a shred environment, or are running PHP as cgi with
Apache SuExe.), but those issues are for anything you do in PHP.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000
that saves results sets in tmp
files, but I'm guessing that having the results cached in memory would be
faster than in files.
I think maybe the file caching was part of a database abstraction layer.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Ar
an be called from anywhere in your web tree, so paths like
../images/img.gif won't work if a 404 is thrown in
/directory/subdirectory/nothersubdirectory
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusi
, anyCname_you_want.domain.com,
etc. Then, make sure your site NEVER loads without the www. (or something
dot domain).
Kind of a pain, but since newer browsers aren't sticking to that original
spec (not sure I.E. ever did), the issue is going away with time.
HTH,
Peter
ame`,
`Player_Tracker_Number`, `Last_Visit`, `Point_Balance`) failed Error #1148:
The used command is not allowed with this MySQL version
I'm running Red Hat Linux, Apache (Stronghold 3.x), and MySQL 3.23.52
Any help or hints most appreciated.
Thanks,
Peter Janett
New Media One Web Serv
:
http://www.php.net/manual/sl/function.fopen.php
HTH,
Peter Janett
New Media One Web Services
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Pax" <[EMAIL PROTECTED]>; <[EMAI
You can do this in your PHP code by itself, no need to use Apache.
Search for "search engine safe" or "search engine friendly".
Fusebox.org has some default code that does this (follow the links for PHP
fusebox).
HTH,
Peter Janett
New Me
/var/www/html/mydatabase.
That would mean that in order for someone to get the user/pass, they would
have to write a php script into my directory.
Any more thoughts? This seems very appealing to me.
Thanks,
Peter Janett
New Media One Web Services, LLC
http://www.newmediaone.net
[EMAIL PROT
e can
come later. In other words, a non free option would be viable long term,
and I'm hoping to avoid a legal discussion about scraping this kind of data,
privacy, etc.
Any ideas, resources, etc would be most appreciated.
Thanks,
Peter Janett
New Media One Web Services, LLC
http://www.newme
PHP script with the passwords outside the web root.
Has anyone done this? Any thoughts on how someone could still get the
passwords with this setup?
Thanks,
Peter Janett
New Media One Web Services, LLC
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882
-Original Message-
Fr
You need to append or create a .htaccess file in the same folder as
index.html, and add this line:
ForceType application/x-httpd-php
Then, just treat the index.html file as a php file.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live
Add a link to log out, like this:
Log
out
That seems to work the way phpMyAdmin does, which I think is snazzy!
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) acc
I'm converting over some .shtml files that call an external Perl script with
the following format:
I'm not sure what php function to use, as I'm returning the results of a
Perl script, not really a UNIX command.
Thanks,
Peter Janett
New Media O
Simply hold down the control key and then push the "r" key while looking at
the source code window. That will cause the page source to repost, and you
will see the resulting source code.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Ar
27;Message'} =~ s/\r//g;
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apac
have successfully sent
15,000+ personalized messages, one at a time, with both Perl and PHP. (It
takes a couple hours, but it does work.)
Of course I only send opt in email, and I hope you are doing the same, as
spam is always evil. :)
HTH,
Peter Janett
New Media One Web Ser
ocess is probably possible with whatever format they are in.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (A
n the data, but I'm guessing
someone else has faced this need, so there may be a PHP solution out there.
I'm hoping I can find an open source Perl or PHP script that I can simply
point at the old and new server and tell it to copy all databases and data
to the new server.
Any ideas?
.
So, anyone know where (or have a copy) of the CyberCash MCK software for
Linux?
Thanks,
Peter Janett
New Media One Web Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
safety switches that can be
setup in PHP when compiled as an Apache module.
Any and all info or ideas most appreciated!
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX)
ppreciated.
Thanks,
Peter Janett
New Media One Web Services
http://www.newmediaone.net
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
header ("Location: http://whatever";);
You probably want to put:
exit;
After that line, so you script stops at that point. (Exit; is like
) :)
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold
I needed to create invoices, one per page, that could be printed, and chose
to use http://www.fpdf.org/.
It was easy to take my HTML formated output and change it to PDF.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000
imple form
post, and found some very basic code, but it slowed by app down so much it
had to be replaced eventually anyway.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris
o, I'm stumped. I was following the basics of the article at:
http://hotwired.lycos.com/webmonkey/00/20/index3a.html?tw=programming
Thanks,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
iable.
So, what about caching database results in memory?
Thanks,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.0.6, mod_perl/1
t all the html, then
separate the values with a tab (\t), and a carriage return at the end.
So, while looping through the results:
print "$db_1\t$db_2\t$db_3\r";
That gives you tab separated data, with one row per line.
HTH,
Peter Janett
~~ New Media One Web Services ~~
&
$what_you_want = "$HTTP_HOST" . "$REQUEST_URI";
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.0.6, mod_perl/1.25,
Stronghol
ou get what
the methodology is about, you can go the site dedicated to Fusebox with PHP,
http://bombusbee.com.
There is a whole "Fusebox Community", which is built around the methodology.
Pretty good stuff, will save lots of time.
HTH,
Peter Janett
New Media One Web Services
~~~
s, ideas, etc appreciated.
Thanks,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apac
that provides PHP working with
the mail function! :)
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1
;
}
elseif ($a == "green"){
print "you chose green";
}
elseif ($a == "yellow"){
print "you chose yellow";
}
else{
print "you did not chose red, blue, green, or yellow";
}
HTH,
Peter Janett
New Media One Web Services
~
39 matches
Mail list logo