-Hatem
- Original Message -
From: "Whitehawk Stormchaser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 11:15 PM
Subject: [PHP] math in PHP
> Hi!
> I have been trying to make some sort of calculator in PHP, but I have
stumbled
> on a problem... I have
Greetings, it's from PHP.net :
Parse error: parse error, expecting `')'' in
/local/Web/sites/phpweb/include/layout.inc on line 29
Fatal error: Call to undefined function: make_image() in
/local/Web/sites/phpweb/index.php on line 117
Regards,
Hatem
--
PHP General Mailing List (http://www.php.n
Hey all,
just to inform u that the choice for baccalaureat 2003 website in tunisia was PHP and
redhat (www.bac.tn)
http://193.95.69.17/
the 1st year it was using oracle, windows, then windows 2000 in load balancing and now
redhat linux !!
this is what i call the good choice ;)
Cheers,
Hat
Hey all,
I have one corrupted image in a list of thoughsand of images, and the program stop
with this message
Corrupt JPEG data: bad huffman code
Any idea to ignore this image and continue ? i cannot detect which image is corrupted
and imagecreatefromjpeg return true
thank you,
Hatem
Well, it's finally working, but still very confusing ... thanks all
Regards,
Hatem
- Original Message -
From: "Hatem Ben" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Marek Kilimajer" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 4:
It's not working also
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 5:23 PM
Subject: Re: [PHP] Vars inside an sql query [Regular expr
I'm asking again the same question, coz i guess my question wasn't clear.
i just need to retreive vars inside query.txt, my regular expression seems to be
correct for me, but i don't find why it doesn't wrk
-- Starting query.txt
select * FROM `table` where id='$value' order by name
-- E
I agree with you Jay, but those cases are already done, and i got no problem
with RE there
Thanks anyway
Hatem
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Monu Ogbe" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 3:17 PM
Subject: RE: [PHP]
Sorry this is more correct :
-- starting query.php
select * FROM `table` where id='$value' order by name
-- ending query.php
"Hatem Ben" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Oh, ok this is how i want to do it exact
Oh, ok this is how i want to do it exactly :
query.php
parse.php
Thanks
"Chris Hayes" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> At 13:54 12-6-03, you wrote:
> >>I got a headache doing this, i need to get vars inside an sql query. For
> >
Greetings all,
I got a headache doing this, i need to get vars inside an sql query. For example :
$query = "select * FROM `table` where id='$value' order by name";
preg_match_all("/^('\$(.*)')/si", $query,$matches);
any help plz ?
Thanks,
Hatem
hehe and the good news, ppl don't have to upgrade to the latest PHP 2.0.2
... coz the php 2.0.1 don't seems to be seriously buggy ;-)
Cheers,
Hatem
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: T
Greetings all,
Can someone tell me where is the limitation on the number/size of cookies
that could be used ?
Assuming we have :
This is what php return :
Array
(
[DX_A] => Array
(
[4] => e
[5] => e
[6] => e
[7] => e
[8] =>
http://sourceforge.net/projects/phpmimeclass
"Jonathan Chum" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I'm looking through Google for MIME decoding classes, one developed by
> Richard Heyes used in Pear and a few others. What I'm curious is how
> complete are these
Warning: Access denied for user: 'root@localhost' (Using password: YES) in
/home/sascha/www/docs/freecon/includes/global.inc.php on line 8
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost'
(Using password: YES) in
/home/sascha/www/docs/freecon/includes/global.inc.php on li
I know it also, still related with php-gtk. Thanks anyway
Hatem
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>; "Marek Kilimajer"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
nop, not the php-gtk , but something that can create binary executable code
from any php script.
> Do you mean gtk.php.net?
>
> Hatem Ben wrote:
>
> >heya all,
> >
> >I remember that some developers started a project to create stand-alone
> >application from
heya all,
I remember that some developers started a project to create stand-alone
application from php script, can someone guide me to find it again ? I
haven't found any url talking about it.
Regards,
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Assuming you have
class WebPage {
var $property1;
function get_property1()
{
return $this->$property1;
}
}
class Sample extends WebPage{
}
To access $property1 from your WebPage class just do
$page = new Sample;
$prop1 = $page->get_property1();
Otherwise try to send a snip
it's
really boring without good docs
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Hatem Ben'" <[EMAIL PROTECTED]>; "'PHP List'"
<[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 2:28 PM
Subj
I have find this code very helpfull :
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Hatem Ben'" <[EMAIL PROTECTED]>; "'PHP List'"
<[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 2:28
Heya all,
I'm trying to highlight search keywords in a string, everything work expect
when this keyword is inside a tag like this :
keyword (php) :
php
will be highlighted to :
php">php
php.gif"
border=0 alt="php.net">
I have tryed to separate text from html, then highlight it then join
ht
> >It's not censorship
> >
> >they are economising by using a proxy server
> >
> >and using one that gives unhelpful error messages
> >
> >BTW - they in this case are the people providing you with your
> >connection (not the web hosting company)
> >
> >they are not blocking the site
> >
> >but whe
Sorry I've just removed the file.
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 12:55 AM
Subject: Re: [PHP] how could a php script return a
- Original Message -
From: "Michael J. Pawlowsky" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 11:20 PM
Subject: Re: [PHP] how could a php script return a dns error ?
> The prob
- Original Message -
From: "Sean Burlington" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 9:24 PM
Subject: Re: [PHP] how could a php script return a dns error ?
> Hatem Ben wrote:
>
> >
> > This is what i g
echo "server dynamix-tn.com not available!: $errno :
$errstr";
} else {
echo "server dynamix-tn.com is available!: $errno :
$errstr";
}
and run it from here, it return server not available.
- Original Message -
From: Leif K-Brooks
To: Hatem Ben
Cc: [EMAIL
it's not an IE specefic :)) netscape or opera or whatever will return the
same error message.
- Original Message -
From: "Paul Reed" <[EMAIL PROTECTED]>
To: "'Hatem Ben'" <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 10:19 PM
Subject
> I don't get a dns error on this
>
> I get - 'zero sized reply'
>
> > can someone explain me this ?
> > Is this caused by server configuration or something else ?
>
> I would say that a php error cannot directly cause dns problems - so the
> error message may be wrong ! (what is generating the mes
Hello all,
I got a strange problem, a wrong php script was upladed in my hosting server and make
my website return a dns error ! i've discoverd after one day that my index.php was a
wrong one ! normally it should return another error related to script not to dns ! can
someone explain me this ?
$url = "http://myserver.com";;
$sockhandle = @fsockopen($url, 80, &$errno, &$errstr);
if(!$sockhandle) {
$mes = "server $url not available!";
$result = "$mes";
return $result;
} else {
$request = "GET / HTTP/1.1\r\n";
$request .= "User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
98)\r\n";
$r
Welcome to the new world ;)
before clicking or asking start reading what is PHP (http://www.php.net),
and in what it could be usefull.
then you can getting started here :
http://www.php.net/manual/en/tutorial.php
- Original Message -
From: "Ted Frank" <[EMAIL PROTECTED]>
To: <[EMAIL PROT
check this, it could help :
http://www.phpclasses.org/browse.html/class/42.html
Hatem
- Original Message -
From: "Derick Rethans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 4:26 PM
Subject: [PHP] Re: How to create zip files in PHP ?
> Php User wrote:
>
Sorry for the last email (i wasn't looking to highjack any thread :( very sorry guys !)
- Original Message -
From: "Hatem Ben" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 2:06 PM
Subject: [PHP] Huffman enc
Hey all
I'm looking to implement the huffman encoding in PHP, but i would like to
ask if it isn't already done ? (why reinventing the wheel)
Thx
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
What you need is :
1- parse your query and make it boolean
"apple orange" become "apple and orange" and so on
2- then you can generate a MySQL query based on that like this way
---
SELECT id, field1
match (field1) against (' apple orange ') as relevance
FROM hospitality
WHERE
It wrks okay here; I guess i'm keeping register_global= On in php.ini !
Try debuging your sample using get_declared_classes and you'll find what
you're missing
class overall {
var $loaded;
function load($class){
eval ("global \$$class;");
eval("\$$class = new $class;");
print_r(get_declared_
just change make your new class global :
class overall {
var $loaded;
function load($class){
eval ("global \$$class;");
eval("\$$class = new $class;");
return true;
}
}
then you can call it using
$overall = new overall;
$overall->load('foo');
// This should work now ;).
$foo->foo();
H
time it
return a fresh information, just use the suitable server.
PS : send your emails to [EMAIL PROTECTED] :)))
Hatem
- Original Message -
From: "Chandu Nannapaneni" <[EMAIL PROTECTED]>
To: "Hatem Ben" <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002
this is what the whois server return exactly for Google (using
whois.internic.net):
Whois Server Version 1.3
Domain names in the .com, .net, and .org domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
GOOGLE.COM.IS.THE.
hey all
I'm using xslt_process(), and noticed that it add a meta just after the
:
Where can i change it, or desactivate it ?
thanks
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
why PHP don't return a parse error here ?
case "browse" :
$text = $myobject->browse();;;
// some codes ...
break;
i guess syntax isn't correct or what do you think ?!
Best regards
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
hello,
Check the PHP-DB archives you'll find a code for the upload, and this one
for viewing image :
Hope this will help
Hatem
"Darren McPhee" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I have spent the last 3 days trying to figure this out. And will probably
> g
43 matches
Mail list logo