tumped.
Tia,
Andre
FYI: did you know that your computer thinks it is in the future?
You need to check your date settings...
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by
Jay Ess wrote:
> hessi...@hessiess.com wrote:
>> I have some code which will loop over the whole $_POST array, runs it
>> through mysql_real_escape_string and then writes it all back to the array
>> again, which seams to work. Are there any incompatibility problems or
>> such
>> like with writing i
Ashley Sheridan wrote:
> On Fri, 2009-10-16 at 08:34 -0700, bruce wrote:
>
>> Hi.
>>
>> I've got a situation where I have a couple of tables. The relationship
>> between the tables is one of parent/child. I'm trying to figure out the best
>> approach to being able to delete the associated children
Dotan Cohen wrote:
> How would you read this out loud if you were to read it to someone
> over the phone?
>
> ($item->getServiceId() ? $item->getServiceId() : $item->getId(;
>
> Thanks!
>
FATAL ERROR: Non matching parenthesis.
Ok, but really, I would say something along these lines:
Op
url - so I guess that option is out.
>
> Q: what is the best way to create / display line graphs in with PHP?
>
> Thanks in advance for your help - dave
>
>
>
>
> Thanks,
> c...@hosting4days.com
>
>
>
>
>
>
I would recommend http://www.rg
c...@hosting4days.com wrote:
> Jim Lucas wrote:
>
>>
>> I would recommend http://www.rgraph.net/
>>
>> It was written and is currently maintained by a member of this list.
>>
>> Jim Lucas
>>
>
> Hi Jim,
>
> rgraph looks cool... most de
Marshall Burns wrote:
> I am developing a crawler. It has worked fine throughout testing until this
> morning, when suddenly it started yielding an access violation error. I have
> not been able to find any explanation of this. I've reduced the script to
> the following test code:
>
>
And what are you planning on doing with
the output?
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
en it has to be.
All you need is to replicate the escaping of the same characters that
mysql_real_escape_string() escapes. Simply do that. They are listed on the
functions manual page on php.net
http://php.net/mysql_real_escape_string
Here is a function that I mocked up really quick.
I have n
Jim Lucas wrote:
> Dotan Cohen wrote:
>> 2009/10/19 Kim Madsen :
>>> Dotan Cohen wrote on 2009-10-18 21:21:
>>>
>>>> I thought that one could not test if a database connection is
>>>> established or not, this is the most relevant thi
vented because
addslashes() is not adequate.
If you look a little closer, you will see that I am not using addslashes(). Rather, I am using
addcslashes(). This allows to specify the characters that I want escaped, instead of the default
assumed characters from addslashes().
--
Jim L
Jim Lucas wrote:
> Dotan Cohen wrote:
>>> So, actually taking a minute to read up on addcslashes(), it is a
>>> rather handy
>>> little function.
>>>
>>> Taking the list of characters that mysql_real_escape_string() says it
>>> esc
Dotan Cohen wrote:
>> If you look a little closer, you will see that I am not using addslashes().
>> Rather, I am using addcslashes(). This allows to specify the characters
>> that I want escaped, instead of the default assumed characters from
>> addslashes().
>>
>
> I do not know which characte
Robert Cummings wrote:
>
> Marshall Burns wrote:
>> I have a script that downloads a sequence of files online. Every hundred
>> files or so, it fails with:
>
> Check for the return value being equal to false:
>
>
> if( ($sFil = file_get_contents( $sURL )) === false )
> {
> // F
Brad Fuller wrote:
> I'm looking for a regular expression to accomplish a specific task.
>
> I'm hoping someone who's really good at regex patterns can lend a quick hand.
>
> I need a regex pattern that will grab URLs out of HTML that have a
> certain link text. (i.e. the word "Continue")
>
> Th
Thanks,
Ash
http://www.ashleysheridan.co.uk
foreach works with array and instances.
Unless the class implements Transversable, it's public properties are
used on the loop.
foreach($object as $prop => $value )
//php translates t
MEM wrote:
> Thank you all.
>
> Ok. Please stay with me, cause I still have some doubts.
> Not only do I need to display the subitems on click but also, when the user
> clicks on one menu item, I need to change the URI as well.
> Why? Because, each time the user clicks on a menu item (whateaver
Ashley Sheridan wrote:
> On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
>
>> On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
>> wrote:
>>> I have no doubt that this is due to an update that was done on my system at
>>> some point, but unfortunately I can't pinpoint where. The upshot is t
Nick Cooper wrote:
> Hi,
>
> I was just wondering what the difference/advantage of these two
> methods of writing a string are:
>
> 1) $string = "foo{$bar}";
>
> 2) $string = 'foo'.$bar;
>
> I always use method 2 but have been noticing method 1 more and more in
> source code. Is this just user
Nick Cooper wrote:
> 2009/10/28 Jim Lucas:
>> Nick Cooper wrote:
>>> Hi,
>>>
>>> I was just wondering what the difference/advantage of these two
>>> methods of writing a string are:
>>>
>>> 1) $string = "foo{$bar}";
>
tedd wrote:
> At 2:48 PM -0400 10/28/09, Robert Cummings wrote:
>> Bob McConnell wrote:
>>> From: tedd
>>>
I found the problem, which basically was that I had declared a
variable in a preceding script with the same name, namely $user_id.
When I changed my script to $u_id, everyt
Red wrote:
> hello, im not a php developer, i just need to rewrite one php file but having
> problem with understanding syntax of regexp in php.
>
> i need to get domain name from fqdn (for example from $_SERVER['HTTP_HOST'] )
>
> in sed its working well with "s/[^.]*\.//" , but preg_replace beh
Andrew Ballard wrote:
> I want to store the name of the computer that is executing a script in
> some log tables. (Our servers are load balanced, and I'd like to be
> able to determine which physical machine is serving each request.)
>
> On my development machine (Windows PC running the debugger i
Kim Madsen wrote:
> Hey
>
> I'm working on creating excel sheets from these classes:
>
> http://articles.sitepoint.com/article/pear-spreadsheet_excel_writer/3
>
> http://pear.php.net/package/Spreadsheet_Excel_Writer/download/
>
> Does anyone know how to create a combo box from PHP with these (o
sono...@fannullone.us wrote:
> I think I've solved a problem that I had posted back in September.
> Here's a recap:
>
> ==
> I need to grab a dollar amount from a text field in a MySQL db that
> can contain more information than just the price. Here are 4 examples
> o
\n
But, with all that said. Here is the code a little further broken out.
1 ) {
$dirty_price = $parts[(count($parts)-1)];
} else {
$dirty_price = $parts[0];
}
$clean_price = number_format($dirty_price, 2);
?>
Any idea why PHP_EOL didn't work? If I could get it to work, I
could remo
th(get_include_path() . PATH_SEPARATOR . $basePath);
# Well, it is what it is
$filename = "{$basePath}/php/Mail.php";
# Check to see if file exists and is readable BEFORE you try including it
if ( is_file($filename) && is_readable($filename) ) {
require_once $fil
ct DB settings, and have it connect
to the DB. If that doesn't work, try using a command line utility that came with your mysql
installation.
Jim Lucas
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them.&qu
ode() on a given string. My guess is that json_decode()
set an internal variable that json_last_error() picks up and returns.
Without having json_decode() say what the problem was/is then you can never
recreate the json_last_error() function.
Jim Lucas
--
PHP General Mailing List (http://www.
Lester Caine wrote:
>
> I often find that it's quicker to ask - because invariably the answer
> presents itself the second you hit send ;)
>
Isn't that the truth!
Jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Because you are trying to look for a file or folder called test in the "C:/Program Files/Apache
Software Foundation/Apache2.2/test" directory.
Jim
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Ashley Sheridan wrote:
> On Thu, 2010-01-07 at 08:32 -0500, Rick Dwyer wrote:
>
>> Thanks Ashley & Nathan.
>>
>> As it turns out, there is more than one "tmp" folder... and I was
>> looking in the wrong one. When I SSH'd in the correct one, I created
>> the missing file and it began to work p
he second included the first, it would
still have the same results.
Simple test:
CONTENTS
EOF
No, as is, this will return 'No'. But if you place /ANY/ character between the
?>
\n. But, you better make sure that nothing else is there along with it.
J
Richard Lynch wrote:
> The subject line says it all:
>
> mysql_real_escape_string(0x) yields -1
>
> What's up with that?
>
> Is there some way to convince mysql_real_escape_string to use BIGINT?
>
> I guess I'll just PCRE for digits and then pass it in and...
>
> But what if somebody p
/clk.atdmt.com/GBL/go/196390709/direct/01/
How about showing a little of the insert code. ie: how you are gathering the
data, how you are preping the data, and the actual insert statement.
--
Jim Lucas
NOC Manager
541-323-9113
BendTel, Inc.
http://www.bendtel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s presentation. Jump to slide 11.
>
> http://www.phpclasses.org/browse/video/3/package/9.html
>
> If you want to use this solution, the MIME message package has a driver
> class for queueing messages in Exchange pickup queue directory . Take a
> look at the test_pickup_message.php example script.
>
>
> http://www.phpclasses.org/mimemessage
>
>
--
Jim Lucas
NOC Manager
541-323-9113
BendTel, Inc.
http://www.bendtel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
evaluated at compile time and must not depend on run-time
information in order to be evaluated.
[/quote]
Basically, anything that requires the concatenation of string parts or usage of variables is not
allowed.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
ial to JOE. Pffft. Real men use Vim. And Emacs is for
Martians with ten fingers on each hand.
I use mg on OpenBSD. Somewhat the same as Emacs. Just a simplified version of
it.
And yeah, for what it's worth, I've been running Linux since 1996.
And yeah, cats are smarter than dogs.
Fla
ISTS `wine` (
`wineid` int(11) NOT NULL auto_increment,
`barcode2` int(11) NOT NULL,
PRIMARY KEY (`wineid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin AUTO_INCREMENT=4 ;
INSERT INTO `wine` (`wineid`, `barcode2`) VALUES
(1, 5),
(2, -5),
(3, 10);
--
Jim Lucas
A: Maybe beca
dex.htm, index.html, or index.php
Basically, with PHP, you need to make sure that anything you include is actually
in your include path. Check that and let us know what you find.
--
Jim Lucas
NOC Manager
541-323-9113
BendTel, Inc.
http://www.bendtel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are limited.
>
>
>
Might I ask, how are the multiple slashes getting generated in the first place?
Where is the data coming from?
Next question would be: Do you want to completely remove all instances of
multiple backslashes? Or, do you want to replace all instances of multiple
backsla
max_array_depth($row);
}
$cur_depth--;
}
}
max_array_depth($in);
echo "Max depth of array is: {$max_depth}";
?>
http://www.cmsws.com/examples/php/testscripts/dae...@daevid.com/0002.php
--
Jim Lucas
NOC Manager
541-323-9113
BendTel, Inc.
http://www.bendtel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$tonames = (is_array($tonames) ? $tonames : array($tonames) );
$toemails = (is_array($toemails) ? $toemails : array($toemails));
--
Jim Lucas
NOC Manager
541-323-9113
BendTel, Inc.
http://www.bendtel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
] => 311
>
> [letter] => -
>
> [2] => -
>
> )
>
> Array
>
> (
>
> )
>
> However that's as far as it goes. For the other number it returns an empty
> array and I know why, the decimal point. Now I can evaluate each $item
impact on the size of the file, and all the while it's
>> very easy to read. If you've accidentally missed out a closing brace
>> you'll spot it immediately.
>>
>> It's called the Allman style and has another advantage. Consider:
>
> While we all love Ash, he is a blasphemer, as he argues against the One
> True Style, which is K&R. (Please forgive him, Lords Kernighan and
> Richie). ;-}
>
> In the OP's case, his error was syntax (a condition after an else
> clause). But I don't know that even a syntax-highlighting editor would
> have caught his error.
>
> Paul
>
The syntax highlighters that I use didn't recognize it as a problem. They
styled it right up...
--
Jim Lucas
NOC Manager
541-323-9113
BendTel, Inc.
http://www.bendtel.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s one and
thought it was very informative.
http://devzone.zend.com/article/4497-The-ZendCon-Sessions-Episode-17-SQL-Query-Tuning-The-Legend-of-Drunken-Query-Master
It is pretty long, but it contains a lot of good information.
Listen the part about how many records you can contain in memor
27;test')or die('Error
>> connecting to
>> MySQL server');
>>
>> $query="INSERT INTO name(fname, lname)"."VALUES('$fname','$lname')";
>>
>> $result=mysqli_query($dbc, $query)
>> or die('Error querying dat
too. This is achieved by having two separate
tables to hold the data. It is a 1 to nth relationship.
PS: Gary, fix your mail server. It is telling me that you don't exist.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness th
rport security doesn't allow them to use
their terminals to run
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
named "nobody"] and permissions 755.
>
> Is there any way the files could have been written other than by ftp
> access or at the host root level? Clearly a php script couldn't.
>
> Thanks, Al..
>
What version of Apache/PHP is it running?
--
Jim Lucas
entler.de/tools/filemanager/
Put it in a password protected area on your server and you have it made.
It comes with syntax highlighting that has worked for me so far.
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because i
host Recon, etc.).
My gamer tag is "special tedd"
What's your game?
Cheers,
tedd
Battlefield 2142 Call Sign: ChefLord
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order
understand the basics of these two sections,
present some code that you think does the trick and we can give you advice.
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally
ne files for us.
Might try something similar. It would be a lot safer then giving root access
via PHP... :)
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespear
echo "Some Error Occured While Inserting Records";
}
}
}
}
}
mysqli_close($batchconnection);
}
?>
__ Information from ESET Smart Security, version of virus signature
database 5076 (20100430) __
The message was checked by ESET Smart Security.
htt
sing? Is it Apache, lighttpd, php daemon, etc?
If it is anything but directly talking to a php daemon, you must take into
consideration that the parent web server does not hand off processing to PHP
until it has received the entire file. At this point is when your timer script
starts workin
"i" in team."
I'm pretty sure the ones who helped me figure this one out will find
the humor in that one. :-)
Maybe no 'i' but there's "me", "met", "meat", "eat", "at", and "am" :)
Cheers,
Rob.
+ mat
[0] => 261
)
[EGYPT] => Array
(
[0] => 53
)
[INDIA] => Array
(
[0] => 62
[1] => 50
)
)
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatnes
Paul Halliday wrote:
> On Tue, May 11, 2010 at 2:25 PM, Jim Lucas wrote:
>> Paul Halliday wrote:
>>> I have this:
>>>
>>> while ($row = mysql_fetch_array($theData[0])) {
>>>
>>> $col1[] = $row[0];
>>> $col2[] = lookup($row[
;
>
> Post a regex and what you think it should match but doesn't.
>
>
Again...
Why don't you show us an example of what it is you are trying to match this
against. Then, after that example, show us what you would like to see as the
output.
Then, send us a copy
.$eol;
$msg .= "Content-Transfer-Encoding: 8bit".$eol;
$msg .= "This is a multi-part message in MIME format.".$eol;
$msg .= "If you are reading this, please update your
email-reading-software.".$eol;
$msg .= "+ + Text Only + +".$eol.$eol;
# Finished
$msg .
text-align: left;
}
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
PHP General Mailing List (htt
'',
);
# Original String
echo $text."\n";
# After regex is applied
echo preg_replace($regex, $replacements, $text)."\n";
# After plain tag replacement happens
echo str_replace($oldtags, $replacements, $text)."\n";
?>
See if that works for you.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Al wrote:
>
>
> On 5/20/2010 11:23 AM, David Otton wrote:
>> On 20 May 2010 15:52, Al wrote:
>>
>>> I agree blacklisting is a flawed approach in general. My approach is to
>>> strictly confine entry text to a whitelist of benign, acceptable
>>> tags. The
>>
>> But that's not what you've done. Yo
epending on what version of apache you are running, you need to make sure that
you are loading the pgsql.so file or have the psql.ini file in your
/var/www/conf/php5/ directory.
This way it knows to load pg.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
an
er msg which says to
> contact tech support with a link.
>
>
>
Do you actually "show them" the error. That would give away your mystical
powers of detection... :)
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have gre
ysql from php
3. prepare the SQL query
4. executing said query
5. collecting/displaying the results of executed query
As you can see, you gave us step 3. The problem could be in any of the
other setups.
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get
t be doing? (Happened to me once...)
Are you accessing the files via http://localhost/... ?? or as a local file?
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read
they are all at home.
>
> :)
>
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
PHP General Mailing
Sam Smith wrote:
> Can someone briefly point me to the functions I'll need to parse some
> information from thousands of files in a single directory and then
> prepare the extracted info into a single file for SQL import?
>
> Like file() or readfile() and some regex and writefile??
>
> Thanks
>
rocessing
script that processes said form. Change all the forms to use a single
processing script and then you won't have such a big problem tracking down the
"information processing error/insecurity" that you are having.
--
Jim Lucas
A: Maybe because some people are too annoyed by to
Roberts suggestion. Please go back and re-read his
message. Once you understand what information will be sent to you, you will
realize by implementing this technique that you will be given all the
information you need to identify the source of the problem. Then, hopefully you
will also get the
$year1 = (int)$_POST['year1'];
$date_value1= "{$year1}-{$month1}-{$day1}";
#if ( !checkdate($month1, $day1, $year1) )
if ( ($date_value1_ts = strtotime($date_value1) ) === FALSE )
{
echo "Invalid Date.\n";
} els
OR, __DIR__);
> $web_root = '/' . implode('/', array_diff($cwd, $root));
> echo $web_root;
> ?>
>
> maybe there is a function for that :D:D:D
>
> Br
> Tanel
>
>
>
If I understand what you are asking for, I think this will work.
-
Tanel Tammik wrote:
> "Jim Lucas" wrote in message
> news:4c0e99d9.20...@cmsws.com...
>> Tanel Tammik wrote:
>>> Hi,
>>>
>>> i like to find the web root where the current file is. is there a better
>>> solution? it must work both o
Jim Lucas wrote:
> Tanel Tammik wrote:
>> "Jim Lucas" wrote in message
>> news:4c0e99d9.20...@cmsws.com...
>>> Tanel Tammik wrote:
>>>> Hi,
>>>>
>>>> i like to find the web root where the current file is. is there a
mrfroasty wrote:
>
> //NOTHING!!!//
>
Well Mr. Froasty, was there a point to your email or do you always send empty
emails with random files attached to them to list the list? Was their suppose
to be a question along with that email? You simply forgot to add it?
--
Jim Lucas
A: Mayb
y is referenced, foreach operates on a copy of the
specified array and not the array itself. foreach has some side effects
on the array pointer. Don't rely on the array pointer during or after
the foreach without resetting it.
--
Jim Lucas
A: Maybe because some people are too annoyed by top-
lue is ignored in PHP 5.3 unless php is compiled with
--enable-zend-multibyte.
[/quote]
Also, doesn't look like you are using the "register_tick_function()" function.
Is it required? Not sure, but their examples show its usage.
--
Jim Lucas
A: Maybe because some people are too annoyed by
ne 73
>
>
> The relevant lines are :
>
put a var_dump($thumbarray); right here and see what $thumbarray is
>
> 72 reset($thumbsarray);
>
> 73 while (list($key, $value) = each($thumbsarray)) {
>
> The site is at www.aadf.co.uk and select 'News'.
>
> Is
>> -
>> Richard Quadling
>> "Standing on the shoulders of some very clever giants!"
>> EE : http://www.experts-exchange.com/M_248814.html
>> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
>> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND0024
e. The problem is more
the likely the calls to include a remote file. Basically, to expand your
variables out, you would be doing this:
include ( 'http://localhost/~user/new_project/sql/sql_dflts.inc' ) ;
include ( 'http://localhost/~user/new_project/fnc/fnc_include_dir.inc' ) ;
ialization, if there is not really
> anything that should be changed, then I will leave it like it is.
>
> Just one more thing, should I always expand the URL's to an absolute path
> instead of using a session variable like I do?
>
> Thnks again guys
>
> Danny
>
#x27;];
With that said, going back to your issue, you would do this:
if ( $_REQUEST['painDesc'] && count($_REQUEST['painDesc']) ) {
foreach($_REQUEST['painDesc'] as $key => $val) {
echo "{$key}:{$val}";
}
}
--
Jim Lucas
A: Maybe because some people ar
at said, it will be much slower. It
has to detect what type of object it is and then deal with all the pieces. And
then in the end, output everything to the screen.
--
Jim Lucas
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Becaus
can
> find it in the archives again?
>
David,
Daniel Brown wrote a weekly summary stats app that scanned his email account and
totaled the number of lines of code someone wrote in their email sent to the
mailing list. It might worth while to ask him for this code detection
method(s).
click on the city, the list blinks and then deletes the contents of
the state and zip code dropdown menus.
System: Windows XP SP3 + FF v3.5.3 w/Firebug
Checking with my Opera 9.24 install, seems to do something similar. Timer is
very fast and it doesn't allow for me to click on anything.
Floyd Resler wrote:
> On Jul 9, 2010, at 1:58 PM, Jim Lucas wrote:
>
>> Paul M Foster wrote:
>>> On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote:
>>>
>>>
>>>
>>>
>>>> Here's an example of my copy working:
>>&g
e latin1_bin NOT NULL,
PRIMARY KEY (`Product_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin AUTO_INCREMENT=5 ;
INSERT INTO `products` (`Product_ID`, `Product_Name`) VALUES
(1, 'Product A'),(2, 'Product B'),(3, 'Product C'),(4, 'Product D'
"archivo"]["name"];
> $field = $_FILES["archivo[]"]["name"];
>
> i dont know how to validate it, any help would be appreciated.
>
> Thanks,
>
To see what is happening, look at the output of print_r($_FILES);
But, you should be doing it like th
Admin it gives me a blob result, but when you run it
from the CLI it will return the correct thing.
>
> Blessed Be
>
> Phillip
>
> If you try to protect idiots from themselves, even if you succeed, you just
> wind up filling the world with idiots.
>- - Doug Casey
>
Jim Lucas wrote:
> Phillip Baker wrote:
>> Thanks Jim,
>>
>> This outputs 2 results.
>> Is there a way to get the one result set per product regardless of the
>> number of categories associated with the product, yet displaying all the
>> categories asso
hat the value is.
And, if my suspicion is correct it is going to be because when you stripslashes
and then try and decode it, it breaks because the escaped characters are not
longer escaped.
My suggestion would be to UTF*_encode() each piece of data before you stuff it
into your json string. Then
t the php binary is not in my
path.
run this
echo passthru('which php');
Also, modify your existing exec() command to the following and it will capture
errors too.
exec('php b.php > output.txt 2>&1 &');
After running this is when I noticed it say "sh: ph
l the
duplicates and left one instance of the multiple entry values.
This will add a permanent unique restraint to the table. So, you will
never have dupps again.
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling wrote:
Hi.
Quick set of eyes needed to see what I've done wrong...
The following is a reduced example ...
The output is an empty array.
Examining $GLOBALS, I end up with an entries ...
[Set] => Array
(
)
[Entry] => Set[1]
[Value] => Assigned
tedd wrote:
At 12:15 AM +0200 8/29/10, Peter Lind wrote:
On 28 August 2010 23:45, tedd wrote:
> So, I'm trying to figure out a compliment to
$_SERVER['SERVER_NAME'] such as
something like $_SERVER['REMOTE_NAME'].
> Is there such a beast?
You're not making any sense. For the script on y
Per Jessen wrote:
tedd wrote:
Hi gangl:
I realize that the problem stated herein has been solved by others,
so I'm not claiming I've done anything new -- it's only new to me. It
was a learning experience for *me* and my solution may help others.
In any event, I've finished creating a method f
lthough it isn't
required, should be encoded and conversely will be decoded by the client.
So, not to say that you are wrong, but I would suggest that it might be
better to explain that the example you suggested should have been
written in the following way instead.
The >
Operato
Paul Halliday wrote:
> I think I just might be missing the logic here.
>
> I have a page that is created and within this page, I include an
> iframe like this:
>
> $qp = urlencode("$when $wFilter $aFilter");
> echo "\r 12px;\">
> \r src=\"edv.php?qp=$qp\" width=100% height=1000 framebor
601 - 700 of 1699 matches
Mail list logo