Hi,
i'm playing around with AJAX and PHP to create something like a "small
desktop" application.
basically the first step is to log in the system.
for that i have a log-in form where users can choose the interface language.
here is my problem :
when the log-in form runs, it is in English. user ca
Can't really know without the rest of the code.
Check if the function really returns and not Dying (Add some messege like:
die("help me I'm dying"); ).
Also use print_r or something like to see what's inside the fields array.
it is possible that it's an associative array and you are using the w
On Sun, Apr 20, 2008 at 4:51 PM, Ali Reza Sajedi <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> with the following call I try to print a string out of DB
>
> echo $allg->translate($db, $lang, 14, "auth/authCallback", 4);
>
> function translate () should do a DB querry and returns the requested
> string.
Hello,
with the following call I try to print a string out of DB
echo $allg->translate($db, $lang, 14, "auth/authCallback", 4);
function translate () should do a DB querry and returns the requested
string. Although the querry yields a positive result, the function returns
no value.
Here is
On Sunday 20 April 2008 13:37:04 Per Jessen wrote:
> Børge Holen wrote:
> > Is the MTA operational on the server? if so, forget
> > mailing with php and rather use php to access the mta.
>
> Yeah, that is what mail() does - it calls sendmail.
>
>
> /Per Jessen, Zürich
What the point of 50 mails no
On Sun, 2008-04-20 at 13:32 -0500, Larry Garfield wrote:
> On Sunday 20 April 2008, Jeffrey wrote:
> > I'm working on an application that includes e-mail notifications of
> > certain events. Because the application will have hundreds or thousands
> > of users, I've designed it so that e-mail notif
I mean, if you already specified it as a PNG image with header(), how
do you execute Javascript/malicious code, as the browser will render
it as a PNG?
Malicious code can still be embedded in images. The vulnerabilities ISTR
are in Windows image handling libraries. I assume they've been fixed n
I don't believe malicious code can be executed with echo and header.
The header of the PNG file, not a HTTP header.
--
Richard Heyes
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/sftpdrive|
+---
On Sun, 2008-04-20 at 14:41 -0400, Nathan Nobbe wrote:
> On Sun, Apr 20, 2008 at 2:34 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
>
> >
> > On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote:
> > > On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> > >
> > > > Nathan
I have my login.php file that when I access the login fields they are in
a small window width=400,height=250. When I click on submit I what it to
close this window and open another full window with the web page that
the script directs it to. But nomater what I do it opens it in the same
window whi
On Sun, Apr 20, 2008 at 2:34 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote:
> > On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> >
> > > Nathan Nobbe wrote:
> > >
> > > > umm, so whats going on here is the implicit
On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote:
> On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>
> > Nathan Nobbe wrote:
> >
> > > umm, so whats going on here is the implicit component of the statement
> > > that incorporates relative or absolute performance. in
On Sunday 20 April 2008, Jeffrey wrote:
> I'm working on an application that includes e-mail notifications of
> certain events. Because the application will have hundreds or thousands
> of users, I've designed it so that e-mail notifications are saved to a
> MySQL table. Then a regular cron job run
On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Nathan Nobbe wrote:
>
> > umm, so whats going on here is the implicit component of the statement
> > that incorporates relative or absolute performance. in terms of
> > relative performance the statement is accurate; in term
On 4/20/08, revDAVE <[EMAIL PROTECTED]> wrote:
>
> On 4/19/2008 2:37 PM, "Jason Norwood-Young" <[EMAIL PROTECTED]>
> wrote:
>
> > Might be obvious but you are doing "mysql_query($sql);", right?
>
> Hello Jason,
>
> Thanks - Your idea worked well - for a while - but then I ran into
> trouble...
>
>
On 4/19/2008 2:37 PM, "Jason Norwood-Young" <[EMAIL PROTECTED]>
wrote:
> Might be obvious but you are doing "mysql_query($sql);", right?
Hello Jason,
Thanks - Your idea worked well - for a while - but then I ran into
trouble...
I added : mysql_error() and it said:
Table 'connect2.ztest' doe
On Sun, 2008-04-20 at 15:52 +0200, rb wrote:
I'm getting from an external source a PNG image in raw format (encoded in
base64).
And with this code I'll echo on the screen.
--
$img=base64_decode($_POST['img']);
header("Content-type: image/png");
echo $img;
--
A quick way would be to
On Sun, 2008-04-20 at 15:52 +0200, rb wrote:
> I'm getting from an external source a PNG image in raw format (encoded in
> base64).
>
> And with this code I'll echo on the screen.
>
> --
> $img=base64_decode($_POST['img']);
>
> header("Content-type: image/png");
> echo $img;
> --
A qui
I'm getting from an external source a PNG image in raw format (encoded in
base64).
And with this code I'll echo on the screen.
--
$img=base64_decode($_POST['img']);
header("Content-type: image/png");
echo $img;
--
How can I check if the data received is a real PNG raw (and not malicio
Børge Holen wrote:
> Is the MTA operational on the server? if so, forget
> mailing with php and rather use php to access the mta.
Yeah, that is what mail() does - it calls sendmail.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Jeffrey wrote:
> Per Jessen wrote:
>> Jeffrey wrote:
>>
>>> I'm working on an application that includes e-mail notifications of
>>> certain events. Because the application will have hundreds or
>>> thousands of users, I've designed it so that e-mail notifications
>>> are saved to a MySQL table. T
Per Jessen wrote:
Jeffrey wrote:
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or
thousands of users, I've designed it so that e-mail notifications are
saved to a MySQL table. Then a regular cron job runs a php pag
On Sunday 20 April 2008 11:27:38 Jeffrey wrote:
> I'm working on an application that includes e-mail notifications of
> certain events. Because the application will have hundreds or thousands
> of users, I've designed it so that e-mail notifications are saved to a
> MySQL table. Then a regular cron
Nathan Nobbe wrote:
> umm, so whats going on here is the implicit component of the statement
> that incorporates relative or absolute performance. in terms of
> relative performance the statement is accurate; in terms of absolute
> performance, its quite inaccurate.
>
Nathan, I think we're disa
Jeffrey wrote:
> I'm working on an application that includes e-mail notifications of
> certain events. Because the application will have hundreds or
> thousands of users, I've designed it so that e-mail notifications are
> saved to a MySQL table. Then a regular cron job runs a php page to
> select
I'm working on an application that includes e-mail notifications of
certain events. Because the application will have hundreds or thousands
of users, I've designed it so that e-mail notifications are saved to a
MySQL table. Then a regular cron job runs a php page to select the data
from the tab
26 matches
Mail list logo