ntry to alphanumeric characters. I've seen
better JS code to do the same so if it's not suitable keep looking.
http://javascript.internet.com/forms/val-char.html
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o that you don't need to send a
request to the web server. I figure you know how to write the script and
that it's just a matter of scheduling it. If not please be specific about
the problem. This is asked pretty frequentl on php-general so between the
archives and Google you should find
ing documents with this
article mail us for more information";
}
else
//Display table with array of linked files.
{
print "$documents[name]";
}
}
// end check for documents
Thanks Marek,
That is the solution I was looking for.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
> Sent: 11. helmikuuta 2003 1
r favorite looping construct. You could also easily convert it to an
array at that point, but unless you need each character as an array element
for a later operation it doesn't seem very efficient. I don't think
explode() will let you use a separator of '', but you might
ls ,1
15,35,U12 Girls UEFA Cup ,1
16,53,U14 Girls UEFA Cup ,1
17,52,U14 Girls Premiership ,1
18,38,U13 Boys ,2
19,110,U16 Boys ,2
Is this possible? I have looked at array_multisort and unless I am reading
it wrong, it doesn't look like it would do what I needed.
Thank You
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that $grant will be an array? (am I right?) so how do I use PHP
to look at $grant as an array in my processing script rather than an
ordinary variable? I can get the DB to update if there is only one checked
box but otherwise it updates the DB with the value of the last checkbox.
Any ideas?
Steve
Cheers,
Solved the problem exactly how I wanted it.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Matt Schroebel [mailto:[EMAIL PROTECTED]]
> Sent: 13. helmikuuta 2003 2
Any other ideas? Which is the best way? What is the
PHP way!
If I was doing something like this in Java, probably set a class running
in another thread.
Many thanks,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Boys ,1
11,56,U15 Boys ,1
12,24,U11 Girls ,1
13,42,U13 Girls ,1
14,60,U15 Girls ,1
15,35,U12 Girls UEFA Cup ,1
16,53,U14 Girls UEFA Cup ,1
17,52,U14 Girls Premiership ,1
18,38,U13 Boys ,2
19,110,U16 Boys ,2
Is this possible? I have looked at array_multisort and unless I am
reading it wrong, it doesn
This would work (and might still if I changed things), but the part that
calls it is in another function also.
Steve
At 02:35 PM 2/20/2003 +, you wrote:
> -Original Message-
> From: Steve Buehler [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2003 05:25
>
> Ahhh...
The following "Seems" to work. But does anybody know how reliable this
might be? Baically, I have a multi-dimensional array and want to sort by
one column first, than another than another. Right now, I am using a
temporary table in MySQL, but want to speed things up if possible. The
command
At 2/21/2003 05:29 AM, Jason Wong wrote:
> To round to the nearest 5:
>
> Divide by 5
> Round to the nearest integer
> Multiply by 5
Modulus by 5
Subtract the result from the original number.
Of course, my way depends on whether you're rounding up or down.
--
S. Keller
UI Engineer
The Healt
time out, but the user will sit there being boored.
Is it possible to call a URL from PHP? And just ignore it? I mean call
another PHP script that takes ages, but wont affect he initial script
ending?
Steve
- Original Message -
From: "Greg Donald" <[EMAIL PROTECTED
suggestions?
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK,
Thanks that helped. I've sorted that part of the problem.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: 24. helmikuuta 2
t processing
your subscription. Please email us and we will send you a copy of the file as
soon as possible.";
// carry variables into do_html_index() function in output_fns.
do_html_index($PageTitle, $BodyText, $Picture1, $Picture2,
$CatID, $SECTION_NAME);
// put the page footer in position
do_html_footer();
exit;
}
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt to the message
$message .= "--{$mime_boundary}\n" .
"Content-Type: {$fileatt_type};\n" .
" name=\"{$fileatt_name}\"\n" .
//"Content-Disposition: attachment;\n" .
//" filename
he PHP constructs are dealt with on the server-side and never
make it to the client.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eing placed into session vars and how long
sessions are being cached.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
his->parts[$i]).
"--$boundary";
}
return $multipart.= "--\n";
}
/*
* void send()
* Send the mail (last class-function to be called)
*/
function send()
{
$mime = "";
if (!empty($this->from))
$mime .= "From: ".$this->from. "\n";
if (!empty(
variables $localhost (with your servername) $user
(your username) password (you guessed it your password) and $DBName with
the name of your database.
Then when you want to connect to the DB in php you just call
db_connect();
The guys are right though for this level of questions you should read
t
age-related
functions (and the GD library).
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
> --
>
>
> Steve Magruder wrote in message :
> > To reduce its display size in an img tag, specify 640 * .75 for the
width
> > (assuming 640 is for width) and 480 *
lt; 4.1.0:
$HTTP_SERVER_VARS['REMOTE_ADDR']
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a form that has input for minutes. My problem is that I am trying
to test to see if the field is blank or not and if they enter a "0" (zero),
my test always show it as blank. I have tried !$timemb and
!is_numeric($timemb).
Thank You
Steve
--
PHP General Mailing
There we go. Thank You so much. I also found that I had another error in
my script and !is_numeric($timemb) did work after all.
Steve
At 10:41 AM 2/28/2003 -0800, you wrote:
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday
I thought you would enjoy this new web site that I have found and started using
recently. zWallet.com is a free email service provider that pays its members to email.
It's really great, we do it anyway, why not get paid for it.
And the best thing of all, zWallet.com not only pays you to email bu
t; >>
> >> G> TIA
> >> G> Gary
> >>
> >> It's the '&' that they are objecting to, change this line in your
php.ini to the
> >> following:
> >>
> >> arg_separator.output = "&"
> >>
>
>
#x27;s running fine on both 4.0.5 and 4.2.3 servers
with register_globals set to "On". His code _should_ work. I think there's
some other setting in php.ini that's causing an issue here.
Henry, could you do a phpinfo() and show us the results?
Steve
--
PHP General
Been on this a couple of hours... anyone see what I'm doing wrong?
I get a result of 1 when I echo $result but it doesn't want to update at
all.
The action of this form index.php?action=update-account is just a switch
case
Which asks you to use the function update_subscriber_account() below...
Actually it didn't need the globals,
But I did need to pass the variables into the function!
Update_subscriber_account($var1, $var2 etc)
I feel a right plonker now!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343
php 4.2.1), on the host server (linux, apache,
php 4.1.2) I get the login screen twice before I get redirected. My hunch is
that it's something to do with when session variable become available after
registering them. (I'm using the sesssion management functions built in to
php 4).
TIA
(times) in them and would like to be
able to delete a specific item out of them too.
Thanks
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ty or layed out nice, but id prefer it to
be better than just removing the tags.
Thanks,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r=($reverse)?'ORDER BY date DESC':'';
if ($esearch!=NULL)
{
$query="select * from syslog where message like '%$vsearch%'
$sortOrder limit $lo_val, $hi_val";
}
else
{
$query="select * from syslog $sortOrder limit $lo_val,$hi_val";
}
echo "";
echo "";
echo "";
echo "";
$result=mysql_query($query);
$n=$hi_val-$lo_val;
if ($n==0)
{htmlerror();exit;};
echo " Stats generated for ";
echo $hostname;
echo " on ";
echo date("F d, Y");
$time_end = getmicrotime();
$time = $time_end - $time_start;
echo ", in $time seconds. (total rows available: $maximum)";
mysql_data_seek($result,0);
echo "";
echo "";
for ($i=0; $i<$n; $i++)
{
$row=mysql_fetch_array($result);
if (($i%2)==0)
{
echo "";
}
else
{
echo "";
};
echo ($row["date"]);
echo "";
if (($i%2)==0)
{
echo "";
}
else
{
echo "";
};
echo ($row["message"]);
echo "";
}
echo "";
echo "";
echo "";
echo "";
echo " ";echo "";
echo "";
$clear=unlink("/tmp/mesaje");
?>
Thanks
~Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Leading spaces
2. Ending spaces
3. Double (or more) spaces in the variable leaving only one space between
words.
Does php have any built in function that I can not find that will do this?
Thank You in Advance
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
uot;&" in wsstrip(&$str). Does that mean that
it takes the input to the function as Global and changes it Globally? I am
assuming that because that is what the whole function seems to do for me.
Thanks again everybody
Steve
At 11:49 AM 7/2/2003 -0500, you wrote:
I am not sure how
Erich Kolb wrote:
> Does anyone know of a PHP user group near Gurnee, IL. I found one in
> Chicago, but its a little far to go and they meet in the middle of
> the day on Sat.
Take a look at http://php.meetup.com - perhaps there's a PHP meetup near
you.
Steve
--
Steve Magru
$BodyText = "{$array["BodyText"]}";
$Picture1 = "{$array["PictureOne"]}";
$Picture2 = "{$array["PictureTwo"]}";
$CatID = "{$array["CatID"]}";
}
// then write the function to call the page here
///
including ";''=}{[] etc";
And then calling the string with fwrite? Or am I going to run into
serious problems?
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message---
At 7/7/2003 03:07 PM, Apollo (Carmel Entertainment) wrote:
> If you are charing for your product and your source is not open, you
have no place on
> opensource lists.
Just out of curiosity, where did you get the idea this is an "open source"
mailing list? There are plenty of commercial PHP prod
At 7/7/2003 04:09 PM, Apollo (Carmel Entertainment) wrote:
> Well, lets see. I want free advertising too. How about I go to all the
lists I
> am member of and send emails like John from Rekall did "announcing"
widgets or
> services my company does. How will you react to that?
Your level of read
At 7/8/2003 03:30 AM, Hiren Mehta wrote:
> Thnx alot guys You have been of great help :D
And don't forget this list! There are a lot of really talented people on
this list, so if you're trying to figure something out and haven't been
able to find an answer on your own, don't hesitate to ask
ndex($PageTitle, $BodyText, $Picture1, $Picture2, $CatID,
$SECTION_NAME);\n
// put the page footer in position\n
do_html_footer();\n
?>\n";
$filename = 'test.txt';
$fp = fopen($filename, "a");
$write = fputs($fp, $string);
fclose($fp);
}
generate_page($formid
as a PHP file however it occurred to me while I was doing
this that chmod 777 the root might not be a good idea.
Anyone have a simple fix or idea for this?
Kind regards,
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +3
onths ago".
And the corollary to is: Most of what constitutes value in commented code
is the code itself, which exhibits well-named variables, methods, etc. and
well-structured, well-encapsulated algorithms. When code is structured
appropriately, then the only actual comments needed are to ex
At 7/8/2003 02:18 PM, jwulff wrote:
> I have an array exampled below. I want to remove and use certain nested
> arrays from the larger array where the key == title, size, day, etc... How
> does an idiot like myself accomplish this?
You can reference it the same as you reference any other array.
> On Tue, 2003-07-08 at 07:21, Steve Jackson wrote:
> > If I set permissions of my server root to chmod 777 that's
> a security
> > risk right? How do I set my server to allow me to write a
> file to my
> > web root from another directory using PHP? Or is it a
t;../$pagename.php");
// end of function.
}
// call the function.
generate_page($formid, $pagename);
?>
The page generates great and everything is hunky dory if the root is
chmoded 777 but I have a feeling I'm wasting my time with this route
unless someone has a better idea.
Steve Jack
I should also add that another 685 posts would say RTFM about
lightbulbs.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Richard Baskett [mailto:[EMAIL PRO
Ryan A wrote:
> Didnt we just have a thread about spamming like this on the list?
If it's a PHP-related product being announced, it isn't spam to me (and in
fact, it's rather valuable), unless the announcement posts become
repetitive.
Steve
--
Steve Magruder
> But _why_ do you need to write to the root directory? Why not
> just write to a directory where you *do* have permission to write to?
I can already do that.
My problem is that I need to move or copy/delete the file from the place
I do have permission to write to to the root.
I have generated
> The root of the problem (pun intended)
Oh dear! ;o)
> is that you're trying to
> write to the
> root (/) directory which is usually only possible if you're the root user.
>
> Again, the question is _why_ do you need to write to the root directory?
> Wouldn't your file function if it wasn't
meone typed:
http://www.mysite.com/generated.php
They would get the page.
Not (as I can currently do) http://www.mysite.com/cms/generated.php
Thanks.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
p";, "r"); <<<< Line 59.
$move = fputs($fp2, $final_url);
fclose($fp2);
// end of function.
and get a really odd error:
Warning:
fopen("ftp://172.16.2.4/~stephenj/misc/webpage/cms/this_wont_work.php",";
r") - Inappropriate ioctl for device on lin
h this method? All I
wanted was for a file to be written into a safe directory and then moved
automatically to the webroot.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Messag
f there is a way to do what you suggest without a security risk I'd buy
you a beer and send it to you via ASDL if you'd tell me how ;o).
Cheers,
Steve.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
around that due to permission settings on the webroot?
So there is no way that PHP can write to the server unless the directory
it's writing in is executable?
Thanks for continued help.
Cheers,
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[
Hello all:
Is there any convenient way to have a single install of Apache on
Linux/Intel use multiple copies of PHP? I need to test different versions of
PHP and would rather not have to build a separate server for each.
It would be great if I could build multiple copies of PHP, install them all,
Curt Zirzow wrote:
> Dont use the font tag.. they are evil... and besides depricated.
And they're deprecated too. :)
Steve
--
Steve Magruder Consulting - http://consulting.stevemagruder.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
in a production environment."
If that's the case, why hasn't 4.3.2 been fixed since late May? Or is my
hosting company just making up excuses?
I would like to get away from 4.2.3, just wondering what people's thoughts
on the current version of php are.
Thanks & Regards
S
this probably isn't the right
place to do so) - why is the latest Debian APT package 4.3.2? Tis rather
old.
--
Regards
Steve Childs,
"Justin French" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This really should be asked on a MySQL list for starters, but
in my php.ini file or my browsers? The program works fine on my
RedHat/Apache/PHP/MySQL server.
Thanks
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;coach_access[login_id]", "coach",0,"/","localhost");
?>
That doesn't seem to work either. I am using two browsers for
testing. Netscape 7.1 and MS IE 6.0.2800. Netscape 7.1 has a cookie
manager that will let me see all cookies that are set and it doesn
Hi all,
I have a PHP web site that uses frames. I can use the header() function to
redirect the user to a new page, but can I use this function to load a page
into a different frame ?
Thanks in advance,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
with "coach_access[login_id]" as the
cookie name.
On another note, why would this work on the RedHat, but not the WinXP
Apache/PHP?
Thanks
Steve
At 12:34 PM 7/30/2003 -0700, Chris Shiflett wrote:
Can you try this example? Let's call the file cookie_test.php
\n";
can as:
header('Set-Cookie: coach_access_login_id_=coach');
but again, I would have to re-write a lot of script.
Thanks
Steve
At 12:34 PM 7/30/2003 -0700, Chris Shiflett wrote:
Can you try this example? Let's call the file cookie_test.php
\n";
echo "Test\n";
That still won't work for me for some reason. I am just going to rewrite
parts of the script to use a cookie name with out a [something] IN the
name. I will rename it to ca_id or something like that.
Thanks for your help
Steve
At 01:38 PM 7/30/2003 -0700, you wrote:
--- Steve Buehler &l
es, but not the type you are thinking of. It is just the name of a column
in a table. I haven't figured out how to use session id's yet.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
there someone out there that can help me to write it?
Thanks
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Mehdi,
Works a treat.
Steve
"Mehdi Achour" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Steve Fulleylove wrote:
>
> > Hi all,
> >
> > I have a PHP web site that uses frames. I can use the header() function
to
> > redir
kie with the "header" line with no problem, but either one
of the "setcookie" lines will not set the cookie. Has anybody seen
this? Does anybody know why this might be happening? BTW, no, I do not
try to set all of these at once. Just showing the lines that I use. The
&qu
main name to my
laptop and put that domain name in the "string domain" parameter and it
still didn't work.
Steve
At 05:53 PM 7/31/2003 -0500, Steve Buehler wrote:
I still can't figure something out. I am using WinXP/Apache 1.3.24/PHP
4.2.3 on my laptop and my cookies s
multiple names and values.
// after the page reloads, print them out
if (isset($_COOKIE['cookie'])) {
foreach ($_COOKIE['cookie'] as $name => $value) {
echo "$name : $value \n";
}
}
/* which prints
three : cookiethree
two : cookietwo
one : cookieone
*/
?>
Or (untested):
$String = 'NORTH LITTLE ROCK AR 72118-5227';
$Bits = split(strrev($String), '[[:space:]]+', 3);
$Zip = strrev($Bits[0]);
$State = strrev($Bits[1]);
$City = strrev($Bits[2]);
...could also use preg_split()
- steve
At 4:44 PM -0400 8/20/03, "CPT
e the results of the search:
Buehler, Steve
Buehler, Steve
Teste, Teste
a, a
asdf, adsf
asdf, asdf
dsdlkj, sd
Here is the code to sort:
$GLOBALS[sortterm]="cont_name";
usort($logins, "cmp");
function cmp ($a, $b) {
GLOBAL $sortterm;
return strcmp($a[$sortterm], $b[$sortterm]
Ok. Now I REALLY feel like an idiot. Thanks so much for your help.
Steve
At 05:46 PM 8/26/2003 +0200, you wrote:
It right there under your nose:
strcasecmp()
Steve Buehler wrote:
I am using the following function for a sort on an array. I hope someone
can help me out here and let me know
too? (Said he without
> having time to test either approach!)
Yes, that should work.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 3/14/2003 12:53 PM, Ron Petty wrote:
> Here is the code, maybe I am just missing something (this is the part
> where it writes and then opens again...
>> for($i = 0; $i < count($users); $i++)
>> {
>> for($k = 0; $k < count($grouplines);$k++)
>>
At 3/18/2003 11:46 AM, Steve Keller wrote:
> >> for($i = 0; $i < count($users); $i++)
> >> {
> >> for($k = 0; $k < count($grouplines);$k++)
> >> {
> >>
At 3/13/2003 01:05 PM, Christopher J. Crane wrote:
> I am just getting into PDF creation and I am having some issues. Can anyone
> send me a simple script that creates a PDF doc. I would like it to open in
> the browser after creation, not create a file.
Try the EZPDF class. It does just that, ser
At 3/9/2003 09:11 AM, Niels Andersen wrote:
> LOL
>
> I like PHP, but I also like wet girlies. But the two are not interchangable,
> which is a pitty, becouse sometimes I really could use a wet girl, and I
> only have PHP
If god wanted geeks to procreate, women would be accept C includes.
--
S
At 3/18/2003 02:30 PM, Pete James wrote:
> Steve and Niels,
>
> I personally don't think that this sort of garbage has any place on this
list. The PHP lists
> are for the promotion and assistance of the PHP community. In our small
ways, we are
> all ambassadors for PHP
ty Community College, A
8, Johnson County Girls Athletic Assoc, D
6, Johnson County Girls Athletic Assoc, B
7, Johnson County Girls Athletic Assoc, C
5, Johnson County Girls Athletic Assoc, A
9, Shawnee Civic Center, 1
1, Tomahawk Sports Dome, 1
2, Tomahawk Sports Dome, 2
3, Tomahawk Sports Dome, 3
4, Toma
et paper... just my experience, for
what it's worth.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Haven't the faintest idea what you mean by "direct from the
> web" and "a secure
> Intranet mysql db" and "web DB".
>
Sorry. What I mean is that we have an externally hosted website.
Currently all the forms etc update tables in the web hosted mysql DB. I
am in the process of building a small
t line but not any of the
thread you refer to.
Don't suppose you could regurgitate it could you?
I must have trawled through about 1 messages. I was back to Nov
2001!
The above two links don't really help me that much, I just need the
process explained so I know I'm on the right t
Thanks to those that have helped thus far.
To clarify what we need:
Our CRM system (really a prospect gathering system) needs to internally
hosted, be realtime and needs to be updated automatically. Our website
(hosted externally) is *one of many* tools which we are going to use to
gather informat
e thing, however the only way I can
think of to do that is display the submissions on a page and and somehow
parse that into SQL to insert it. Any ideas on how I can go about that?
Cheers,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 34
t that Kylix isn't "catching up" with Linux
releases. On top of that, you don't have to upgrade Linux just because Red
Hat puts out a new release.
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here's a function you could use. The input from your form should be
email ($email in this script).
function valid_email($email)
{
// check an email address is possibly valid
if (ereg("[EMAIL PROTECTED]",
$email))
return true;
else
return false;
}
HTH
Steve Jackso
ew server. If it's remotely hosted ask your administrator what
these variables are. If you have admin and root rights you should be
able to configure your password and find out the information yourself.
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
lot of fun.
Regards,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 3/28/2003 10:26 AM, Diksha Neel wrote:
> i have a simple program to open and write a file.
> but the file is not getting created.
> can anyone please spot the mistake?
> echo"hi?how are u doing??";
> $fp = fopen ("sandrew.html", "w");
> string="hii am
$string =
> fine";
> $contents=fwrite($f
At 3/28/2003 11:32 PM, Philip J. Newman wrote:
> Whats the best way to make a random password with 4 letters and 2 numbers?
I don't know what the "best" way is, but I had fun doing this one. I filled
the first 4 elements of an array with random letters by using the minimum
ASCII value of a lett
At 3/30/2003 12:42 PM, Lars Tvedt wrote:
> i would have used templates: heres one http://smarty.php.net
> "Liam Gibbs" <[EMAIL PROTECTED]> wrote in message
> > I'd store your themes in stylesheets instead.
Question, Lars, does Smarty allow for easy template changing? I haven't
used it very much.
At 4/1/2003 08:49 PM, [EMAIL PROTECTED] wrote:
> Also, I've not convinced anyone where I'm at now to use smarty. In my
> mind they are penny-wise and pound foolish. The real little extra
> time you might need to use a template system is richly rewarded in
> code re-use and future changes to the s
I also had a similar problem and it was simply because the directory
holding the attachment didn't have permission to send the attachment, so
check the permissions on the directory. Once I changed it it sends fine.
Cheers,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystem
At 4/3/2003 01:14 PM, [EMAIL PROTECTED] wrote:
> We subscribe to a few email lists on various languages.
Why do people assume that because they subscribe to a mailing list with
their work address that the mailing list must hold to their company's
standards?
> This list would have to be the wor
201 - 300 of 1688 matches
Mail list logo