Quoting Alain Roger <[EMAIL PROTECTED]>:
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
you understood right.
basically my problem is that the layout avoid it.
here is "something like" my layout :
Lanague (label) :
all flags
login field + pwd field + submit button
till now i only use AJAX to refresh the content of div#3
but it does not change the label from div#1 when user s
in fact i meant by redirecting the following thing :
- if user wrote a correct pwd and login, the system should redirect [using
header("Location ] syntax to launch the application.
but if i use such syntax it will be redirected only into the div#0, and not
in the browser itslef.
is it clearer
I am in a bit of a pickle, or is that PECL?
I need to use either mime_content_type or FileInfo to get the mime type
of a file that is dumped into the system via email.
Now that is the easy part, where the hard part comes in is that a
commercial host that I use will do neither reason being that
m
Quoting Alain Roger <[EMAIL PROTECTED]>:
in fact i meant by redirecting the following thing :
- if user wrote a correct pwd and login, the system should redirect [using
header("Location ] syntax to launch the application.
but if i use such syntax it will be redirected only into the div#0, a
On IE 5.5 and 6.x you can inject JS through PNG's
As I remember, they patched it at 7.x
On 20/04/2008, Richard Heyes <[EMAIL PROTECTED]> wrote:
>
> 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
Hi Alain,
You can create a mini-db with XML, that contains translations for each of
the words you need (if there are 10 words, 50 langs, you got 500 records..
small and useful).
HTH,
Nitsan
On 21/04/2008, Alain Roger <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> i'm playing around with AJAX and PHP to c
Quoting Alain Roger <[EMAIL PROTECTED]>:
you understood right.
basically my problem is that the layout avoid it.
here is "something like" my layout :
Lanague (label) :
all flags
login field + pwd field + submit button
till now i only use AJAX to refresh the content of div#3
but it does
I added var_dump($result); to the function.
As part of the output I get the following:
["fields"]=> array(1) { ["fa"]=> string(22) "ورود به سایت"}
which is the string which should be returned and printed.
The result is there, however, it couldn't be printed.
Any ideas?
Regards
Ali
- Or
Quoting Ali Reza Sajedi <[EMAIL PROTECTED]>:
I added var_dump($result); to the function.
As part of the output I get the following:
["fields"]=> array(1) { ["fa"]=> string(22) "ورود به سایت"}
which is the string which should be returned and printed.
The result is there, however, it couldn't
using $result->fields["fa"] did solve the problem.
thanks very much Thijs
- Original Message -
From: "Thijs Lensselink" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 21, 2008 2:48 PM
Subject: Re: [PHP] function returns no value
Quoting Ali Reza Sajedi <[EMAIL PROTECTED]>:
I added v
Hi Everyone,
Last week you all helped me with the code to pull the database field
names directly from the database rather then being hardcoded by me.
Now I got to thinking, that I have exposed my database layout to
anyone who can log in and see it. Is that a security issue? I've heard
tha
Thanks very much, I ended up using seralize in the database.
On Thu, Apr 17, 2008 at 4:42 AM, Casey <[EMAIL PROTECTED]> wrote:
>
> On Wed, Apr 16, 2008 at 4:04 AM, Waynn Lue <[EMAIL PROTECTED]> wrote:
> > I'm using PHP to cache files that are backed by the database. In the
> > course of writin
I fixed this last time by looking for white space both before and
after the opening and closing php tags, as a Google search had
revealed. But this time, I've spent an hour running down various
files and not seeing what the heck is wrong. Here's the essential
setup.
main.php
shared_style.php
On Mon, Apr 21, 2008 at 11:33 AM, Waynn Lue <[EMAIL PROTECTED]> wrote:
> I fixed this last time by looking for white space both before and
> after the opening and closing php tags, as a Google search had
> revealed. But this time, I've spent an hour running down various
> files and not seeing w
On Apr 21, 2008, at 8:03 AM, Jason Pruim wrote:
Hi Everyone,
Last week you all helped me with the code to pull the database field
names directly from the database rather then being hardcoded by me.
Now I got to thinking, that I have exposed my database layout to
anyone who can log in and s
On Mon, Apr 21, 2008 at 11:37 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 21, 2008 at 11:33 AM, Waynn Lue <[EMAIL PROTECTED]> wrote:
> > I fixed this last time by looking for white space both before and
> > after the opening and closing php tags, as a Google search had
> > revealed
this also should not be an issue if you have output buffering turned on.
PHP is great, it will make sure to send the headers *first* then.
but yes, whitespace sucks as well. it makes IE's CSS flake out weird
sometimes. there's multiple reasons to write clean code :)
> > On Mon, Apr 21, 2008 at 1
This is for a facebook app, so it's just
public function set_user($user, $session_key, $expires=null) {
if (!$this->in_fb_canvas() && (!isset($_COOKIE[$this->api_key . '_user'])
|| $_COOKIE[$this->api_key .
'_user'] != $user)) {
$cookies = array();
Actually, I think I fixed it by moving the style sheets below the
instantiation of the facebook client, where I *think* set_user was
being called. I'm still curious if it's possible to get stack trace
information on errors, though. :)
Waynn
On Mon, Apr 21, 2008 at 5:39 PM, Waynn Lue <[EMAIL PRO
Canadian Doctor Hazel Best Price On Net
http://zxa.pharmstorez.com?liyws
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Everyone,
I have a client that wants me to fork a current project into a
membership management piece of software. Does anyone know of any open
source projects that I can look at?
The big things I need, are the ability to decide if the members will
receive a paper copy of a newsletter vs.
Hello Group,
I have an immediate need for a Sr. Developer; with one of Denver's Best
employers (relocation assistance available). They are a Web 2.0 company,
rapidly growing and very profitable.
4-Senior Software Engineers
Denver Metro Area
We are looking for a Senior Software Engineer t
Web 2.0 *and* profitable? Surprising.
--
Richard Heyes
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/sftpdrive|
++
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Waynn Lue wrote:
Actually, I think I fixed it by moving the style sheets below the
instantiation of the facebook client, where I *think* set_user was
being called. I'm still curious if it's possible to get stack trace
information on errors, though. :)
You are probably looking for something li
Jason -- - - -
There are many, many membership management programs out there, though
I doubt that there are any open source ones. It is a lucrative
business for many-a-folk.
I have always advised prospective clients to buy, not build, as the
commercial software choices out there are many
Hey Richard,
Not sure how to respond to your question other than to say yes they are
profitable. They are an established organization that has been around since
2003, they have upwards of 60 million users and tons of traffic. They are
the market leader in their space. Please let me know if you
On 4/21/08, Nick Gasparro <[EMAIL PROTECTED]> wrote:
> Hey Richard,
>
> Not sure how to respond to your question other than to say yes they are
> profitable. They are an established organization that has been around since
> 2003, they have upwards of 60 million users and tons of traffic. They are
On Apr 21, 2008, at 11:49 AM, Philip Thompson wrote:
On Apr 21, 2008, at 8:03 AM, Jason Pruim wrote:
Hi Everyone,
Last week you all helped me with the code to pull the database
field names directly from the database rather then being hardcoded
by me. Now I got to thinking, that I have exp
The commute would be a killer, Richard. LOL.
I think you're right. A 60 mile commute caused me to quit a job, so
several thousand miles sounds excessive... :-)
--
Richard Heyes
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/s
Jim Lucas wrote:
Waynn Lue wrote:
Actually, I think I fixed it by moving the style sheets below the
instantiation of the facebook client, where I *think* set_user was
being called. I'm still curious if it's possible to get stack trace
information on errors, though. :)
You are probably lookin
On Apr 21, 2008, at 2:57 PM, Richard Heyes wrote:
The commute would be a killer, Richard. LOL.
I think you're right. A 60 mile commute caused me to quit a job, so
several thousand miles sounds excessive... :-)
Depends on the pay I'm looking at a job that's 30 minute drive
away... Bu
On Mon, Apr 21, 2008 at 3:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> Just think about the frequent flyer miles you'd get! Vacation anywhere you
> want in the world! :)
Like you'd want to fly to a vacation spot after two 10 hour, 15
minute flights per day, five days per week. ;-P
--
On Mon, 2008-04-21 at 15:20 -0400, Daniel Brown wrote:
> On Mon, Apr 21, 2008 at 3:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> >
> > Just think about the frequent flyer miles you'd get! Vacation anywhere you
> > want in the world! :)
>
> Like you'd want to fly to a vacation spot after two
On Mon, Apr 21, 2008 at 1:48 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
> On Mon, 2008-04-21 at 15:20 -0400, Daniel Brown wrote:
> > On Mon, Apr 21, 2008 at 3:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> > >
> > > Just think about the frequent flyer miles you'd get! Vacation
> anywhere you
On Mon, 2008-04-21 at 14:16 -0600, Nathan Nobbe wrote:
> On Mon, Apr 21, 2008 at 1:48 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
>
> > On Mon, 2008-04-21 at 15:20 -0400, Daniel Brown wrote:
> > > On Mon, Apr 21, 2008 at 3:01 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Just t
Jason & David,
Thanks so much for your help
BTW: to reiterate the problem: I guess it was not knowing to use the 'try1'
connection ( try1.ztest) - and used 'connect2' connection instead...
Error said : Table 'connect2.ztest' doesn't exist
(connect2 was some other one I set up for something e
On 4/21/2008 2:04 PM, "revDAVE" <[EMAIL PROTECTED]> wrote:
> : Is there a way to insure that it uses the right connection ( try1 - not
> connect2 )?
- seems to be ok now with this new db selector line...
mysql_select_db($database_try1, $try1); // this new line
New ...
Old - no
--
Thank
Hello,
You may want to take a look here and find qualified PHP developers near
your region. You may even search for developers that have relevant skills.
http://www.phpclasses.org/professionals/country/us/
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.
Darn forgot to hit "reply to all"
Forwarded Message
From: Jason Norwood-Young <[EMAIL PROTECTED]>
To: revDAVE <[EMAIL PROTECTED]>
Subject: Re: [PHP] Alter Table newbie help needed ...
Date: Mon, 21 Apr 2008 23:52:30 +0200
On Mon, 2008-04-21 at 14:04 -0700, revDAVE wrote:
> Jason
On Mon, Apr 21, 2008 at 3:59 PM, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> You may want to take a look here and find qualified PHP developers near
> your region. You may even search for developers that have relevant skills.
>
> http://www.phpclasses.org/professionals/country/us/
the z
Guys,
I switched to gmail since I was having so many issues getting my emails thru
the spam filter thanks to M$ adding ads to the bottom of the message. To
make it even better, the unsubcribe confirmation email is also being
rejected due to spammy urls in the message.
Anyway, this should work out
Hi,
Till now, i'm used to have a php file (for each language) to store all text
labels for my international application.
i tried with Ajax to improve it but it seems not so flexible at it promised.
my purpose was to limit the transfer data and especially to not load too
much the server with not im
43 matches
Mail list logo