| |
thread by: fartsniff |
last post Jul 16 '05 by: fartsniff
Hello all.
I am starting to work on a URL "cleaner" of sorts. The code below is only
checking
for a few simple entries on the URL, but for some reason it is not replacing
them
with "" when found.
$qs and $clean_qs produce the same results.
Also, can someone who is fluent with regex stuff take a look at my
eregi expressions ? Im not sure...
|
thread by: Mark Hewitt |
last post Jul 16 '05 by: Andy Hassall
Hi,
Has anybody had any experience sending HTML email to a Lotus Notes client?
I am having a problem that the mail is arriving HTML to everyone except
these clients.
Does anyone know of any particular problems related to these clients?
Here is my code....
|
thread by: Allman |
last post Jul 16 '05 by: Allman
I need to have the contents of $HTTP_RAW_POST_DATA because of non-regular
uploads (from a browser to my home-made WebDAV-server). However, no matter
what I do, it is always NULL. I guess the following script should return
SOMETHING in $HTTP_RAW_POST DATA if "always_populate_raw_post_data 1" is
added to the php.ini file (and yes, I've restarted...
|
thread by: Magnus Warker |
last post Jul 16 '05 by: Magnus Warker
Hi,
after searching the web without finding what I'm looking for, I ask for help
in this group.
I would like to use phplib for authentication and session management. What I
need, is a minimal example of how to do the following:
- user login and logout, keep track of current user
- user administration (new users, ...)
|
thread by: The Voivod |
last post Jul 16 '05 by: The Voivod
I have a couple of requirements
I need the output of a webform to be directed to emails based on a
choice on the form
I need the output to also go to a mysql database
I need the time and date to be passed with it.
I am currently using a cgi script but it only outputs to a flat file.
I was wondering if php was a good way to do this or should...
|
thread by: Damian Brown |
last post Jul 16 '05 by: Justin Koivisto
Hi,
i am writing a php project from scratch
i am prepared to pay you a good hourly rate
for advice and programming skills
you can apply for this at www.phpexpert.org
by inputting you email address in the box
|
thread by: Blaine HIlton |
last post Apr 15 '06 by: byteworks
I'm trying to send data over the serial port using PHP and Serproxy.
I downloaded Serproxy from
http://www.lspace.nildram.co.uk/freeware.html. From the manual page at
http://www.php.net/function.fopen I was able to find sample code using
Serproxy and directly opening the serial port. My application
requires the use of multiple serial ports...
|
| |
thread by: Phil Powell |
last post Jul 16 '05 by: Nikolai Chuvakhin
// PREVENT CACHING FIRST BEFORE ANYTHING ELSE!
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always
modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);...
|
thread by: Ralph Freshour |
last post Jul 16 '05 by: MeerKat
When I use the include statement and include a file, it prints on the
web page - these are functions that I call deeper into my web page -
there must be a setting that is causing the functions to be displayed
on the web page???
Thanks...
|
thread by: dan glenn |
last post Jul 16 '05 by: MeerKat
I have a php page which serves up multiple pages based on how the user
interacts with it - there are links on the first page that will reload (from
the same php file) a new page with form fields and submit buttons, and when
a user posts from that new page (or cancels), then the same php file is
again loaded, detecting how the user responded...
|
thread by: Craig Matthews |
last post Jul 16 '05 by: Craig Matthews
hello, any idea why the following code does not work?!!
<?
$cookieExpire = 864000000;
setcookie("a", "love", $cookieExpire);
header("Set-Cookie: lc=50; expires=$cookieExpire");
|
thread by: Ralph Freshour |
last post May 3 '06 by: RichardGUSA
I'm trying to dynamically load a .jpg image into a html form <Img tag
using a PHP variable that holds the filename of the image but no image
is displaying (the file is there and works because if I manually type
in the filename the <Img tag works) - how can I get PHP's variable to
be seen as the filename?
Thanks...
<?php
print '<IMG...
|
thread by: Sugapablo |
last post Jul 16 '05 by: Sugapablo
I'm wondering if anyone knows of any code out there that someone might
be sharing to generate the printing dimensions required for printing
bank checks or tax forms such as 1099s?
What I'd like to do is to have PHP query a database, grab the
information, and then print out to the printer on these forms and checks.
I was hoping a lot of...
|
thread by: Tomba |
last post Jul 16 '05 by: Sugapablo
hello all,
I was wondering how some sites organise articles so that they can show a
list of "related articles".
How is it determined which are the related ones.
Is there any free script that includes such a feature?
thanks!
Steven De Groote
|
thread by: sinapsi |
last post Jul 16 '05 by: Eivind Lie Nitter
I'm writing a little forum forum for my website. How can I avoid html code
interpretation if a user try to post it in the forum?
thnx
|
| |
thread by: Ralph Freshour |
last post Jul 16 '05 by: Blaine HIlton
What's a good way to calculate the number of days between two dates in
the following format:
2003-07-15
2003-08-02
I've looked at the PHP date functions but I'm still a bit lost...
|
thread by: Mike |
last post Jul 16 '05 by: Martin Wallgren
I've been trying to setup Dean Allen's excellent "Refer" script.
(http://www.textism.com/tools/refer/)
The instructions say to add this code to the bottom of whatever web pages
you want the refer script to track (after the closing </html> tag):
<?php include '<?php echo dirname($_SERVER) ?>/refer.php'
?>
Doing so results in the...
|
thread by: Marcus |
last post Jul 16 '05 by: P'tit Marcel
Hi all, sorry to post yet another unix timestamp question, but I've been
looking through php.net and google and can't find exactly what i need...
plus I think my brain has shut down from too many hours of php code... :-)
Anyways, here is my problem... I am displaying an HTML table that
represents a person's schedule for the week... I query...
|
thread by: Spoofed Existence |
last post Jul 16 '05 by: Spoofed Existence
Ok, I have a very weird problem here. I want to use .php to create
thumbnails. For this, I use the following code:
<?
$file = isset($_GET) ? $_GET : exit;
//Load the image
$src = imagecreatefromjpeg($file);
if($src)
{
$width = ImageSx($src);
|
thread by: Roger Godefroy |
last post Jul 16 '05 by: Roger Godefroy
Hi there,
If I use round(1.95583, 2); I would get the perfect result of 1.96 for my
currency. But if I round(1.9) I would just get 1.9. Is there a function or
solution so it would always round with 2 digits for a currency?
thnxz...
|
thread by: ambroz |
last post Jul 16 '05 by: Ian.H [dS]
hi
i have added to my "httpd.conf" virtual servers and now it looks like:
.......
ServerName localhost
DocumentRoot "C:/FoxServ/www/"
........
NameVirtualHost *
|
thread by: Roger Godefroy |
last post Jul 16 '05 by: Roger Godefroy
Hi,
I am executing an update-query. Is there a way I would get a result if there
is a row affected, because if the row isn't affected (product may not exist)
I have to execute a insert-query. This way I could use 1 query (in the
update-case). Else I would always have to execute 2 query's (1 count-query
and 1 insert or update query).
...
|
thread by: fartsniff |
last post Jul 16 '05 by: Justin Koivisto
hello all,
i am using FRAMES on my PHP site, basically i am using just on frame
with the entire site inside. this is mainly for cosmetics so that
http://www.mydomain.com always is displayed in the address bar instead
of every single variable and value being passed ;) a cleaner look imo.
anyways, my index.htm looks like this:
<html>
<head>...
|
| |
thread by: entoone |
last post Jul 16 '05 by: Tom Thackrey
I'm getting the following error Parse error: parse error, expecting `','' or
`';'' in /home/notarywe/public_html/php/update2.php on line 108
Here is line 108
<input type="text" name="ud_first" value="<? echo "$first"
size="20"?>"></td>
Any help would be appreciated.
|
thread by: ambroz |
last post Jul 16 '05 by: Chris Morris
hi
i have a wesite www.example.com
now i have my catalog of files
root:
es/ - (spanish version of the website
de/ - (german version)
fr/ - (french version)
img/
index.htm
|