Simon Schick hat am 27. April 2012 um 00:47
geschrieben:
> On Thu, Apr 26, 2012 at 3:59 PM, mirrys.net wrote:
> > Thank you for your help Marco & Simon. No doubt, your code is much
> > cleaner and better.
> >
> > One more question, without any filter or something could be my
> > original code
Hello all.
This is more of a MySQL question, but I'm hoping it can be answered here.
On one of my pages, I issue a SQL command to group data as such:
$sql='select count(*) as count, searchkeywords from searchkeywords group by
searchkeywords order by count desc'
Works well... but I would like it
On Thu, Apr 26, 2012 at 3:59 PM, mirrys.net wrote:
> Thank you for your help Marco & Simon. No doubt, your code is much
> cleaner and better.
>
> One more question, without any filter or something could be my
> original code somehow compromised (mean some security bug)? Or rather
> was a major pro
For those of you with FPDF experience.
I've just begun using it and have figured out how it works I think. I am
still having trouble with the bottom of the page tho. Seems that if I get
too close to the bottom margin and my data line exceeds the amount of
available space, my MultiCell element
Thanks. That was it -my last line was null.
- Original Message -
From: "Stuart Dallas"
To: "Jim Giner"
Cc:
Sent: Thursday, April 26, 2012 4:21 PM
Subject: Re: [PHP] undefined offset
On 26 Apr 2012, at 21:20, Jim Giner wrote:
Sorry - can't seem to find anything that explains this
On 26 Apr 2012, at 21:20, Jim Giner wrote:
> Sorry - can't seem to find anything that explains this on google.
>
> I'm using a List command to break out an array into distinct field names. I
> keep getting these errors as I go thru my loop::
>
> Notice: Undefined offset: 10 in (.) on line
Sorry - can't seem to find anything that explains this on google.
I'm using a List command to break out an array into distinct field names. I
keep getting these errors as I go thru my loop::
Notice: Undefined offset: 10 in (.) on line 151
Notice: Undefined offset: 9 in (.) on line 151
N
On Thursday, April 26, 2012, Leandro Dardini wrote:
> Anyone has experienced segmentation fault while reading blob (longblog)
> data from mysql using ODBC?
>
> If not, can you provide me few rows of code to show me how you fetch it?
>
> I am using php 5.3.3 and this code segfaults:
>
> $conn=odbc_
Thanks, this suggestion from Dante completely solved the problem.
Replaced:
readfile('/var/www/mypath/My Cool Image.dmg');
With:
$fd = fopen ('/var/www/mypath/My Cool Image.dmg', "r");
while(!feof($fd)) {
set_time_limit(30);
echo fread($fd, 4096);
flush();
}
fclose ($fd);
It's now
On 26 Apr 2012, at 18:37, Jim Giner wrote:
> I"m no expert, but why would you expose a query to the world thru the use of
> a GET? Why not just collect the params and build the string in your code?
> That is how people hack into your database - via a re-formed query. You're
> giving someone a
I"m no expert, but why would you expose a query to the world thru the use of
a GET? Why not just collect the params and build the string in your code?
That is how people hack into your database - via a re-formed query. You're
giving someone an open invitation.
--
PHP General Mailing List
On 26 April 2012 22:27, Chris Stinemetz wrote:
> Hello list,
>
> I'm trying to pass a query string through $_GET but for some reason
> the array is being split on '&'. How may I avoid this so it stays
> intacted?
>
> user selection portion:
>
> while($storerow = mysql_fetch_assoc($storesresult))
Hello list,
I'm trying to pass a query string through $_GET but for some reason
the array is being split on '&'. How may I avoid this so it stays
intacted?
user selection portion:
while($storerow = mysql_fetch_assoc($storesresult))
echo ''
. $storerow['store_subject'] . ' at ' . date('m-d-Y h:i:
Thank you for your help Marco & Simon. No doubt, your code is much
cleaner and better.
One more question, without any filter or something could be my
original code somehow compromised (mean some security bug)? Or rather
was a major problem in the possibility of a script crash?
On 4/26/12, ma...@b
Anyone has experienced segmentation fault while reading blob (longblog)
data from mysql using ODBC?
If not, can you provide me few rows of code to show me how you fetch it?
I am using php 5.3.3 and this code segfaults:
$conn=odbc_connect("db","","");
$sql="select * from table where id=1";
$res=o
On Thu, Apr 26, 2012 at 2:15 PM, mirrys.net wrote:
> Hi all,
>
> this is more question than real problem (I hope :)). I include this
> script into my pages to log IPs of visitors (they are saved info txt
> file and send to e-mail later):
>
> function getIPadress()
> {
> if (isset($_SERVER["HTTP
"mirrys.net" hat am 26. April 2012 um 14:15
geschrieben:
> Hi all,
>
> this is more question than real problem (I hope :)). I include this
> script into my pages to log IPs of visitors (they are saved info txt
> file and send to e-mail later):
You definitly should. There were some bugs (even i
On Thu, Apr 26, 2012 at 12:07 AM, Yared Hufkens wrote:
>
> Why use an external engine which slows your scripts down to do something
> which can easily be done by PHP itself? PHP is imho the best template engine
> for PHP.
> With PHP 5.4, it became even easier because somestuff()?> can be
> used wi
Nathan Nobbe hat am 26. April 2012 um 06:40
geschrieben:
>
> INSERT TIMESTAMP: 1335414561
> INSERT DATE TIME: 2012-04-26 4:29:21
>
> But then from the interactive interpreter on the same box (same php.ini
as
> well):
>
> php > echo date("Y-m-d G:i:s", 1335414561);
> 2012-04-25 22:29:21
>
> I g
19 matches
Mail list logo