Hey guys,
I just became aware of this:
http://internetdefenseleague.org/
It's a site setup by Mozilla, Reddit, and others to defend internet freedom
in the wake of recent legislative events in the U.S. and elsewhere (full
members list here: http://www.internetdefenseleague.org/members).
On Thu, Jul 19, 2012 at 12:36 PM, Ferenc Kovacs tyr...@gmail.com wrote:
2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta:
Forwarding to php-webmas...@lists.php.net, as it's not a general
user issue where it pertains to php.net.
On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig
On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote:
Btw. we were asked by the to join the league as we were a big traffic
source on the black out day.
I don't know if Rasmus is on the webmaster list or not, but we should cc
him, as he was the driving force behind us
On Thu, Jul 19, 2012 at 2:11 PM, Hannes Magnusson
hannes.magnus...@gmail.com wrote:
On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote:
On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote:
Btw. we were asked by the to join the league as we
(apologies if this sends twice - email verification issues)
Is it possible to detect the timeout of a stream created with
stream_socket_client() using the flag 'STREAM_CLIENT_ASYNC_CONNECT' ?
As soon as this flag is used, it seems there is no way to detect a
timeout situation.
. And, as always, use it at your own risk.
Please feel free to let me know if you have any
questions/feedback/etc. I hope this helps. =)
--Kris
On Thu, Oct 21, 2010 at 1:52 PM, Kris Craig kris.cr...@gmail.com wrote:
I've had a few emails from people making the same request, so what I'm
gonna do
not included. So
there.
Now that that's out of the way, I'll get those up either tomorrow or
Monday then post a link here. I hope this helps. =)
--Kris
On Wed, Oct 20, 2010 at 6:47 PM, Jason Pruim li...@pruimphotography.com wrote:
On Oct 20, 2010, at 8:47 PM, Kris Craig wrote:
I hope this helps
On Fri, 2009-03-27 at 08:11 +, Andrew Williams wrote:
can some tell why the below loop stop running after some time.
$start=10;
const run=0;
while($start run){
//do somthing
}
max_execution_time
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Mon, 2009-01-12 at 11:02 +, Richard Heyes wrote:
Is there something in PHP5 which can generate the RSS feed?
You don't need an extension to help you generate an XML feed. You
dimply output XML data instead of HTML and send an appropriate content
type header, eg:
Hi there. I don't kno id this is the correct place to post but...
I am using the PHP5 DOM to make up RSS Feeds ..
A Problem I have is I want to make this up for itunes..
?xml version=1.0 encoding=UTF-8?
rss version=2.00 xmlns:itunes=http://www.itunes.com/dtds/podcast-1.0.dtd;
etc..
I
));
Regards,
Rob
I'm now using urlencode on the values and htmlspecialchars on the entire url
and it's working nicely.
Thanks to everyone who helped.
Craig.
museumvictoria.com.au
This e-mail is solely for the named addressee and may be confidential.You
should only read, disclose, transmit, copy
a single space between the two names which I understand is the
intended behaviour?
Is there a way to preserve the multiple spaces?
Thanks
Craig.
Craig Churchill
Collection Systems Specialist
Museum Victoria
GPO Box 666
Melbourne VIC 3001
Australia
Telephone +61 3 8341 7743
Email [EMAIL
I tried several times as well. So far, no luck. I tried the unsubscribe
address but it doesn't work.
-Original Message-
From: wayne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 9:34 PM
To: php-general@lists.php.net
Subject: [PHP] unsubscribing
I tried to unsubscribe on
,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So now the page expires
Any help appreciated.
Craig Donnelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I had an issue that I needed to be able to go back in the browser while in
a
session without getting page has expired, I was reading through the
manual
and came
Hello,
I have just attempted to migrate for the first time from php4 to php5.
The problem i am having is some sort of change in how the open_basedir
directive works in php 5. I don't see much discussion about this, so I
must be doing something stupid, otherwise, I would think there would be
a
The files in question are 'within' the open_basedir directive.
To explain further/better
within virtualhost,
php_admin_value open_basedir /www/htdocs/midwifefinder.com/site
and...
/www/htdocs/midwifefinder.com/site/index.php contains
===
?php
require_once(includes/app.php);
which is
/ftpusers/tarot/tarot/admin/sqltest.php on line
4
This worked fine before, and I tested it on another box which is also
running freeTDS with PHP 5.0.1 and it
connects fine. Anyone any Ideas??
Regards,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Craig Slusher
Web Programmer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bit and it's not too bad.
--
Craig Slusher
Web Programmer
[EMAIL PROTECTED]
On Tue, 14 Dec 2004 10:29:41 -0500, Bryan Dina [EMAIL PROTECTED] wrote:
I have done a little checking and I think I already know the answer, but
I wanted to toss this one out there anyway.
Are there any cross
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Craig Slusher
Web Programmer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Craig Slusher
Web Programmer
[EMAIL PROTECTED]
--
PHP General Mailing List (http
, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Craig Slusher
Web Programmer
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
http://php.us.themoes.org/manual/en/language.references.pass.php
Passing by reference instead of value.
HTH
Craig
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have noticed that some of the functions in a tutorial I am studying have
an in the variable parameters i.e
how many elements are returned by the sql statement?
If you want the 7th item returned in the sql statement would need to
code $things[6]
Just a hunch...
--
Craig Brothers
@utoRevenue
[EMAIL PROTECTED]
(413) 528-8000 x105
On Wed, 2004-08-25 at 14:17, Nathan Mealey wrote:
I cannot seem
==
Works fine now.
HTH
Craig
Angelo Zanetti [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
Still no luck with sessions. I have installed an older version: 4.3.1
and have register_globals=Off
I have 2 test pages a1.php and a2.php
Show the code you are using...
Craig
Andy Loftus [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does anyone have any ideas as to why $_POST would be empty when
submitting a form to php?
I am running PHP5 as CGI in apache 1.3.22 on redhat linux.
I've also tried php4.3.8 CGI (same
basically this checks if the form button sendform is set.
HTH,
Craig
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I am trying to create some code to check whether a form has been
submitted.
The following code seems to print evertime, whether a form has been
submitted
Ok, in simple form - If the submit button was clicked,
If some one hits enter this would be a problem, easy way to resolve
this would be to have a hidden form element flagged and to terst for that
instead of the
submit button, wouldnt you agree Jason?
Craig
Jason Wong [EMAIL PROTECTED] wrote
Have a look at Cron
http://www.webmasters-central.com/t/cron.shtml
HTH
Craig
Angelo Zanetti [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
HI,
Im slightly in the dark as to do the following. What I need is a thread of
some sort that runs and when the time is midnight
Sorry I meant to say, assuming your on Unix/Linux system,
Otherwise if Windows use task scheduler Control Panel Scheduled Tasks
Cheers,
Craig
Craig Donnelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Have a look at Cron
http://www.webmasters-central.com/t/cron.shtml
HTH
Put all your values in the following {}...
So:
VALUES('{$Title}','{$ChristianName}','{$MiddleName}','{$Surname}'. and
so on.
HTH
Craig
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I've checked my syntax but obviously missing something.
Would anyone mind a quick
' to whatever the fields are you are querying.
you could also:
pre
?php print_r($result); ?
/pre
HTH
Craig
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all...
Despite being able to make a connection to the server and execute a query
I
am unable to do this through
MD5 - http://ie2.php.net/md5
One way in encryption.
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Bob Hockney mailto:[EMAIL PROTECTED]
on Tuesday, June 29, 2004 5:58 PM said:
I wrote a php script that accesses a database, and I am wondering
about securing the
Best way to achieve this would be cron/crontab
http://www.webmasters-central.com/t/cron.shtml
HTH
Craig
I.A. Gray [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi.
I am wanting to use a PHP script to check on an hourly/daily basis on a
few
things- ie links on my sites, whether
SELECT * FROM foo_table WHERE field_foo some_value
The above will select all from foo_table except where field_foo is equal to
some value.
HTH
Craig
Phpu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Is there any way to select all entries in the database except one entry
?php
include(connect.php);
$name = $_POST['name'];
$quote = $_POST['quote'];
$sql = mysql_query(INSERT INTO whosaid (name,quote) VALUES (' . $name
. ',' . $quote . '));
?
HTH
Craig
Bigmark [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am trying to learn how
Ryan,
with a bit of tweaking you can edit that script to what you want.
heres an example
=
?php
function calendar($date)
{
//If no parameter is passed use the current date.
if($date == null)
http://dev.mysql.com/doc/mysql/en/INSERT_SELECT.html
Bob Lockie [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I want to duplicate a row (back it up - copy to a table with the same
schema) regardless of the table schema.
This in MySQL but I need a solution that can be made easily
?php
echo Hello;
echo meta http-equiv=\Refresh\ content=\2;url=b.php\\n;
?
Is another option
Craig
Rick Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
a file called a.php prints hello to the browser then calls
b.php which prints goodbye
Concatenate using: .
?php
$stringA = Hello from;
$stringB = over here!;
$stringC = $stringA . . $stringB;
?
HTH
Craig
Tommy Atherton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi
I have a problem, I'm trying to combine the value of two strings
Yeah those damn email always come at same time.
Well on my blocked list now.
Jordi Canals [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sherri wrote:
Woah!
Signed up litterally 1 minute ago and I'm already getting spam. From
Advance Credit Suisse Bank
Just wait. There are
Personally I would buy a book on programming in general or maybe just go
straight for a
PHP beginners book.
But this is pretty straight forward from the ground up:
http://www.w3schools.com/php/default.asp
HTH
Craig
Neal [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I've
Can you post your whole file?
Brian Dunning [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is the top of my file:
?php
// Start the session
session_start();
Which looks OK to me, but it returns:
Parse error: parse error, unexpected T_STRING in
It doesnt necessarily mean the error occured on that line, that may have
been the last executed statement
post a few more lines or we cant help you.
Regards
Craig [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can you post your whole file?
Brian Dunning [EMAIL PROTECTED] wrote
);
^^^ The above constants will always be what they are defined as. Constant
:-)
Also another advantage of using constants, is that it can make your code
easier
to read. Usually constant names are declare in uppercase, which helps to
break
up your code.
HTH
Craig
Al [EMAIL PROTECTED] wrote in message
Have a look here also: http://ie2.php.net/define
Al [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can someone explain to me the value of using defined custom constants,
in the context of good coding practice.
I don't recall ever seeing define() used in the scripts I've seen and
yes, constants have global scope also :-)
Craig [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Have a look here also: http://ie2.php.net/define
Al [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can someone explain to me the value of using defined custom constants
On windows I believe this will work:
ini_set(sendmail_from,[EMAIL PROTECTED]);
Try that. http://www.php.net/ini_set
HTH
Craig
Tassos T [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hello,
i face a problem with send mail via php.
i have a server with ms IIS and i have
Is the text the same on every page?
Where you print your body, concatenate the string you want to your content
variable.
HTH
Nick Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
First off, yeah, it's a dumb Q ;-) but I cant remember enuf about mysql
to know if I
Probably useing something like this, not altogether sure.
http://www.maxmind.com/geoip/
Brent Clark [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all
I have a question regarding phpclasses.org.
There is a section, where is says, Find the closest mirror.
My question is, does
take a look on http://www.phpclasses.org
Good luck,
Craig
Dave Avent [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All,
Does anyone know if there is a WDDX Class for PHP. I have googled and
checked phpclasses.org. I am unable to recompile my webserver so I cannot
include wddx
You bet it is.. :-)
Sorry Dave.
- Original Message -
From: Sam Masiello [EMAIL PROTECTED]
To: Craig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, May 17, 2004 4:41 PM
Subject: RE: [PHP] Re: WDDX
Hehe must be too early on a Monday for Craig :)
--Sam
-Original
If returning a floating point variable, cast it back to an (int)
hth
Tristan Pretty [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Cheers for all ideas/suggetions so far..
I've made a little progres...
Visit this URL:
http://www.risk.sungard.com/secure.php?secure=126807.714285714
trim($YOUR_VARIABLE) = Remove whitespace from beginning and end of string
http://ie2.php.net/trim
strtolower($YOUR_VARIABLE) = Makes a string lowercase
http://ie2.php.net/strtolower
Hope that helps
Robert Sossomon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am pulling data
This has nothing to do with PHP.
Its javascript, http://www.jguru.com/faq/view.jsp?EID=280434
Please keep to topic.
Thanks
Brent Clark [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Something like this:
input type=submit value=submit disabled
Hi
Yes this is correct
But
Try this and see what happens:
?php
if(isset($_POST['empfullname']) isset($_POST['empmidname'])
isset($_POST['empbdate']) isset($_POST['emptitle'])
isset($_POST['departement']))
{
$empfullname = $_POST['empfullname'];
$empmidname = $_POST['empmidname'];
$empbdate =
http://ie.php.net/manual/en/function.get-magic-quotes-gpc.php
use stripslashes() :
?php
echo stripslashes(urldecode($_GET[strSQL]));
?
Cheers
Victor spång arthursson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Perhaps I'm tired, perhaps I've missed something obvious, but I
For ease of use, i would create a session and handle it that way or you
could pass it through $_GET[]
Query string.
Would recommend $_SESSION though.
Cheers
Sobajo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Two forms (form1 and form2 submit to the same controller.php file. The
Something like this would work:
=
?php
function dateConvert($date)
{
$newdate = ;
$newdate .= substr($date,0,2);
$newdate .= -;
$newdate .= substr($date,2,2);
$newdate .= -;
$newdate .= substr($date,4,4);
return $newdate;
}
echo dateConvert(04212004);
?
either result in the array. What am I doing wrong?
Thanks,
Craig.
Server:
?php
require_once('SOAP/Server.php');
class validate
{
var $method_namespace = 'urn:validate';
function check($filename)
{
if(file_exists($filename
?php
$args = array(a,b,b);
$keys = array(0,1,2);
function array_key_remove($args,$keys,$replacement=NULL)
{
echo Foo!;
}
?
Lasse Motroen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have received some code and am trying to run it. However, I get the
following error:
http://ie.php.net/globals
Instead of $PHP_SELF use $_SERVER['PHP_SELF']
Craig
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi
$thisFileName = $PHP_SELF; works in a file just a few lines after the
program start.
$thisFileName
What do you have before line 73?
On Thu, 2004-03-04 at 12:03, Enrique Martinez wrote:
Hello, I'm getting an error that says:
Parse error, unexpected T_STRING on line 73
line 73 is: ?xml version=1.0 encoding=iso-8859-1
?
this is what I have below line 73:
!DOCTYPE html PUBLIC
I want to resize an image before display it in the window.
Is there a php fonction which do it ?
Thanks !
this will actually resize the photo,
hope it helps,
Craig
/***
**
Function: resizeImageJPG
Parameters
Hi,
I just want to verify something that seems counterintuitive
to me. Do you have to pass session variables to functions?
It would seem to me that they should be available anywhere.
I took a cursory look through the manual, but didn't see
anything relevant.
Thanks,
Craig
--
PHP General
altogether.
Any pearls of wisdom out there?
if you are using imagecreate(), switch to imagecreatetruecolor().
I got a big improvement from that.
don't think it's a pearl, but I hope it helps,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
()... '
thanks in advance,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it working and even longer to
figure out how it worked. Good luck,
Jas
I did check out the .net documentation and it uses cbc, but maybe I'll
try
the other modes for kicks.
-Craig
Craig wrote:
Hi all,
I am truly hoping that someone can help with this.
I am making the ecommerce site
that it can't be done?
TIA,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks, I wasn't looking for 3DES.
That should do the trick for me.
Craig
-Original Message-
From: Adam Bregenzer [mailto:[EMAIL PROTECTED]
Sent: February 9, 2004 10:36 AM
To: craig
Cc: Php
Subject: Re: [PHP] triple DES encryption
On Mon, 2004-02-09 at 12:36, craig wrote:
Hi
= $value) {
$fields[] = $project_id;
$values[] = $value;
}
if (is_array($project))
foreach ($project as $project_id = $value) {
$fields[] = $project_id;
$values[] = $value;
}
}
HTH,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
craig mailto:[EMAIL PROTECTED]
on Friday, February 06, 2004 2:24 PM said:
if (is_array($project))
foreach ($project as $project_id = $value) {
$fields[] = $project_id;
$values[] = $value;
}
}
you're missing a curly brace after the if ().
my bad, that's what
I can write a script in
perl, php, java, u name it, but how do I have it run on a set
schedule?
Thanks
Christian
you will want to use the cron command. run 'man cron' at a shell prompt
to
get the manual page that will explain the finer points. =)
HTH,
Craig
--
PHP General Mailing List
these.
Anybody else getting this?
Yeah, I am getting bundles of these as well...
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
' to look like 'cPic1' before trying to
use it, but nothing is working. There has to be a way
to do this. Any help is greatly appreciated.
-Craig
while ($row = mysql_fetch_object($result)) {
//other code...
$count = 1;
while ($count = $row-tiPicCount) {
echo img src
Hi, how i can check credit card or magnetic card number for
a site of
electronic commerce that i have to design.
Sorry for my english.
Pedro.
I think this should work for you, but it's not production tested yet.
-Craig
function verifyCC($name='', $type='', $number='', $expmonth
you're not imagining things ;)
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use ' ' instead
try eregi_replace([0-9 ]{4,}
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check out http://www.php.net/manual/en/features.file-upload.php,
it spells out the entire upload process
specifally, you want:
$_FILES['userfile']['type'] = The mime type of the file, if
the browser provided this information. An example would
be image/gif.
-Craig
-Original Message
Is there anyway to do something similar to Transactions in mysql?
Yes, use transactions
http://www.mysql.com/doc/en/Transactional_Commands.html
-Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the actual encoding. =(
-Craig
Cesar
craig wrote:
check out http://www.php.net/manual/en/features.file-upload.php,
it spells out the entire upload process
specifally, you want:
$_FILES['userfile']['type'] = The mime type of the file, if
the browser provided this information
the equivalent of eval in javascript.
Does PHP have that capability?
Thanks
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2004-01-26 at 10:09, John W. Holmes wrote:
From: Craig Jackson [EMAIL PROTECTED]
This would require something like the equivalent of eval in javascript.
Does PHP have that capability?
Yes. Oddly enough it's called eval(). Imagine that...
---John Holmes...
--
PHP General
On Mon, 2004-01-26 at 10:11, Chris Hayes wrote:
At 17:03 26-1-04, you wrote:
I'm sure how to frame the question. Here's the problem.
I would like to store PHP code in a database. Then I would like to
while-loop through the array executing the code something like this:
?
separate inserts, but both get the same MAX(uiIndex) value.
Is there a better way to do this?
TIA,
Craig
table defn:
create table randomKey (
uiIndex int unsigned auto_increment not null primary key,
cKeychar(20) unique
);
function getKey() {
//get random number into db
I love this list!
That's perfect! I was able to simplify the function down even more.
Thanks a lot,
Craig
-Original Message-
From: Matt Matijevich [mailto:[EMAIL PROTECTED]
Sent: January 26, 2004 4:01 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] random
are greatly appreciated.
Craig
function showForm($quantity='', $fname='', $lname='') {
?
form action='orderX.php' method='post' name='orderForm'
table border='0'
tr
td align='right'Quantity:/td
tdinput name='quantity' type='text' size='3' value='?php
echo
, '\\''));
How do I get around this problem? Is there any function which helps
to insert everything into the mysql database as it is (does
auto-escaping).
Couldn't be simpler, just use mysql_escape_string. It escapes a string
for use in a mysql_query.
-craig
Nirnimesh.
IIIT-Hyd.
India.
--
PHP
=menu.swf?index=3
param name=quality value=high
embed src=menu.swf?index=3 quality=high
pluginspage=http://www.macromedia.com/go/getflashplayer;
type=application/x-shockwave-flash width=200 height=640/embed
/object
hope that helps,
Craig
Thank you, John.
toby
- Original Message -
From
of ,, with ,NULL, and I really don't
want to do that. Why isn't it getting them both with the
first regex, and how should I modify it to catch them
both?
TIA,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
redundant to me.
What are your preferred methods? I do an awful lot of
content management
with HTML forms, so it's not an entirely spurious question.
I only use javascript for things that I can't do with php, and I can
validate with php.
that's my 2 cents worth,
Craig
--
Matt Grimm
Web
Thanks Kelly.
That works just like I wanted, only starting the regex engine
once. Guess I'll have to figure out lookahead.
-Craig
-Original Message-
From: Kelly Hallman [mailto:[EMAIL PROTECTED]
Sent: January 9, 2004 11:24 AM
To: craig
Cc: Php
Subject: Re: [PHP] not sure why regex
Hi All,
This may be more of an HTML question - can't find anything
in the php manual, but I may not know where to look.
Is it possible to put the cursor into a form element
when a page loads without using javascript?
Thanks,
Craig
--
PHP General Mailing List (http://www.php.net
, maintains code readablity, and
doesn't adversely affect script execution time.
Craig
-Original Message-
From: felix zaslavskiy [mailto:[EMAIL PROTECTED]
Sent: November 5, 2003 8:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: High bandwidth application tips
Take a look here:
http
couldn't agree more.
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are you using windows or *nix?
There is a good dictionary (I think it is called dict)
built into most *nix distros,and have yet to find a
good dictionary for windows.
maybe someone else knows a good one =)
Craig
-Original Message-
From: pete M [mailto:[EMAIL PROTECTED]
Sent
[] = trim($file);
}
}
closedir($handle);
}
return $filesArr;
}
hth,
Craig
-Original Message-
From: Bas [mailto:[EMAIL PROTECTED]
Sent: October 17, 2003 6:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How can i print out the files
than sorry.
thank you,
Craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
here, it is coming up soon for me =)
hth,
Craig
-Original Message-
From: Nathan Taylor [mailto:[EMAIL PROTECTED]
Sent: October 8, 2003 2:04 PM
To: php-general
Subject: [PHP] Credit Card Validation
Hey guys (and gals),
I am sure this has been asked many times before, but I couldn't seem
1 - 100 of 312 matches
Mail list logo