Sorry, forgot to include the mailing list email when I replied to this
originally...
On Aug 28, 2010, at 8:28 PM, tedd wrote:
Sorry for not making sense. But sometimes you have to confirm the
players (both server and remote) in communications.
Try this -- place this script on your site:
Rather than repeating all that code, I suggest the following:
select name=type id=type
option value=0-- select type --/option
option value=meeting ?php echo (isset($_POST['hidSubmit']
$_POST['hidSubmit'] == TRUE $_POST['type'] == meeting) ?
selected : '' ?
option value=event ?php
The debate on client-side vs. server-side form validation is ongoing.
Client-side is more responsive, and attempts to keep bad data from
ever reaching your application, but relies on javascript being
enabled. Since this is something easily turned off by users, one can't
always rely on it
I have a general question and am looking for best practices.
Suppose I present a user with a form for editing an entry in a table,
i.e., the form has filled in values from the existing table entry.
Now, suppose they click on 'submit' without making any changes in the
form. (Perhaps, say,
On Sep 11, 2010, at 12:14 PM, Jason Pruim wrote:
On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote:
Rather than repeating all that code, I suggest the following:
[snip]
That's actually what I'm trying to get away from. I was hoping to do
it all in HEREDOC syntax. I've always thought it made
On Sep 11, 2010, at 10:46 PM, Shawn McKenzie wrote:
It could however be a problem if there is a BOT or something that
continually submits to your page. In that case (and in general) I
would
recommend using a form token that helps guard against this.
I've seen this on some sites, but I'm
On Sep 11, 2010, at 9:27 PM, viraj wrote:
On Sat, Sep 11, 2010 at 10:22 PM, Tamara Temple tamouse.li...@gmail.com
wrote:
I have a general question and am looking for best practices.
Is it worth the overhead of passing along the previous values in
the table
in hidden fields so that fields
Sounds like there are some security concerns here.
On Sep 12, 2010, at 11:32 AM, tedd wrote:
I have a client who wants his employees' access to their online
business database restricted to only times when he is logged on.
(Don't ask why)
I do wonder why, though. Perhaps this is an
On Sep 12, 2010, at 3:34 PM, Robert Cummings wrote:
On 10-09-11 12:52 PM, Tamara Temple wrote:
I have a general question and am looking for best practices.
Suppose I present a user with a form for editing an entry in a table,
i.e., the form has filled in values from the existing table entry
On Sep 12, 2010, at 4:28 PM, Robert Cummings wrote:
On 10-09-12 05:19 PM, Michael Shadle wrote:
On Sun, Sep 12, 2010 at 2:12 PM, Tamara Templetamouse.li...@gmail.com
wrote:
Ok, but how do you detect if a field changes? The specific
implementation
between application and data storage is
On Sep 12, 2010, at 4:48 PM, tedd wrote:
At 4:05 PM -0500 9/12/10, Tamara Temple wrote:
Sounds like there are some security concerns here.
On Sep 12, 2010, at 11:32 AM, tedd wrote:
I have a client who wants his employees' access to their online
business database restricted to only times
This isn't to answer your question, but...
On Sep 13, 2010, at 5:16 PM, Camilo Sperberg wrote:
function my_error_handler($errno = '0', $errstr = '[FATAL] General
Error',
$errfile = 'N/A', $errline = 'N/A', $errctx = '') {
global $clean_exit;
if(empty($clean_exit)) {
On Oct 8, 2010, at 12:30 PM, Nathan Rixham wrote:
As per the subject, not what other languages have you used, but what
other languages do you currently use?
Perl, Ruby, Javascript, Sh, C. Planning on picking up Python.
I guess it may also be interesting to know if:
(1) there's any
On Oct 17, 2010, at 12:58 AM, John Taylor-Johnston wrote:
According to this, I'm 44 not 45 :)p
$birthday = '1965-08-30';
//calculate years of age (input string: -MM-DD)
function birthday ($birthday){
list($year,$month,$day) = explode(-,$birthday);
$year_diff = date(Y) - $year;
On Oct 17, 2010, at 2:34 PM, John Taylor-Johnston wrote:
Here is another nifty piece of code I found. How does this work?
What is 31556926?
Number of second in a year? (31556926 / (24 * 60 * 60) yields
365.2421...)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Oct 17, 2010, at 1:22 PM, Ethan Rosenberg wrote:
At 01:41 AM 10/17/2010, Tommy Pham wrote:
I cannot get the following to work. In my Firefox [Iceweasel]
browser, I
enter the following URL: [w/ the http]
Whenever you get a blank screen running a php application, the place
to look is
the connection with the new data base:
$cxn = new mysql($host, $user, $password, test22);
Then the following code will work.
Tamara Temple
-- aka tamouse__
tam...@tamaratemple.com
May you never see a stranger's face in the mirror.
On Oct 17, 2010, at 4:26 PM, Tamara Temple wrote
On Oct 17, 2010, at 9:57 PM, Tommy Pham wrote:
-Original Message-
From: Tamara Temple [mailto:tamouse.li...@gmail.com]
On Oct 17, 2010, at 2:34 PM, John Taylor-Johnston wrote:
Here is another nifty piece of code I found. How does this work?
What is 31556926?
Number of second
I'm trying to log some data for debugging and don't have use of the
standard output to do so. I'd like to write the info to the php error
log. Can this be done from within PHP? I've searched the web site for
logging functions, but cannot find any.
--
PHP General Mailing List
On Oct 22, 2010, at 7:31 PM, Daniel P. Brown wrote:
On Fri, Oct 22, 2010 at 20:24, Tamara Temple
tamouse.li...@gmail.com wrote:
I'm trying to log some data for debugging and don't have use of the
standard
output to do so. I'd like to write the info to the php error log.
Can this
be done
On Oct 29, 2010, at 2:44 PM, Gary wrote:
Adam Richardson simples...@gmail.com wrote in message
news:aanlkti=kenxt7yewrztcm4+hyifrlqhozxse7ufmq...@mail.gmail.com...
On Fri, Oct 29, 2010 at 3:05 PM, Gary gp...@paulgdesigns.com wrote:
I am trying to get the watermark to work, however I am having a
On Oct 30, 2010, at 9:31 AM, Gary wrote:
tedd tedd.sperl...@gmail.com wrote in message
news:p06240800c8f1d19b9...@[192.168.1.2]...
At 3:05 PM -0400 10/29/10, Gary wrote:
I am trying to get the watermark to work, however I am having a
problem in
that the image is being called from a
On Oct 31, 2010, at 7:29 AM, Gary wrote:
Thanks for the reply, here is a link to the code of the page.
http://www.paulgdesigns.com/detailcode.php
Ok, that was pretty messy code. But what I could glean from it is
this. (See your code at http://pastie.org/1262989).
Line 238: table
Is this something I need to worry about?? Is my mail sending some
malware??
Begin forwarded message:
From: Mail Delivery Subsystem mailer-dae...@immosky.ch
Date: October 31, 2010 7:37:54 PM CDT
To: Tamara Temple tamouse.li...@gmail.com
Subject: Mail delivery failed: returning message
I'm wondering what the advantages/disadvantage of using prepared
statements with mysqli are. I'm used to using the mysqli::query and
mysqli::fetch_assoc functions to deal with retrieving data and bulding
my sql statement in php code.
Tamara Temple
-- aka tamouse__
tam
On Nov 4, 2010, at 6:36 AM, Jay Blanchard wrote:
[snip]
If you have a query in your PHP code, which you are going to be
executing a lot, even if you are using prepared statements, you can go
one further by creating a stored procedure. Now the SQL server will
only ever need to compile the
On Nov 10, 2010, at 8:58 AM, Marc Guay wrote:
foreach($_GET as $k = $v) $qs[$k] = URLDecode($v);
$qs['lang'] = 'en';
echo 'a href=index.php?'.http_build_query($qa).'Flip/a';
Hi Tamara,
Thanks for the tips. Do you see any advantage of this method over
using a small POST form besides the
On Nov 10, 2010, at 8:08 PM, Daevid Vincent wrote:
http://php.net/manual/en/function.parse-ini-file.php
Why doesn't PHP parse the 'null', 'true', 'false', etc into their
proper
equivalents? What's worse is that it does this mangling of my RAW
values to
be strings and sets them to 1 !!!
I'm curious what the lists' opinions are regarding the use of an .ini
file versus an include configuration file in PHP code are?
I can see uses for either (or both).
To me, it seems that an .ini file would be ideal in the case where you
want to allow a simpler interface for people
On Nov 14, 2010, at 9:12 PM, Ron Piggott wrote:
I am writing a custom function and I need to be able to retrieve 3
values from it.
To return multiple values, you have to return an array:
return array($var1, $var2, $var3);
Then at the calling site, you retrieve them with a list
On Nov 14, 2010, at 4:48 PM, Ron Piggott wrote:
Warning: strpos() [function.strpos]: Offset not contained in string
Shouldn't you check the length of the string before giving it the
offset?
From: a...@ashleysheridan.co.uk
$pos = (strpos(' ', $string, 76))?strpos(' ',$string,
On Nov 17, 2010, at 7:42 AM, 肖晗 wrote:
I plan to design a small survey/poll system similar to
polldaddyhttp://polldaddy.com/
.
And I have some confusion in designing the database for the multiple/
single
choice questions. Of course, it is possible to use one table to
store the
question
On Nov 19, 2010, at 3:39 PM, Hans Åhlin wrote:
Does any one know if there is any way for me to protect my source code
without the requirement of a extension being installed on the server?
i.e encryption, obfusicator, script library, compile the code.
Perhaps it's just me, but I'm completely
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote:
?PHP
function ddbYear($name, $message, $_POST, $option){
Maybe it's just me, but using the name of a global as a function
parameter just seems like a bad idea. Yes, you can do it. Should you?
I think not. Especially, as, you are passing
On Nov 25, 2010, at 8:07 AM, Richard Quadling wrote:
I prefer PICNIC.
So you can now have a Senior Picnic or a Kiddies Picnic and it all
sounds quite pleasant.
Ok, I give, what's a PICNIC?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Nov 25, 2010, at 6:07 PM, Da Rock wrote:
preg_match(/(\d{1,3})(\.)$/, exec($mixer . ' ' . $command),
$matches)
it looks like you're failing to account for the newline that comes
back in a command execution. Add trim() around the exec() call and try
again.
--
PHP General Mailing List
On Nov 26, 2010, at 7:28 PM, Da Rock wrote:
On 11/27/10 00:57, Richard Quadling wrote:
On 26 November 2010 00:07, Da Rockphp-
l...@herveybayaustralia.com.au wrote:
preg_match(/(\d{1,3})(\.)$/, exec($mixer . ' ' . $command),
$matches)
Can you ...
var_dump(exec($mixer . ' ' .
On Nov 26, 2010, at 8:36 PM, Richard West wrote:
Hey guys,
I've never run into this before.
I have a field in mysql for page views.
So I pull out value and do +1 to new value - after UPDATE SET it has
incremented by 2?
$val = $row['a_downloads'] ;
$new_val = $val+1;
mysql_query(UPDATE
On Dec 2, 2010, at 11:33 PM, Da Rock wrote:
On 11/29/10 09:10, Richard Quadling wrote:
On 27 November 2010 04:45, Da Rockphp-
l...@herveybayaustralia.com.au wrote:
On 11/27/10 13:51, Tamara Temple wrote:
On Nov 26, 2010, at 7:28 PM, Da Rock wrote:
On 11/27/10 00:57, Richard Quadling
On Dec 4, 2010, at 2:15 PM, Kirk Bailey wrote:
The hound barks, but does not yet properly hunt, and we need to
bring home the bacon.
OK, here is the current code:
?php # The next several lines declare an array of directories which
are NOT to be listed!
$excludes[] = 'images';
of the list as an educational exercise.
Tamara Temple wrote:
On Dec 4, 2010, at 2:15 PM, Kirk Bailey wrote:
The hound barks, but does not yet properly hunt, and we need to
bring home the bacon.
OK, here is the current code:
?php # The next several lines declare an array of directories
which
On Dec 19, 2010, at 9:46 AM, Gary wrote:
I have an issue that the first record in a query is not being
displayed. It
seems that the first row in alphabetical order is not being brought
to the
screen.
I have run the query in the DB and it displays the correct result,
so it has
to be in
On Dec 19, 2010, at 10:43 AM, Bill Guion wrote:
In an effort to clean up some code, I tried taking four lines out of
6 or 7 programs and putting them into an include file. The file
structure is
Root
data
clubs.php
include
fmt.inc
Originally, clubs.php had the following code:
On Dec 28, 2010, at 2:11 PM, Joshua Kehn wrote:
Specifically:
Dotan Cohen wrote:
I seem to have an issue with users who copy-paste their usernames
and
passwords coping and pasting leading and trailing space characters.
Users should not be copy-pasting passwords or usernames. Do not
On Dec 28, 2010, at 10:28 PM, Joshua Kehn wrote:
On Dec 28, 2010, at 6:28 PM, Paul M Foster wrote:
On Tue, Dec 28, 2010 at 03:11:56PM -0500, Joshua Kehn wrote:
Specifically:
Dotan Cohen wrote:
I seem to have an issue with users who copy-paste their
usernames and
passwords coping and
On Dec 29, 2010, at 7:27 PM, Mujtaba Arshad wrote:
craphound.com/images/xkcdwrongoninternet.jpg
Least you could do is give Randall the love, instead of Cory :)
http://xkcd.com/386/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Dec 29, 2010, at 6:12 PM, Ethan Rosenberg wrote:
I would like to have a regex which would validate that a telephone
number is in the format xxx-xxx-.
http://lmgtfy.com/?q=regex+to+validate+US+phone+numbers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Dec 31, 2010, at 12:41 AM, Joshua Kehn wrote:
On Dec 31, 2010, at 1:26 AM, Tamara Temple wrote:
On Dec 28, 2010, at 2:11 PM, Joshua Kehn wrote:
Specifically:
Dotan Cohen wrote:
I seem to have an issue with users who copy-paste their
usernames and
passwords coping and pasting
On Dec 31, 2010, at 12:41 AM, Joshua Kehn wrote:
On Dec 31, 2010, at 1:31 AM, Tamara Temple wrote:
20? child's play. How about 250+ randomly generated passwords and
username combinations?
Why do you randomly generate 250+ usernames and passwords??
I generate unique pairs for the various
I am that pro but
whatever, just don't force people to enter passwords, no one
appreciates it.
On Fri, Dec 31, 2010 at 1:26 AM, Tamara Temple tamouse.li...@gmail.com
wrote:
On Dec 28, 2010, at 2:11 PM, Joshua Kehn wrote:
Specifically:
Dotan Cohen wrote:
I seem to have an issue
On Feb 15, 2011, at 4:32 PM, Brian Dunning wrote:
Yes, thanks, what I'm looking for is how to do that.
On Feb 15, 2011, at 1:38 PM, Simon J Welsh wrote:
Assuming you're only using p tags, count the number of opening
p tags, divide by three. First ad block goes after the
On Feb 15, 2011, at 4:17 PM, Donovan Brooke wrote:
[snip]
This is what I show my students:
http://rebel.lcc.edu/sperlt/citw229/brace-styles.php
Cheers,
tedd
I didn't know there were names for bracing styles... but
Neither did I -- just the KR style was the only name I recognized. (I
On Feb 15, 2011, at 11:23 PM, Brian Waters wrote:
On Tue, Feb 15, 2011 at 11:46 PM, Tamara Temple tamouse.li...@gmail.com
wrote:
I was unlucky enough to find someone who coded a
function that went on for 30 pages one (this was in C, not PHP) and
*that*
was hard to untangle.
Why
On Feb 19, 2011, at 6:38 PM, Yogesh wrote:
I have two forms. One form helps read an input file into an array.
And the
other form needs this array as an input.
I am able to read the input file into an array, but how do I pass it
over to
the other form.
Both forms have PHP file as 'action'.
I'm wondering if anyone is going to comment on the transmittal and
storage of plain text passwords
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 20, 2011, at 10:51 AM, Yogesh wrote:
I don't entirely understand this; Dan Brown gave you solution to use
curl to pass the array to the second form (do you mean script
here?). That would certainly work, but I'm wondering if it wouldn't
be more secure to spool out the array to a
On Feb 20, 2011, at 5:51 PM, tolga wrote:
21.02.2011 01:41, Richard Quadling yazmış:
On 20 February 2011 23:34, Richard Quadlingrquadl...@gmail.com
wrote:
On 18 February 2011 19:03, Pete
Woodheadpete.woodhea...@gmail.com wrote:
Hi I'm Pete Woodhead. I'm new to the list and to PHP. To
On Feb 20, 2011, at 7:38 PM, tolga wrote:
21.02.2011 03:21, Tamara Temple yazmış:
On Feb 20, 2011, at 5:51 PM, tolga wrote:
i'm interested in php about 3 maybe 4 years but i still couldnt
get the logic of classes. it makes no sense to me. i couldnt
understand whats about classes good
On Feb 22, 2011, at 5:29 AM, Dotan Cohen wrote:
I wrote a short page on how to actually type of code that one writes,
it can be found here:
http://dotancohen.com/howto/write_code.html
The point that I stress on the page is that first you close an
element, then you fill it's contents. The page
On Mar 22, 2011, at 8:42 PM, Jim Giner wrote:
ok - here's the code in question.
$q = 'select * from director_records ';
$qrslt = mysql_query($q);
$rows = mysql_num_rows($qrslt);
for ($i=0; $i$rows; $i++)
{
$j = $i+1;
Am i reading this correctly: the first variable is j (jay) the second
you use $j
or $i+1.
Tamara Temple tamouse.li...@gmail.com wrote in message
news:521bdb9d-adbf-45d7-b759-acd315b19...@gmail.com...
On Mar 22, 2011, at 8:42 PM, Jim Giner wrote:
ok - here's the code in question.
$q = 'select * from director_records ';
$qrslt = mysql_query($q);
$rows
On Apr 29, 2011, at 8:32 AM, Robert Cummings wrote:
On 11-04-29 08:04 AM, Steve Staples wrote:
On Thu, 2011-04-28 at 19:19 -0400, Robert Cummings wrote:
On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote:
Thanks switch and case seems to be more faster for the job and a
lot cleaner
On May 2, 2011, at 8:14 PM, Ashley Sheridan wrote:
On Mon, 2011-05-02 at 20:35 -0400, Bastien wrote:
On 2011-05-02, at 8:21 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Tue, 2011-05-03 at 09:36 +1000, Sir Wally Lewis wrote:
I did not get access to any database system on
On May 21, 2011, at 9:11 AM, tedd wrote:
Hi gang:
Okay, so,what's the best (i.e., most secure) way for your script
to identify itself *IF* you plan on using that information later,
such as the value in an action attribute in a form?
For example, I was using:
$self =
Isn't this typically why date selectors are used on the front end?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On May 30, 2011, at 10:01 AM, Jim Giner wrote:
Thanks for the attempt Simon, but your code only displayed gibberish.
While looking around again for help, I found this and it works
perfectly:
?php
session_start();
//
// Specify the name of the pdf here and the folder
//
On May 31, 2011, at 12:34 AM, Negin Nickparsa wrote:
I need to create a login page with HTTPS to yahoo
Do I have to have a valid certificate?
I have not trust certification centre, so before anything under
HTTPS will
be shown up, the window will come with information: valid
certificate:
On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
Hello Sean,
Here is my apache config for error handling.
403, 404 works fine, but 500 shows blank page
Alias /errorpage/ /usr/local/www/apache22/errorpage/
Directory /usr/local/www/apache22/errorpage/
AllowOverride None
Options -Indexes
On Jun 1, 2011, at 9:54 AM, Jim Giner wrote:
Well - the code works just fine as is and that's all I care about.
As for
Richard's comments - the url in my header(Location) statement
points to
a pdf file, not a php file, so the target is not sending any headers
(that I
know of ).
On Jun 1, 2011, at 10:40 AM, Adam Preece wrote:
sorry i should of explained a little more in depth :-).
i am using smarty templating engine,
and it needs me to pass in an associative array.
only an id column and a the name column.
i know if i use a more specific query, but if i have the
On Jun 2, 2011, at 12:26 PM, Philip Thompson wrote:
On Thu, Jun 2, 2011 at 12:02 PM, Daniel Brown danbr...@php.net
wrote:
On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
So if I understand, you want an explode() with empty parameters to
explode
the host machine?
? What
happens when you browse to that page manually?
On Jun 1, 2011 2:14 AM, Stephon Chen step...@gmail.com wrote:
All 403, 404, 500.html are static html pages like:
div
500 error happens
/div
On Wed, Jun 1, 2011 at 14:10, Tamara Temple
tamouse.li...@gmail.com wrote:
On May 31, 2011
On Jun 3, 2011, at 3:52 PM, Daevid Vincent wrote:
...actually, I do have some good ones here:
http://daevid.com/content/examples/procmail.php
It appears your browser does not support some of the advanced
features this site requires.
Please use Internet Explorer or Firefox.
ROFL. Good
On Jun 5, 2011, at 12:23 PM, Richard Riley wrote:
Geoff Shang ge...@quitelikely.com writes:
On Sun, 5 Jun 2011, Richard Riley wrote:
I don't. I just don't want them to lock out my browser just
because they don't
support it. Many pages which don't work optimally under Lynx can
still be
I read the recipe on debugging pmwiki functions and such at
http://www.pmwiki.org/wiki/Cookbook/DebuggingForCookbookAuthors
This isn't a PmWiki problem, per se, which is why it's going to both
lists.
I inserted the little sms function into pmwiki.php itself to try out
(PmWiki
On Jun 12, 2011, at 1:46 PM, techloop wrote:
I have a simple code that override some env vars but i need it to
run before
any other php code on every php execution.
Have you looked at http://us.php.net/manual/en/ini.core.php#ini.auto-prepend-file
?
--
PHP General Mailing List
On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote:
On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple tamouse.li...@gmail.com
wrote:
function sms($text,$switch=0){
global $MessagesFmt;
error_log(date(DATE_RFC822). Entered sms. text=$text.
switch=$switch\n,3,/var/log/pmwiki/error.log
On Jun 13, 2011, at 4:05 AM, Richard Quadling wrote:
On 12 June 2011 22:57, Tamara Temple tamouse.li...@gmail.com wrote:
On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote:
On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple tamouse.li...@gmail.com
wrote:
function sms($text,$switch=0
On Jun 13, 2011, at 11:59 AM, Tamara Temple wrote:
On Jun 13, 2011, at 4:05 AM, Richard Quadling wrote:
On 12 June 2011 22:57, Tamara Temple tamouse.li...@gmail.com wrote:
On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote:
On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple tamouse.li
I have date.timezone set, as shown in the phpinfo() output:
portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone'
Default timezone = America/Chicago
date.timezone = 'America/Chicago' = 'America/Chicago'
Yet, when I call a function like strtotime(), i still get the Strict
warning
On Jun 13, 2011, at 4:17 PM, Daniel Brown wrote:
On Mon, Jun 13, 2011 at 16:25, Tamara Temple
tamouse.li...@gmail.com wrote:
I have date.timezone set, as shown in the phpinfo() output:
portfolio:Downloads tamara$ php -r 'phpinfo();' | grep 'timezone'
Default timezone = America/Chicago
On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote:
So, say, they make audiobooks or movies and they want them to be
available as (paid) download. How should they upload it so they
would be in the catalog?
If it's really large data like that, and they have a lot of it, maybe
On Jun 14, 2011, at 1:30 PM, Ashley M. Kirchner wrote:
On 6/14/2011 12:03 PM, Shawn McKenzie wrote:
--or to search for wmax =
if($array = preg_grep('/^ wmax = $/', $output)) {
$wmax = explode(', ', $array[0]);
}
array_shift($wmax);
print_r($wmax);
May need some more error checking.
On Jun 14, 2011, at 3:37 PM, Brian Dunning wrote:
My server has GD but NOT ImageMagick. Can I convert a PDF doc to a
PNG? I have the PDFs stored as a files and I need to save an
identical PNG alongside each.
Could you install a copy of ImageMagick in a user/hosted directory?
--
PHP
On Jun 14, 2011, at 4:42 PM, Richard Quadling wrote:
On 14 June 2011 22:27, Tamara Temple tamouse.li...@gmail.com wrote:
On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote:
So, say, they make audiobooks or movies and they want them
to be
available as (paid) download. How
On Jun 14, 2011, at 5:48 PM, Brian Dunning wrote:
The PDFs are text only (white text on transparent background). I
made them using the FPDF, which was tedious to set up but works
great. I've since learned that I need PNG images, not PDFs. I know
that I could rebuild them using GD, but
On Jun 22, 2011, at 5:24 PM, Scott Baker wrote:
On 06/22/2011 03:17 PM, Simon J Welsh wrote:
You still need to pass the value by reference to assign_children(),
so:
$new = $leaf[$pid];
assign_children($pid,$list,$new);
One last thing I fixed was that PHP was complaining that run-time pass
On Jun 24, 2011, at 6:28 AM, Chris Stinemetz wrote:
So I am trying to keep this simple and just assign the value with the
radio button and then insert it into mysql database, but with the
following code I am getting the mysql error: Unknown column '250kbps'
in 'field list' when I choose the
On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
On 24 June 2011 15:44, Vitalii Demianets vi...@nppfactor.kiev.ua
wrote:
And furthermore, I think Carthage must be destroyed.
Let's haul out the PHP war wagons!
http://xkcd.com/327/
I so wanted to rename my daughter Little Chelsea
On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote:
On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com wrote:
On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
On 24 June 2011 15:44, Vitalii Demianets vi...@nppfactor.kiev.ua
wrote:
And furthermore, I think Carthage must
On Jun 24, 2011, at 1:44 PM, Chris Stinemetz wrote:
radio select validation
What I am doing wrong?
I want to make sure a radio button is selected, but my current code
allows insertion even when radio button isn't selected.
At the risk of repeating myself:
From: Tamara Temple
On Jun 24, 2011, at 2:20 PM, Jim Giner wrote:
Call me backwards, but I prefer to keep my statements simple. I
would first
obtain the POST value before trying to pull up an array element.
$stype=$_POST[''store_type'];
if (!isset($stype))
(handle missing radio button)
else
On Jun 25, 2011, at 3:57 PM, asp kiddy wrote:
SELECT td.id_resultat,td.fld_email_id,email.fld_name_email
FROM $table_db td
JOIN $table_db_email email ON td.fld_email_id = email.id_email
WHERE td.id_resultat = $id
I see two small problems right away:
FROM $table_db td
should read:
FROM
On Jun 25, 2011, at 3:57 PM, asp kiddy wrote:
This code works also but I don't know how I can include this second
query in my menu...
I'm not exactly sure what you want it to do -- perhaps you could mock
up some sample output to show what you're expecting? If you are simply
planning on
On Jun 26, 2011, at 10:34 AM, Ashley Sheridan wrote:
I don't think that MySQL requires the 'AS' in that context, I write
queries like that without the 'AS' all the time.
This is what i get for trying to be coherent on 2 hours sleep
--
PHP General Mailing List (http://www.php.net/)
To
How do I launch a php script from another running php script
asynchronously?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jun 26, 2011, at 11:52 PM, Jim Lucas wrote:
On 6/26/2011 7:58 PM, Jim Giner wrote:
You mean - you want a second thread to run independently of your
current
running script? A wonderful thing to do and helpful for long
intenesive
processes but do you really want to go thru the hassles of
On Jun 27, 2011, at 7:18 AM, Steve Staples wrote:
On Sat, 2011-06-25 at 16:11 -0500, Tamara Temple wrote:
On Jun 24, 2011, at 1:35 PM, Richard Quadling wrote:
On 24 June 2011 18:23, Tamara Temple tamouse.li...@gmail.com
wrote:
On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
On 24
There must some place for this one: http://xkcd.com/231/
Maybe something near the mailing lists info
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jul 2, 2011, at 3:01 AM, Karl DeSaulniers wrote:
Hello All,
Happy pre independence for my American PHPers. And good health to
all others.
Have a quick question..
I have this code I use for the end of line characters used in my
mailers.
[Code]
// Is the OS Windows or Mac or Linux
if
1 - 100 of 200 matches
Mail list logo