*sigh* I'm a hardcore PHP programmer.. I've been using it for over five
years now, and would consider myself fairly advanced. I have a project where
I'm being forced to do some ASP.NET development, which I've never touched. I
need to learn it fast.
I'm thinking there must be some other folks ar
> My question is, I'm updating the pages by creating a url back to the
> same script with some differing $_REQUEST settings for the page number
> (&PAGE=2) and on a smaller screen this bumps the page back to the top.
> Is there a better way to do this with some kind of update image function
> witho
Folks,
I'm taking some user input, and creating a folder on the server. I'm already
replacing " " with "_", and stripping out a few known illegal characters (',
", /, \, etc). I need to be sure that I'm stripping out every character that
cannot be used for a folder name. What's the best way to do
See if this helps:
http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/
Joseph
"Donald Tyler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Anyone know of a place to get some good tutorials on how to forward email
> from SendMail to PHP for processing?
>
>
--
PHP Gene
Jacob,
http://www.tote-taste.de/X-Project/beautify/
http://www.semdesigns.com/Products/Formatters/PHPFormatter.html
http://www.trita.com/features/php-beautifier.jsp
http://www.bierkandt.org/beautify/
http://www.trita.com/
http://www.beautifier.org/
This should get you started. I think PHPEdi
Folks,
I'm just getting ready to built a webserver this weekend and was planning on using
RH9, so this thread especially caught my eye. The website that the server will be
hosting is pretty simple, some basic DB queries, no special Apache modules. Is Apache
2.0 still not a good choice for somet
> A safer architechture would be to use two machines. One to act as the
> Web server and the other to process transactions. The Web server would
> take the orders and request the transaction server to process them.
>
> The transcation server can only be accessed from the Web server. Nobody
> sh
Andreas,
I haven't used this one, but it looks really good.
http://www.innovatehelpdesk.com/
Joseph
"Andreas Cahen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hello List :)
>
> Is there any usefull ticketing system (Hotline/Support/etc.) written in
> PHP?
> I have found som
> date("Y-m-d",strtotime("next Saturday"));
That would give the Saturday for next week (2003-07-05). Try "this Saturday" or just
"Saturday".
date("Y-m-d",strtotime("this Saturday")); // Currently returns 2003-06-28
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
http://www.aditus.nu/jpgraph/
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I believe this is because the PHP engine thinks that the "'; ?>
Joseph
"Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> When I include in my html
> code, I get a parse error. The version is 4.1.2; phpinfo() reports
> that XML support is turned on. Can a
Here is a class that you could use.
http://phpmailer.sourceforge.net/
Joseph
"Chinmoy Barua" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hello Everybody,
>
> I don't have sendmail/qmail on my web server where i
> installed PHP. But I want to send mails from web
> server using
For (2) you could even build an array, object, etc. if you need to store several
values and use serialize() right before setting the cookie, and unserialize when you
retrieve the cookie.
Joseph
"Henning Sittler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> 1. Set a big value i
Dennis,
Try this:
http://www.aditus.nu/jpgraph/
Joseph
"Denis L. Menezes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
hello friends,
Is there a possibility to create graphs on a web page using PHP?
I have loooked through the PHP manual but cannot find anything.
Thanks very mu
Mark,
Why not call the makepic.php image, passing in an URL parameter that is always
different. This makes the browser think you are always calling a different image, and
won't cache it.
Joseph
"Mark Wilson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I have a PHP page whic
Tom,
This will completely break in AOL. An AOL user's referer changes all the time.
Joseph
"Tom Woody" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I am working on a simple authentication script, where the user submits a
> login and password, the credentials are checked and the
Jonathan,
Only way I can think of is to display the time using Javascript. This way it will be
displayed according to the users computer clock.
Of course, if the computer clock is wrong...
Joseph
"Jonathan Arnold" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Is there a way
> I want to run /var/www/backup_mysql.php
Are you just trying to backup your MySQL database? If so, check this out:
http://members.lycos.co.uk/wipe_out/automysqlbackup
Edit a view configuration variables (db to be backed up, path, etc), throw it in
/etc/cron.daily, and forget about it.
I does
I have several web projects that are all database driven. I have recently been diving
into OOP, and rewriting a lot of procedural code in OOP. I have a design question
about handling the MySQL connection.
I have a mysql() class which handles all my queries, automatic inserts/updates, etc.
Just
u. that should read:
exec("mysqldump -c -q database -u user -ppassword", $sql);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You need to use exec, system, etc. Here is a script that I recently put together. It
backs up the database, and pushes it as a download to the user.
Hope this helps,
Joseph
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Anyone do MySQLDump using PHP ?
>
Can PHP tell how many pages there are in a multi-page .TIFF file?
The tif file would be on the local machine.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Justin,
I have no intenetion of implementing such work-arounds. I simply wanted to know if a
popup can determine the Referer. With PHP, that answer is no. The continuing
discussion has been helpful to clarify what one 'can' and 'cannot' do, not that I'm
actually going to use all these methods!
> ...press CTRL-N - there
(B> you go, a new window, pointing to the same page, with the addess bar showing
(B> exactly where the page is. I use this method quite often :)
(B
(BFurthermore, disabling right-click does NOT disable the Context Menu key (you know,
(Bthe one in between the Windows
> But... it seems like this will be used in an intranet where everybody is
> using WinXP so there shouldn't be any problem ;)
Actually, it still won't work under Windows. Even on a pop-up window, you can right
click, view properties, copy the page address, open a new browser window, paste in the
Thanks Justin. I should have clarified this is going to be used on an Intranet,
where I can be sure that every browser will be IE 6 with javascript enabled, and no
firewalls between the webserver and the clients. That's why I felt more or less safe
with depending on HTTP_REFERER and javascri
Folks, I have a popup window that I would like to put a mild security constraint on. I
don't want others to be able to directly type in the address of this page, modify url
parameters, etc. I only want this page accessible if it was triggered from a link on
my own website, then I know I can trus
Folks... when I execute the following code, I get a big black nothing. I think it's
the right size, but all black. No image is showing up. What gives?
Header("Content-type: image/tiff");
$filename = image.tif
$file = fopen("$filename",rb);
fpassthru($file);
fclose($file);
Any help would be ap
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
http://www.phpbuilder.com/columns/hill20011214.php3
"Neil" <[EMAIL PROTECTED]> wrote in message
news:20021029140955.29707.qmail@;pb1.pair.com...
> Does anyone use this?
>
>
--
PHP General Mailing List (http://www.php.net/)
Couple good places to start...
http://www.phpbuilder.com/columns/hill20011214.php3
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
Joseph
"Zeljko Bozic" <[EMAIL PROTECTED]> wrote in message
001b01c26ca2$cc79c7b0$b3411ad9@stuntssw9fdkdl">news:001b01c26ca2$cc79c7b0$b3411ad9@s
Never mind. Didn't realize PHP had the parse_url function. Got it!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
1) http://www.google.com
2) http://www.google.com/
3) http://www.google.com/search?sourceid=navclient&q=evil+microsoft
... would all give me http://www.google.com
Could anyone give me a hand? Thanks!
--
: Joseph Szobody :
"Computers are like airconditioners: They stop working properly
Joshua,
I learned a ton by reading this tutorial. See if it helps...
http://www.zend.com/zend/tut/tutorial-Ferrara.php
Joseph
"Joshua E Minnie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all,
> I am looking for a way to search a MySQL DB based
I'm trying to send mail on a Windows machine using PHP. I have made the necessary
corrections in the php.ini file for the SMTP server address, and the sendmail_from, my
problem is that my SMTP server require authentication. How do I tell PHP to provide
this?
Thanks!
Joseph
--
PHP General Ma
Folks, I have a PHP script that needs to be executed automatically every 15 minutes. I
have the option of doing this on a RedHat linux box, or on Windows 2000 Server.
How would I do this (on either platform) and which would be easier?
I believe somehow I could create a cron job on linux, but I'
Mike,
Here is how I send an HTML e-mail. Say I have a contact form with the values $name,
$email, and $message. The form submits to say. process.php.
Contact Us
Submitted $date
Name:
$name
E-mail address
$email
Message:
$me
Ok I think it's working now. When I click the link going directly to the PHP
script, it's displaying the PDF file in the browser appropriately. Exactly what I want.
Now some of these PDF docs are so big, they could take a while to show up if a
client is on a slow connection. So now I wa
Thanks Erwin, that helps but I'm still not getting it to work. Should I still use
the
Header("Content-type: application/pdf");
line?
I tried using readfile() keeping the header. When I click the link to the PHP script
that should show me the PDF, the IE status bar says something like
I've made a website for a real estate appraiser, who wants to put all his appraisals
for his clients online. I have stored these PDF documents in a folder outside of the
webserver folder, for security. When a client successfully logs in and clicks the link
to biew the PDF, I have a PHP script t
> But I wouldn't be relying on a remote IP for anything... they're too
> unreliable.
This wasn't meant to be a fool-proof security solution to begin with. None of these
'protected' pages contain anything real sensitive.
However... what are some good security procedures (besides an encrypted con
sfully, but when the user goes to a protected page, he's
redirected to error.php?err=2. For some reason, the IP address appears to be changing.
Is this a known issue with AOL? Is the IP really changing from page to page? That
seems weird. Any way around this, or must I stop using this security
Thanks. That's what I needed.
Joseph
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >I have a 5-step (5 page) process in which users must answer various
> >questions. Each page passes along the data to the next page, at the same
> >time capturing the data fro
able, it breaks the whole string. Everything after the '#' is lost.
How can I get around this? Is this something I must simply check for and strip out?
What other characters must I worry about? As you can see, I'm already putting
everything through htmlspecialchars() and addslash
Is there a way for PHP to look at a local multiple-page .tiff file and find out haw
many page it has?
Thanks,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ocessing script
access all these different values in 'list'? If I try to echo '$list' it only show
*one* of the selected items from the list. I've tried treating it as an array
($list[0], $list[1], etc), but that doesn't work either.
How do I get at the diff
Thanks folks. Worked like a charm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So here's what I'm trying to do:
I have a form submitting dozens of variables called var1, var2, var3, .. and on
and on.
I want to check the value of each of these variables:
for($i = 1;$i < 100; $i++) {
if($var$i > 0)
echo "Yup. $var$i is greater than 0";
}
I get a parse error whe
try this:
if($type=="test1" || $type=="test2" || $type=="test3"){
Joseph
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Is it possible to do something like this all on one line.
> What I need is if any one of these are true then run the script
>
> if($ty
Folks:
I just setup a Redhat/Apache/PHP box for testing purposes as I develop some PHP
websites. The weird thing, is that the server takes FOREVER to respond when I make a
very simple error in the code. On other servers it comes up with a 'Parse Error'
message immediately, but not so with this
49 matches
Mail list logo