Am 2006-10-03 22:39:39, schrieb David Robley:
> You surely don't mean the tracked vehicle that was used to transport the
> missiles? How the #&%@ can you register and drive something like that.
> Boggle!
You go to the TÜV and change the 88 tons to 44 tons and you are
done. It works perfectly in g
Is there anyway to setup a mail delivery with mail() or phpmailer?
I send out a mass mail and some get returned but there is no message who
they are being returned from.
usually you get something like.
"This message was created automatically by mail delivery software.
A message that you s
Hi!
I had a little discussion on a forum topic about static class method and
properties. Somebody there pointed to the PEAR::getStaticProperty()
solution to emulate static properties in PHP4. I was not familiar with
it but its approach seems a little strange for me. It is not really more
than st
Hi!
I had a little discussion on a forum topic about static class method and
properties. Somebody there pointed to the PEAR::getStaticProperty()
solution to emulate static properties in PHP4. I was not familiar with
it but its approach seems a little strange for me. It is not really more
than st
I made it works fine using fsockopen.
Thanks a lot guys.
""João Cândido de Souza Neto"" <[EMAIL PROTECTED]> escreveu na
mensagem news:[EMAIL PROTECTED]
> Hi everybody.
>
> I must to connect a https server by a fsockopen but it seems not working.
>
> I´ve got openssl instaled in my php and wh
At 7:11 PM -0700 10/5/06, Robbert van Andel wrote:
I know it's Unicode because the javascript is encoding it as Unicode (and
it's doing so correctly). I guess the gist of my question is how to do I do
a reverse. How do I take %u2022 and get make that display as the bullet
character?
Robbert:
On Fri, October 6, 2006 6:18 am, Ross wrote:
> Is there anyway to setup a mail delivery with mail() or phpmailer?
>
> I send out a mass mail and some get returned but there is no message
> who
> they are being returned from.
>
> usually you get something like.
>
>
> "This message was created au
On Fri, October 6, 2006 7:22 am, Hodicska Gergely wrote:
> I'm curious about your opinion.
> class base
> {
> function &staticProperty($name, $value = null)
> {
> static $properties = array();
This would be Really Nifty, if PHP allowed
On Thu, October 5, 2006 2:55 pm, Satyam wrote:
> - Original Message -
> From: Martin Alterisio
> To: Satyam
> Cc: Deckard ; php-general@lists.php.net
> You're wrong, partially:
>
> I am sure you could have stated that in a more courteous way.
So, this Argentinian, Italian, and Eu
On Thu, October 5, 2006 5:14 pm, [EMAIL PROTECTED] wrote:
> I have a webpage that allows users to post news stories for their
> department. The site uses AJAX to send the data to the webserver.
> The problem I'm having is when the user uses some unicode characters
> like bullets or MS Word quotes,
I can take ANY number I want, and put %u in front of it...
That don't make it mean anything.
You also need to know the charset it came from to start with, which in
the case of MS Word, is not even a standard charset, but some made-up
proprietary random assemblege of numbers to characters they fou
On Fri, October 6, 2006 8:37 am, tedd wrote:
> At 7:11 PM -0700 10/5/06, Robbert van Andel wrote:
>>I know it's Unicode because the javascript is encoding it as Unicode
>> (and
>>it's doing so correctly). I guess the gist of my question is how to
>> do I do
>>a reverse. How do I take %u2022 and g
On Thu, October 5, 2006 4:43 pm, sit1way wrote:
> I'd like to catch errors and send POST vars to my error display page.
>
> So:
>
> try {
> $r = new query($sql);
>
> if(!$r) {
> throw new Exception($err);
> }
> }
> catch (Exception $e) {
> $this->err_msg = $e->getMessage();
I dunno whose answer you were thinking of...
include_path('.:/var/www/html');
PHP will find it in /var/www/html
My answer was to set include_path correctly, and NOT attempt to hack
up some hard-coded mess in your PHP source.
On Thu, October 5, 2006 4:29 pm, Deckard wrote:
> Hi Richard,
>
> Than
On Thu, October 5, 2006 6:18 pm, John Wells wrote:
> On 10/5/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> include_path is a much more powerful and flexible construct which
>> will
>> save you an inordinate amount of trouble if you just figure out how
>> it
>> works and use it...
>
> Point well t
Hi,
I see now that only when the inclu function "has to scale up in the we
tree", it fails.
For example:
This works:
include_once("classes/database/dBInsert.php");
This don't:
include_once('../adodb/adodb.inc.php');
Any ideas ?
Warm Regards,
Deckard
--
PHP General Mailing List (http://www.p
On Fri, October 6, 2006 11:17 am, Deckard wrote:
> I see now that only when the inclu function "has to scale up in the we
> tree", it fails.
>
> For example:
>
> This works:
> include_once("classes/database/dBInsert.php");
>
> This don't:
> include_once('../adodb/adodb.inc.php');
safe_mode and tha
Deckard wrote:
>
> Hi,
>
> I have this line of code:
> include_once('../config.inc.php');
>
> I'm 100% sure that the file config.inc.php is a directory up.
>
> config.inc.php is in /var/www/html
> and the file that calls it is in
> /var/www/html/classes
>
> nevertheless, i'm getting the err
Hi,
I've already set my include_path to /var/www/html and good :(
Best Regards,
Deckard
Richard Lynch wrote:
> On Fri, October 6, 2006 11:17 am, Deckard wrote:
>> I see now that only when the inclu function "has to scale up in the we
>> tree", it fails.
>>
>> For example:
>>
>> This works:
>> in
if you are using IIS read this:
http://support.microsoft.com/kb/332117/EN-US/
sorry , i overlooked '/var/www/html'
maybe the info is useful for someone else.
--
View this message in context:
http://www.nabble.com/Really--strange-tf2385857.html#a6682765
Sent from the PHP - General mailing
Ave,
code:
$db = dbase_open("osm.dbf", 0);
if ($db) {
$record_numbers = dbase_numrecords($db);
for ($i = 1; $i <= $record_numbers; $i++) {
$row = dbase_get_record_with_names($db, $i);
if ($row['PHONE'] == $thekey) {
echo ³found²;
}
else {
echo ³not found²;
}
Usen this:
echo ³not found²;
break;
""Rahul S. Johari"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
Ave,
code:
$db = dbase_open("osm.dbf", 0);
if ($db) {
$record_numbers = dbase_numrecords($db);
for ($i = 1; $i <= $record_numbers; $i++) {
$row = dbase_ge
At 10:50 AM -0500 10/6/06, Richard Lynch wrote:
On Fri, October 6, 2006 8:37 am, tedd wrote:
> At 7:11 PM -0700 10/5/06, Robbert van Andel wrote:
> How do I take %u2022 and get make that display as the bullet
>character?
> I thought there was a way to use HEX directly, but can't find the
re
Hi gang:
What would be the "best" way to protect images in a directory from
being harvested?
I know that when an image is shown to the user, while there are some
javascript tricks to deter the user, there is no real way to stop the
user from capturing the image, for they already have it.
B
Rahul S. Johari wrote:
> Ave,
>
> code:
>
> $db = dbase_open("osm.dbf", 0);
> if ($db) {
> $record_numbers = dbase_numrecords($db);
> for ($i = 1; $i <= $record_numbers; $i++) {
> $row = dbase_get_record_with_names($db, $i);
> if ($row['PHONE'] == $thekey) {
> echo ³found²;
Just tried, isn't working! It's doing the same thing that exit; does.
Both
else {
echo "Not Found";
break;
}
And
else {
echo "Not Found";
exit;
}
Do the exact same thing. It will print "not found" (because it checks the
first row, and if t
Works like a charm!! I was trying something out with having a variable go
completely out of the functions & loops and print the "not found" message,
but I wasn't hitting it. You did!
// ^^^--- now tested ;)
On 10/6/06 1:52 PM, "Jochem Maas" <[EMAIL PROTECTED]> wrote:
> $msg = 'cannot open data
On 10/6/06, tedd <[EMAIL PROTECTED]> wrote:
Hi gang:
What would be the "best" way to protect images in a directory from
being harvested?
I know that when an image is shown to the user, while there are some
javascript tricks to deter the user, there is no real way to stop the
user from capturing
Why not check if $thekey is in the $db, then else echo not found?
seems all to much to do so little.
On Friday 06 October 2006 18:35, Rahul S. Johari wrote:
> Ave,
>
> code:
>
> $db = dbase_open("osm.dbf", 0);
> if ($db) {
> $record_numbers = dbase_numrecords($db);
> for ($i = 1; $i <= $record
lurkin' around trying to keep images from others, while still have them shown
on yer own page seems a bit futile.
watermark 'em.
other stuff to do is use flash witch I've never done. (due to PPC
restrictions)
I've done some of this auto open/close windowing js, witch also includes
rightclick dis
Well, the actual script doesn't just print "found number" if the number
exists... It displays all the data from the database of that record, also
gives an interactive form to update the data and more.
On 10/6/06 3:25 PM, "Børge Holen" <[EMAIL PROTECTED]> wrote:
> Why not check if $thekey is in
On Friday 06 October 2006 21:45, Rahul S. Johari wrote:
> Well, the actual script doesn't just print "found number" if the number
> exists... It displays all the data from the database of that record, also
> gives an interactive form to update the data and more.
Yes, and my point is still valid. n
I'm not sure if I understand your point then! I have about 80 fields in that
database that are fetched and displayed on the page using this code. If
there's a simpler way to do this, and have it work the if() else() error as
well, I would love to know about it...
On 10/6/06 3:47 PM, "Børge Holen
Hi,
I need to send large files over my website...I was wondering if I could do
this using the PHP FTP Commands. The files will be larger then the
MAX_UPLOAD_SIZE in php.ini.
Is that possible? Or should I use a regular FTP program?
Thank you!
On Fri, October 6, 2006 10:59 am, Hodicska Gergely wrote:
>> This would be Really Nifty, if PHP allowed multiple inheritence so
>> you
>> could have a mixin class...
>>
>> Otherwise, however, you have to have a common base class across all
>> the various class systems in use in your multitude of we
Hello everyone.
I have got some parts of my system where some files are sent and i use ftp
functions to save suche files.
When i run it in my local machine, it works fine but, when it is on the
server i got some errors.
I was using ftp_put to copy such files from upload_temp folder of php to m
On Fri, October 6, 2006 3:32 pm, João Cândido de Souza Neto wrote:
> when it is on
> the
> server i got some errors.
If you tell us what errors, you change the problem from an infinitely
large set of what could go wrong, to a rather small set of what
probably went wrong...
--
Some people have a
In both case the functions just returns false.
""Richard Lynch"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> On Fri, October 6, 2006 3:32 pm, João Cândido de Souza Neto wrote:
>> when it is on
>> the
>> server i got some errors.
>
> If you tell us what errors, you change t
But users of the PEAR solution to staticProperties may or may not want
any other portion of PEAR as well.
But they have the possibility to choose. ;)
So it's only "better" if it suits the needs of the user.
You'd have to ask the PEAR users if it's "better" for them.
1. I sent it here because I
On Fri, October 6, 2006 12:44 pm, tedd wrote:
> What would be the "best" way to protect images in a directory from
> being harvested?
Tell the client that correctly linked and tagged images INCREASE
traffic because the search engines can find them and suck people in,
so hiding them is a Bad Idea.
Hi everyone,
So, I'm trying to receive POSTed data which is being sent from Flash
structured as a nested array pictured (conceptually):
"id" contains (a, b, c)
"a" contains (prop1 => a1, prop2 => a2, ...)
"b" contains (prop1 => b1, prop2 => b2, ...)
"c" contains (prop1 => c1, prop2 => c2, ...)
On Fri, October 6, 2006 12:29 pm, tedd wrote:
> No, that's not what I meant. I know how to convert DEC <-> HEX.
>
> What I was talking about is called a NCRs, or Numeric Character
> References
>
> One could use the Unicode DEC value directly, such as:
>
> •
>
> or the Unicode HEX value directl
Hang on - my php code may be working fine. It might be a problem with my
actionscript code - particularly that the LoadVars object I'm using to send
the data might not be able to take multidimensional data (though it
definitely does not say that *anywhere* in the documentation!!). Stupid
actions
On Fri, October 6, 2006 11:35 am, Rahul S. Johari wrote:
> $db = dbase_open("osm.dbf", 0);
> if ($db) {
> $record_numbers = dbase_numrecords($db);
$found = false;
> for ($i = 1; $i <= $record_numbers; $i++) {
> $row = dbase_get_record_with_names($db, $i);
> if ($row['PHONE'] == $theke
On Fri, October 6, 2006 2:45 pm, Rahul S. Johari wrote:
> Well, the actual script doesn't just print "found number" if the
> number
> exists... It displays all the data from the database of that record,
> also
> gives an interactive form to update the data and more.
None of which is a Good Reason
On Fri, October 6, 2006 2:59 pm, Rahul S. Johari wrote:
> I'm not sure if I understand your point then! I have about 80 fields
> in that
> database that are fetched and displayed on the page using this code.
> If
> there's a simpler way to do this, and have it work the if() else()
> error as
> well
On Fri, October 6, 2006 11:27 am, Deckard wrote:
> I've already set my include_path to /var/www/html and good :(
Then you don't need "../" at all...
Copy paste the exact error message you get, and tell us where the URL
is that starts the problem.
--
Some people have a "gift" link here.
Know wha
On Fri, October 6, 2006 11:26 am, J?rgen Wind wrote:
> if you are using IIS read this:
> http://support.microsoft.com/kb/332117/EN-US/
Only MS would re-title "confusing erroneous non-specific error
messages" as FRIENDLY! :-v
--
Some people have a "gift" link here.
Know what I want?
I want you to
On Fri, October 6, 2006 4:01 pm, Andy Hultgren wrote:
> /*/
> $data = $_POST;
> $stuff = "\n \n Post contains:";
>
> foreach($data as $prop => $val) {
> $stuff .= "\n {$prop}: {$val}";
> }
> /*/
PHP does pretty minimal
Am working on #2 right now...
On 10/6/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Fri, October 6, 2006 4:01 pm, Andy Hultgren wrote:
> /*/
> $data = $_POST;
> $stuff = "\n \n Post contains:";
>
> foreach($data as $prop => $val) {
> $stuff .= "\n {$pr
On Friday 06 October 2006 21:59, Rahul S. Johari wrote:
> I'm not sure if I understand your point then! I have about 80 fields in
> that database that are fetched and displayed on the page using this code.
> If there's a simpler way to do this, and have it work the if() else() error
> as well, I wo
Problem solved: it was indeed that the flash object did not like
multidimensional data.
I didn't change my PHP code one little bit. But I changed my my
ActionScript code to write the data in a 1-dimensional form as follows:
/*/
for(var i in _level0) {
i
52 matches
Mail list logo