Adil Drissi wrote:
> Well, i'm doing all that. Maybe something is wrong in
> my code. I'll arrange my code in a way that it will be
> easy to run and i'll post it. I think like that,
> you'll see by yourself and you gonna help to fix that
> for sure.
>
> Thank you
> --- Shawn McKenzie <[EMAIL PROT
Well, i'm doing all that. Maybe something is wrong in
my code. I'll arrange my code in a way that it will be
easy to run and i'll post it. I think like that,
you'll see by yourself and you gonna help to fix that
for sure.
Thank you
--- Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Adil Drissi wrote
Petrus Bastos wrote:
> Chris,
>
> Thanks for your help, but I think that package can't make what I want.
> But , I appreciate your help anyway and if you have any other ideas, please
> let me know! :)
>
> Thanks,
> Petrus Bastos.
>
> On Feb 17, 2008 10:38 PM, Chris <[EMAIL PROTECTED]> wrote:
>
Chris,
Thanks for your help, but I think that package can't make what I want.
But , I appreciate your help anyway and if you have any other ideas, please
let me know! :)
Thanks,
Petrus Bastos.
On Feb 17, 2008 10:38 PM, Chris <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Unfortunatel
On Feb 17, 2008 3:49 PM, Larry Garfield <[EMAIL PROTECTED]> wrote:
> On Thursday 14 February 2008, Richard Lynch wrote:
> > On Sun, February 10, 2008 9:31 am, Jochem Maas wrote:
> > > Larry Garfield schreef:
> > >> http://www.php.net/pdo
> > >>
> > >> All the cool kids are doing it.
> > >
> > > no
Petrus Bastos wrote:
Unfortunately I don't have access to this family of methods because security
policy. Lefting this way out, I didn't find anyway on how to do that. If you
have any idea or know any module can do that, I'll appreciate to know too!
See if the pear package does what you want:
On Monday 18 February 2008 00:59:31 Chris wrote:
> Børge Holen wrote:
> > On Sunday 17 February 2008 19:22:03 nihilism machine wrote:
> >> any idea why this fails?this is the error: "Sorry, there was a problem
> >> uploading your file"
> >>
> >> >>
> >> require_once("classes/db.class.php");
> >>
>
Børge Holen wrote:
On Sunday 17 February 2008 19:22:03 nihilism machine wrote:
any idea why this fails?this is the error: "Sorry, there was a problem
uploading your file"
insert_sql("INSERT INTO CMS_Media (File_Name) VALUES
('')");
$target = "media/" . $insertID . $extension;
//echo $target;
if
nihilism machine wrote:
any idea why this fails?this is the error: "Sorry, there was a problem
uploading your file"
It can't move the file to the $target location, or maybe the file wasn't
uploaded properly in the first place.
What's in $_FILES['uploaded']['error'] ?
http://www.php.net/manu
John Meyer wrote:
> Børge Holen wrote:
>> On Monday 18 February 2008 00:10:30 John Meyer wrote:
>>
>>> Daniel Brown wrote:
>>>
On Feb 17, 2008 5:37 PM, nihilism machine
<[EMAIL PROTECTED]>
>> wrote:
>>
> i am using this code to get the extension of a filename:
>
>>>
Børge Holen wrote:
On Monday 18 February 2008 00:10:30 John Meyer wrote:
Daniel Brown wrote:
On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]>
wrote:
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,"."));
how c
Adil Drissi wrote:
> Hi everybody,
>
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies). After the user submits
> his username and password, the script checks if that
> corresponds to a record in a mysql table. If this is
> the case "$_
On Feb 17, 2008, at 256PM, Daniel Brown wrote:
On Feb 17, 2008 5:37 PM, nihilism machine
<[EMAIL PROTECTED]> wrote:
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,"."));
how can i get the text BEFORE the . (period)
You can STFW and RT
On Monday 18 February 2008 00:10:30 John Meyer wrote:
> Daniel Brown wrote:
> > On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]>
wrote:
> >> i am using this code to get the extension of a filename:
> >>
> >> $extension = strtolower(strrchr($fileName,"."));
> >>
> >> how can i get the
Daniel Brown wrote:
On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,"."));
how can i get the text BEFORE the . (period)
You can STFW and RTFM. This list should
On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
> i am using this code to get the extension of a filename:
>
> $extension = strtolower(strrchr($fileName,"."));
>
> how can i get the text BEFORE the . (period)
You can STFW and RTFM. This list should never be your first pla
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,"."));
how can i get the text BEFORE the . (period)
?
thanks in advance.
-e
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 14 February 2008, Richard Lynch wrote:
> On Sun, February 10, 2008 9:31 am, Jochem Maas wrote:
> > Larry Garfield schreef:
> >> http://www.php.net/pdo
> >>
> >> All the cool kids are doing it.
> >
> > not true - some of them use firebird ;-)
>
> And some have figured out that PDO does n
Unfortunately I don't have access to this family of methods because security
policy. Lefting this way out, I didn't find anyway on how to do that. If you
have any idea or know any module can do that, I'll appreciate to know too!
Thanks in advance,
Petrus Bastos.
On Feb 17, 2008 2:30 PM, Daniel Br
Nick,
I thank you help! But unfortunalety I didn't find way to do this. I'll
continue trying. If you have any other idea, I'll appreciate to hear!
Best regards,
Petrus Bastos.
On Feb 17, 2008 4:57 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Hi Nick,
> >
> >
Petrus Bastos wrote:
> Hi Nick,
>
> Sorry, but I forgot to tell you that I can't use this exec neither
> system commands because they are disabled for security precautions. So, Do
> you have any other ideas on how can I do that?
>
> Thanks for your help,
> Petrus Bastos.
>
> On Feb 17, 2008 5:1
Hi,
Thanks for the link, it is very interesting, but as
the author says, the solutions are not perfect.
I'm wondering how yahoo mail for example are doing, or
maybe they are using something else (not php)?
Thank you
--- tedd <[EMAIL PROTECTED]> wrote:
> At 12:31 PM -0800 2/16/08, Adil Drissi wr
On Sunday 17 February 2008 19:22:03 nihilism machine wrote:
> any idea why this fails?this is the error: "Sorry, there was a problem
> uploading your file"
>
>
> require_once("classes/db.class.php");
>
> $target = "";
> $fileName = basename( $_FILES['uploaded']['name']);
> $extension = strtolower(
Daniel Brown wrote:
On Feb 16, 2008 6:22 PM, Rob Gould <[EMAIL PROTECTED]> wrote:
I've got a PHP script that inserts "00012345678" into a record in a mySQL database (it's
a barcode). Things work ok unless the number has preceding zeros, and then the zeros get cut off
and all I get is "1234567
At 12:31 PM -0800 2/16/08, Adil Drissi wrote:
Hi everybody,
I need help with sessions.
I have a simple authentification relying only on
sessions (i don't use cookies). After the user submits
his username and password, the script checks if that
corresponds to a record in a mysql table. If this is
any idea why this fails?this is the error: "Sorry, there was a problem
uploading your file"
$insertID = $DB->insert_sql("INSERT INTO CMS_Media (File_Name) VALUES
('')");
$target = "media/" . $insertID . $extension;
//echo $target;
if (move_uploaded_file($_FILES['uploaded']['tmp_name'], $targ
Valedol wrote:
Is there a mothod to check string`s length with regex or the only way is
using strlen?
I want string consisting of 4 digits
and check string with this code:
if (preg_match("/\d{4}/",$_POST[id]))
{ echo $_POST[id]; }
but preg_match returns true when string consists of 4 or more
On Feb 16, 2008 3:39 PM, Petrus Bastos <[EMAIL PROTECTED]> wrote:
> Hey folks,
>
> Do you know how can I create a protected zip file with password? Is
> there anyway? I've search on the internet, but without success.
If you have system() access, use something in the exec() family
(and be s
Hi,
I suppose this can be used to solve the problem i
posted. Can you please tell me how, or send a link to
ressource explaining that?
Thanks
--- Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 16, 2008 3:31 PM, Adil Drissi
> <[EMAIL PROTECTED]> wrote:
> > Hi everybody,
> >
> > I need help with
--- Valedol <[EMAIL PROTECTED]> wrote:
> Is there a mothod to check string`s length with regex or the only
> way is
> using strlen?
>
> I want string consisting of 4 digits
> and check string with this code:
>
> if (preg_match("/\d{4}/",$_POST[id]))
> { echo $_POST[id]; }
>
> but preg_match
On Feb 16, 2008 3:31 PM, Adil Drissi <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies).
Just to let you know, if you're using sessions, you're using
cookies. You're not setting the data
On Feb 16, 2008 6:22 PM, Rob Gould <[EMAIL PROTECTED]> wrote:
> I've got a PHP script that inserts "00012345678" into a record in a mySQL
> database (it's a barcode). Things work ok unless the number has preceding
> zeros, and then the zeros get cut off and all I get is "12345678".
>
> I have th
Nathan Rixham escribió:
socket_strerror(socket_last_error()) maybe?
That i can see in PHP manual socket functions sre not bundled by default
in PHP 5.3.0 and above, so if i'm using the stream implementation, how i
can determine if a signal interrupt a stream_select call, the stream not
will
Hi Nick,
Sorry, but I forgot to tell you that I can't use this exec neither
system commands because they are disabled for security precautions. So, Do
you have any other ideas on how can I do that?
Thanks for your help,
Petrus Bastos.
On Feb 17, 2008 5:15 AM, Nick Stinemates <[EMAIL PROTECTE
Is there a mothod to check string`s length with regex or the only way is
using strlen?
I want string consisting of 4 digits
and check string with this code:
if (preg_match("/\d{4}/",$_POST[id]))
{ echo $_POST[id]; }
but preg_match returns true when string consists of 4 or more digits
You co
Valedol wrote:
> Is there a mothod to check string`s length with regex or the only way is
> using strlen?
>
> I want string consisting of 4 digits
> and check string with this code:
>
> if (preg_match("/\d{4}/",$_POST[id]))
> { echo $_POST[id]; }
>
> but preg_match returns true when string cons
> >
> Is your session being set in any other place but
> your login page?
>
No, just in the page just to which the form of login
and password points.
Looking for last minute shopping deals?
Find the
Petrus Bastos wrote:
> Hey folks,
>
> Do you know how can I create a protected zip file with password? Is
> there anyway? I've search on the internet, but without success.
>
> Thank's in advance,
> Petrus Bastos.
>
>
The easiest way to accomplish this would be to write a wrapper function
usi
Adil Drissi wrote:
> Hi everybody,
>
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies). After the user submits
> his username and password, the script checks if that
> corresponds to a record in a mysql table. If this is
> the case "$_S
39 matches
Mail list logo