| |
thread by: aquilo at hotmail.com |
last post Jul 16 '05 by: Ian.H [dS]
When I use the mail function the message takes one hour to arrive. I
found that if I turn my clock forward one hour (to match the time on the
server) the message arrives quickly. The server is located in a
different time zone, actually one hour different. So it seems like, if
the time zone of the server and the time zone of the client are...
|
thread by: cmosser |
last post Jul 16 '05 by: CC Zona
Since I had to change from ATT to Comcast internet service, I cant use
my old newsgroup service. Can anyone rec a good free newsgroup
service so that I dont have to use google groups to post and read
messages
cmosser
|
thread by: Alan Walkington |
last post Jul 16 '05 by: Derek O'Harrow
Folks:
How can I get an /exec'ed/ process to run in the background on an XP box?
I have a monitor-like process which I am starting as
'exec("something.exe");' and, of course the exec function blocks until
something.exe terminates. Just what I /don't/ want. (Wouldn't an & be
nice here! Sigh)
I need something.exe to disconnect and...
|
thread by: Franz Josef Fuka |
last post Jul 16 '05 by: Jon Kraft
mysql database "myshop" table "einheit"
"id" field int(255) auto_increment
"name" field varchar(255)
===============
= id = name =
===============
= 1 = Stück =
= 2 = Packung=
= 3 = kg =
|
thread by: Steven |
last post Jul 16 '05 by: R. Rajesh Jeba Anbiah
Hello,
I used a form to collect some data, and then use php script to verify the
data before send it to database. If the php script found some errors in
input data, it will use header(Location:register.php) to send it back to the
same form page.
Is there a way to keep those valid data and only ask user to input the data
with errors?
|
thread by: Randell D. |
last post Jul 16 '05 by: ViperDK
Folks,
I use md5 hash with some of my cookies and occassionally a hidden form
field - I know the physical data on my network is insecure (unless being
served via https) but I was wondering if there are any advantages to using
md5 over sha1 or versa vicea... I know md5 gives me a unique 32bit hash
while sha1 I've read is 'secure' (?) and...
|
thread by: Jamie Wright |
last post Jul 16 '05 by: James Sleeman
I have been using PHP for a while now, although my knowledge of the inbuilt
functions is pretty lacking. I am trying to remove a 'space' from the middle
of a string. I reckon I could split the string at teh space, trim each
string then join them, but this seems a little long winded. Is there a
command to remove certain charachters? Or even...
|
| |
thread by: J.D. Schuitemaker |
last post Jul 16 '05 by: J.D. Schuitemaker
I need to change a html-tag into a call to a script.
Tag is like this:
<img src="someattach.php?s=3421543&id=20103" border="no">
Has to be changed to:
<?php
include("someattach.php?s=3421543&id=20103")
?>
|
thread by: Mark Hewitt |
last post Jul 16 '05 by: Mark Hewitt
Hi,
I have a client who is wanting to compute UPS shipping charges for his
orders.
I believe it is possible to query a UPS service (well, something online, be
it a normal cgi ro real web service) to compute actual shipping costs of
parcels from within ones shopping cart script.
Am I correct in this, does anybody know where I can find...
|
thread by: Steve Fitzgerald |
last post Jul 16 '05 by: RG
I use sessions as part of my login script. One of the values passed is
userid. The userid seems to pass fine into the main part of the page,
but when I use userid in a navigation include I cannot get it to
display.
Here' what I mean.
Code for admin navigation:
function adminMenu(){
|
thread by: Marcus |
last post Jul 16 '05 by: sotto
I am trying to auto-detect what folder a file is sitting in and based
upon this info, query a MySQL database to get further information. I
have been all over php.net and been through numerous examples, but I
can't get my script to do exactly what I want...
An example given on php.net regarding dirname() is as follows:
dirname can be...
|
thread by: Madhusudan Singh |
last post Jul 16 '05 by: Madhusudan Singh
Hi
I wonder if there is a clean way of using https with header() in PHP ? I am
using statements like header("Location: script.php?arg1=argvalue") to
transfer control in my application.
Thanks,
MS
|
thread by: Albert Ahtenberg |
last post Jul 16 '05 by: Pedro
Hi,
I have a database with a date field. And I would like to see the report
grouped by a ceratin month and year, how can I do that without multiple
queries?
Albert Ahtenberg
|
thread by: David Walker |
last post Jul 16 '05 by: Pedro
Hi
I have a Microsoft SQL database I can use (also mySQL, so if you know how to
do this in mySQL that is just as useful). The database can only be accessed
from webpages hosted on the same server as the SQL database because of
firewalling. The database admin doesn't mind me accessing it like this if I
can do it, and they would allow me if...
|
thread by: S. Rhodes |
last post Jul 16 '05 by: tranceport technology group
Hello everyone.
I am TOTALLY baffled. PLEASE, I need some help here.
In the event that one must deal with a name including an apostrophe...I am
looking for an appropriate solution.
The flow of data is that the name is entered in via a form text box, stored
in a MySQL table and then read back into another form or echoed out as
needed.
|
| |
thread by: Bill Parker |
last post Jul 16 '05 by: Bill Parker
Hi
Is there a way to generate colour hex strings that are guaranteed to be dark
and thus good as random-generated text colours?
something like
-------------------
srand((double)microtime()*1000000);
function tc() {
|
thread by: Steven |
last post Jul 16 '05 by: Steven
I got a "Parse error: parse error in ..." in this line:
if(empty($_POST){
.....
But if I fist assign $ssn=$_POST; and then if(empty($ssn){ ... it is
working.
Any advice? Thanks in advance.
|
thread by: fartsniff |
last post Jul 16 '05 by: James Sleeman
hello all.
currently, this is how a line of my form is setup
(names have been changed to protect the innocent ;)
<form action="/modules.php?name=buyme&file=index&func=gimmecash"
method="post">
which would of course pass it to the file on my normal http site
(http://www.mydomain.com).
if i wanted this form to pass to my secure site, ie.
|
thread by: Craig Bailey |
last post Jul 16 '05 by: Richard Petty
Anyone recommend a good script editor for Mac OS X?
Just finished a 4-day PHP class in front of a Windows machine, and liked
the editor we used. Don't recall the name, but it gave line numbers as
well as some color coding, etc.
Having trouble finding the same in an editor that'll run on OS X.
--
Floydian Slip(tm) - "Broadcasting from...
|
thread by: FHuang |
last post Jul 16 '05 by: FHuang
Ok, I'm having some trouble with conditionals, for some reason PHP is screwing them up.
First off, here is the code:
<?php
$username = "fred";
$userdata = "./$username.txt";
$fp = fopen("$userdata", "r", 1);
$origpass = fread($fp, 5);
if($passcount = 1)
{
|
thread by: John Ryan |
last post Jul 16 '05 by: Jason Dumler
What PHP code would I use to check if submitted sites to my directory
actually exist?? I want to use something that can return the server
code to me, ie HTTP 300 OK, or whatever. Can I do this with sockets??
|
thread by: James |
last post Jul 16 '05 by: Jason Dumler
Hi,
I would like to run a custom script on a linux box via a button on a php
page (php webpage hosted on the same linux box).
Is this possible? If so , can you give me a pointer in the right direction?
thanks
James
|
thread by: Sven Ehret |
last post Jul 16 '05 by: Sven Ehret
Hi,
I am looking for a PostNuke module that lets my users bet on the national
soccer league. Has anyone seen something similar?
Using PostNuke 0.723. Thank you.
--
Sven Ehret
If things don't improve soon, you'd better ask them to stop helping you.
|
| |
thread by: James |
last post Jul 16 '05 by: Andy Hassall
My form and results are on one page.
If I use :
if ($Company) {
$query = "Select Company, Contact
From tblworking
Where ID = $Company
Order By Company ASC";
}
|
thread by: Nel |
last post Jul 16 '05 by: Toni Schornboeck
I have a question related to the "security" issues posed by Globals ON.
It is good programming technique IMO to initialise variables, even if it's
just
$foo = 0;
$bar = "";
Surely it would be better to promote better programming than rely on PHP to
compensate for lazy programming?
|