|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
php-general Digest 13 Aug 2005 23:19:54 -0000 Issue 3623
php-general-digest-help
lists.php.net
Date: Sat Aug 13 2005 - 18:19:54 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php-general Digest 13 Aug 2005 23:19:54 -0000 Issue 3623
Topics (messages 220550 through 220568):
Re: curl?
220550 by: Torgny Bjers
array varible problems
220551 by: edwardspl.ita.org.mo
Re: Help Building Dynamic Checkboxes
220552 by: Aaron Greenspan
Sort multi array.
220553 by: João Cândido de Souza Neto
220555 by: Torgny Bjers
Re: Mail-id validation script
220554 by: Manuel Lemos
PHP without php.ini
220556 by: Bagus Nugroho
220557 by: Bagus Nugroho
220561 by: Lester Caine
220563 by: Bagus Nugroho
Re: making checkbox's and radio buttons sticky
220558 by: Jochem Maas
'God' has spoken... :-)
220559 by: Jochem Maas
220562 by: Torgny Bjers
220564 by: Jochem Maas
220566 by: Jochem Maas
Re: ALLOW FILE UPLOADS...?
220560 by: Jochem Maas
Re: header redirect not working
220565 by: Pablo Gosse
220568 by: Pablo Gosse
Re: frame help!
220567 by: Jochem Maas
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
Wong HoWang wrote:
>Hi, Everybody!
>
>I got this when I execute the script:
>Fatal error: Call to undefined function: curl_init() in msnp9.class.php on
>line 259
>
>is there anyway to solve it?
>
Yes, by installing the curl libraries. If you are using Windows and PHP
5.0, you can get the curl library DLL from the PECL collection:
http://www.php.net/get/pecl-5.0.4-Win32.zip/from/a/mirror
If you are using Linux, you can add the --with-curl (or was it
--enable-curl) configure argument and re-compile PHP.
Regards,
Torgny
attached mail follows:
Dear you,
Now, I want to define a set of array varible with table structure as the
following:
Result page:
<table>
<tr>
<td><? $f1[0];?></td>
<td><? $f2[0];?></td>
<td><? $f3[0];?></td>
<td><? $f4[0];?></td>
</tr>
<tr>
<td><? $f1[1];?></td>
<td><? $f2[1];?></td>
<td><? $f3[1];?></td>
<td><? $f4[1];?></td>
</tr>
<tr>
<td><? $f1[2];?></td>
<td><? $f2[2];?></td>
<td><? $f3[2];?></td>
<td><? $f4[2];?></td>
</tr>
</table>
Source page:
<table>
<tr>
for($i=1;$i<5;$i++)
{
<td><input type=checkbox name='f<? echo $i;?>[]' value='1'></td>
}
</tr>
</table>
Only display the result of zero array, eg :
f1[0]
f2[0]
f3[0]
f4[0]
So, how to write the source (Web page - when user click the submit
button) by using loop ?
attached mail follows:
Hi,
There are a couple of problems with your code. The first is that you
have global variables enabled, which makes things easier, but also makes
things less secure. You should definitely disable them in your php.ini
file if possible.
Also, when you put the square brackets after gmev (gmev[]), you turn
$_POST['gmev'] into an array. Yet your code just checks to see if the
$_POST['gmev'] variable has any value at all, which of course, it does.
> if ($gmev) {
> $checked = ' checked="checked"';
> } else {
> $checked = '';
> }
Therefore, when you go to present the form, $checked always has the
string from the first case in the if statement, since you're not
specifying which part of the $gmev array you really care about.
My suggestion to everyone dealing with these form problems, which are a
general pain... Use Lampshade. It's so much easier! You can do this all
in three lines of code: two to set up your choices for the form element,
and one to draw the element itself.
http://www.thinkcomputer.com/software/lampshade
I'd be glad to help you with it if you have any questions.
Best of luck,
Aaron
Aaron Greenspan
President & CEO
Think Computer Corporation
http://www.thinkcomputer.com
attached mail follows:
I´ve in a array the coluns: date , weekday , hour , etc...
I need to sort him by coluns 0 and 2 but not found the correctly function to
do it.
Please, anyone know how can i do?
Thanks.
attached mail follows:
João Cândido de Souza Neto wrote:
>I´ve in a array the coluns: date , weekday , hour , etc...
>
>I need to sort him by coluns 0 and 2 but not found the correctly function to
>do it.
>
Take a look at this manual page:
http://www.php.net/manual/en/function.array-multisort.php
Regards,
Torgny
attached mail follows:
Hello,
on 08/13/2005 01:49 AM Nahalingam Kanakavel said the following:
> This is naha, I am very new to PHP as well as this group, I am in need of
> your guidence all my way.
>
> Now I am doing a project using PHP, in that I created a form.
> That form has a field called e-mailid, to validate that I need a script
> (function), whether I have to write it in the server side or client side,
> which one is better?. I need your suggestions, If any script is there plz
> send it to me.
This class does exactly what you ask:
http://www.phpclasses.org/emailvalidation
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
attached mail follows:
Hi All,
As my previous mail about fail on PHP5-MySQL, then I removed all of php.ini (included -recomended and -dist).
Then used phpinfo(), I found there is php still work and found and informed "Configuration File(php.ini) Path = C:\WINNT".
How can this be happenned?
(I believe, this will answer why cannnot load MySQL extension problem on my Win2000)
Thanks in advance for your answer.
attached mail follows:
Actually, my problem is when used phpmyadmin it was generate error "cannot load mysql extension". Then I'm trying to resolve as refer php-manual(included edit system environment), googling but the result is none.
I'm give up, and remove all php.ini to ensure is the problem on php.ini or others.
Any idea, what is wrong?
________________________________
From: Jochem Maas [mailto:jochem
iamjochem.com]
Sent: Sun 14-Aug-2005 03:44
To: Bagus Nugroho
Subject: Re: [PHP] PHP without php.ini
Bagus Nugroho wrote:
> Hi All,
>
> As my previous mail about fail on PHP5-MySQL, then I removed all of php.ini (included -recomended and -dist).
> Then used phpinfo(), I found there is php still work and found and informed "Configuration File(php.ini) Path = C:\WINNT".
>
if there is no php.ini php defaults to whatever is the default for all settings.
and your on windows - php (IIRC) looks for a php.ini in the windows dir if it can't
find on elsewhere (sometimes it live there too)
> How can this be happenned?
> (I believe, this will answer why cannnot load MySQL extension problem on my Win2000)
possibly or php can't find the extension or it a case of that you need to be using the mysqli
extension (and load that) instead mysql.
>
> Thanks in advance for your answer.
>
attached mail follows:
Bagus Nugroho wrote:
> Actually, my problem is when used phpmyadmin it was generate error "cannot load mysql extension". Then I'm trying to resolve as refer php-manual(included edit system environment), googling but the result is none.
>
> I'm give up, and remove all php.ini to ensure is the problem on php.ini or others.
>
> Any idea, what is wrong?
As you have already found, the default location for php.ini on windows
is the windows directory ( c:\winnt\ on W2k )
PHP5 does not now load MySQL be default since the licence restrictions
changed, and you now need to select the correct version of extension to
match the version of MySQL.
So you need to 'uncomment' extension=php_mysql.dll or
extension=php_mysqli.dll for pre or post Version 4 MySQL
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
attached mail follows:
I was uncomment php_mysql.dll and added php_mysqli.dll, put edited php.ini as recommended, also added libmysql.dll on c:\winnt\system32. But it still doesn't work, it still generate "cannot load mysql extension, ...".
Previously, I was edit system variables(edit Path variable by add ;c:\php;c:\php\ext and add PHPRC > value c:\php), also edit Registry as the following :
[HKLM\SOFTWARE\PHP]
"IniFilePath"="C:\PHP"
PHP installed on C:\PHP
Apache 2.0 on C:\Program Files\Apache Group\ ...
MySQL on C:\Program Files\MySQL
I hope, someone can help me to solve the problem before I'm return back to PHP4.
Thanks and Thanks
-----Original Message-----
From: Lester Caine [mailto:lester
lsces.co.uk]
Sent: Sunday, August 14, 2005 4:46 AM
To: Bagus Nugroho
Subject: Re: [PHP] PHP without php.ini
Bagus Nugroho wrote:
> Actually, my problem is when used phpmyadmin it was generate error "cannot load mysql extension". Then I'm trying to resolve as refer php-manual(included edit system environment), googling but the result is none.
>
> I'm give up, and remove all php.ini to ensure is the problem on php.ini or others.
>
> Any idea, what is wrong?
As you have already found, the default location for php.ini on windows
is the windows directory ( c:\winnt\ on W2k )
PHP5 does not now load MySQL be default since the licence restrictions
changed, and you now need to select the correct version of extension to
match the version of MySQL.
So you need to 'uncomment' extension=php_mysql.dll or
extension=php_mysqli.dll for pre or post Version 4 MySQL
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
attached mail follows:
Ted Passey wrote:
> thanks Jochem -
>
> I am learning alot about arrays.....
>
> I think this may be what i am looking for....
>
> if (in_array('September 9th', $gmev)) it seems to work great...
is that $gmev being created automatically? if so you are
using register_globals - which is one step in the direction of the
dark side - for the love of <insert preferred god/icon/hero/etc> use
the element in the $_POST superglobal array instead i.e.
$_POST['gmev']
>
> However...when you get one problem solved, another pops up...
not problems - challenges.
>
> The checkboxes work as long as one is selected, but....
> if the page is submitted without checking any boxes in the array..
> you get the warning....
>
> Warning: in_array(): Wrong datatype for second argument
it wants an array - your not giving it an array.
>
> Any idea on how to resolve this?
how do you think it should be resolved? what about checking the variable
before blindly using it - time to find a way to check if a var is an array
(or even exists in the scope of the current code) ... there is a function
that does this - it's name is so selfevident that I'm not even going to name it
- seek and you shall find.
>
> Thanks,
>
> Zedleon
>
> ----- Original Message -----
> From: "Jochem Maas" <jochem
iamjochem.com>
> To: "Ted Passey" <tlp
passeycorp.com>
> Cc:
> <php-general-sc.1123131363.ejbhalnoljodjfdfmibb-support=passeycorp.com
lists
> .php.net>
> Sent: Saturday, August 13, 2005 4:40 PM
> Subject: Re: [PHP] making checkbox's and radio buttons sticky
>
>
>
>>Ted Passey wrote:
>>
>>>ok, thanks again Jochem!
>>>
>>>Its good to know their is support for php from good people like you.
>>>
>>>The radio's are working great! However i still have a small issue with
>
> the
>
>>>checkboxes..
>>>They appeared to be working properly...but now all the checkboxes in the
>>>array are "checking"
>>>
>>>Not sure whats going on...I can tell you this however..my brain in mush.
>>>
>>>here is what i have...
>>>
>>>HTML is:
>>><input name="gmev[]" type="checkbox" id="gmev" value="September
>>>9th">September 9th
>>><input name="gmev[]" type="checkbox" id="gmev" value="October
>
> 14th">October
>
>>>14th
>>><input name="gmev[]" type="checkbox" id="gmev" value="November 11th"
>>>
>>>
>>>>November 11th
>>>
>>><input name="gmev[]" type="checkbox" id="gmev" value="December 9th"
>>>
>>>
>>>>December 9th
>>>
>>>
>>>
>>>PHP looks like this:
>>>
>>><?
>>>
>>>if ($_POST['gmev']) {
>>
>>$_POST['gmev'] will be an array - you have to loop it
>>and determine which of the date values (from the checkboxes)
>>it contains - for each date found you have to set the
>>corresponding checkbox.
>>
>>its time to learn about associative arrays, using
>>array indexes and foreach loops!
>>
>>
>>> $checked = ' checked="checked"';
>>>} else {
>>> $checked = '';
>>>}
>>>
>>>echo '<input name="gmev[]" type="checkbox" id="gmev"',$checked,'/>';
>>>
>>>?>
>>>any Idea's
>>>
>>>Thanks in advance
>>>
>>>zed
>>>----- Original Message -----
>>>From: "Jochem Maas" <jochem
iamjochem.com>
>>>To: "Ted Passey" <tlp
passeycorp.com>; "[php] PHP General List"
>>><php-general
lists.php.net>
>>>Sent: Friday, August 12, 2005 1:09 PM
>>>Subject: Re: [PHP] making checkbox's and radio buttons sticky
>>>
>>>
>>>
>>>
>>>>Ted Passey wrote:
>>>>
>>>>
>>>>>Jochem,
>>>>>
>>>>>Thanks for your help...I can see your a great PHP programmer.
>>>>
>>>>flattery gets you everywhere - even if it isn't true.
>>>>I'm not that bad - but lets leave the 'great' for those that really
>
> are -
>
>>>>you know people who develop/invent the actual language - people who
>>>>write books about it, people like that :-)
>>>>
>>>>oh and as long as it's php related make sure to atleast cc the list.
>>>>
>>>>
>>>>
>>>>>The dynamic checkbox code you sent worked great!
>>>>>I am however have a problem with a set of radio buttons...
>>>>>
>>>>>I am trying to appy the same principle here...
>>>>>The problem I am encountering is the $checked value in the echo string
>>>
>>>will
>>>
>>>
>>>>>always show
>>>>>the button "checked" So no matter what is selected, it comes back to
>>>>>"checked"
>>>>>
>>>>>Any suggestions?
>>>>>
>>>>>HTML is:
>>>>>
>>>>><input name="member" type="radio" value="Yes" checked> Member
>>>>
>>>>I assume that should be?:
>>>>
>>>><input name="member" type="radio" value="Yes" checked="checked"> Member
>>>>
>>>>
>>>>
>>>>><input name="member" type="radio" value="No">Prospective Member
>>>>>
>>>>>PHP is:
>>>>><?
>>>>>
>>>>>if ($member) {
>>>>
>>>>if $member containseither 'Yes' or 'No' then it will equate to boolean
>>>>true - which is what you are in fact testing
>>>>
>>>>try something like:
>>>>
>>>>if ($member == 'Yes') {
>>>>
>>>>
>>>>
>>>>>$checked = ' checked="checked"';
>>>>>} else {
>>>>>$checked = '';
>>>>>}
>>>>>
>>>>>echo '<input name="member" type="radio"',$checked,'/>';
>>>>>
>>>>>?>
>>>>>
>>>>>Thanks for the help...
>>>>>
>>>>>zed
>>>>>
>>>>>----- Original Message -----
>>>>>From: "Jochem Maas" <jochem
iamjochem.com>
>>>>>Newsgroups: php.general
>>>>>To: "zedleon" <support
passeycorp.com>
>>>>>Cc: <php-general
lists.php.net>
>>>>>Sent: Thursday, August 11, 2005 9:18 PM
>>>>>Subject: Re: [PHP] making checkbox's and radio buttons sticky
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>zedleon wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>I am new to php and am in need of some guidance
>>>>>>>I am building a sticky form and am having trouble bringing in the
>
> data
>
>>>>>>sticky as in honey?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>fields for
>>>>>>>checkbox's and radio button's. Any help on how to do this would be
>>>>>>>appreciated
>>>>>>>
>>>>>>>HTML form sample
>>>>>>><input name="gmev[]" type="checkbox" id="gmev" value="September
>>>>>
>>>>>9th"></th>
>>>>>
>>>>>>>PHP
>>>>>>><input name="gmev[]" type="checkbox" id="gmev" value="<? echo
>
> $gmev_day
>
>>>>>>>?>"></th>
>>>>>>>
>>>>>>>am I on the right track here?
>>>>>>
>>>>>>maybe, partially - generally radio buttons and checkboxes have fixed
>>>>>
>>>>>values -
>>>>>
>>>>>
>>>>>
>>>>>>it's the 'are they selected' part that probably want to make
>
> dynamic...
>
>>>>>>basically you need to conditionally add the attribute 'checked' (i.e.
>>>>>>checked="checked") to the radios and checkboxes you want selected when
>>>
>>>the
>>>
>>>
>>>>>>form is first shown.
>>>>>>
>>>>>>e.g.
>>>>>>
>>>>>><?
>>>>>>
>>>>>>if ($thisChkBoxIsInitiallySelected) {
>>>>>>$checked = ' checked="checked"';
>>>>>>} else {
>>>>>>$checked = '';
>>>>>>}
>>>>>>
>>>>>>echo '<input name="gmev[]" type="checkbox" id="gmev"',$checked,'/>';
>>>>>>
>>>>>>?>
>>>>>>
>>>>>>of course there are a million different ways to write this kind of
>
> thing
>
>>>>>>(i.e. don't take my example verbatim perse) but hopefully you get the
>>>>>
>>>>>idea.
>>>>>
>>>>>
>>>>>
>>>>>>>zed
>>>>>>>
>>>>>
>>>>>
>>
>
attached mail follows:
if you haven't seen it yet and are interested in the future
of php you might be interested in the _big_ thread on php-internals
that starts with the message:
http://www.manucorp.com/archives/internals/200508/msg00398.php
IMHO every halfbaked php coder should read it ;-)
to cut it short for those to busy, or what not, Rasmus offered his
his vision of php6 (which seems will be the version that will first
bring the awesome unicode [and date?] functionality to the masses
- hey thats us! :-) ) and there seems to be pretty much unanimous
agreement on his main points (lots of discussion on more issues/ideas
other people have brung up in response)
the future's bright, the future is green.
attached mail follows:
Jochem Maas wrote:
> if you haven't seen it yet and are interested in the future
> of php you might be interested in the _big_ thread on php-internals
> that starts with the message:
>
> http://www.manucorp.com/archives/internals/200508/msg00398.php
>
> IMHO every halfbaked php coder should read it ;-)
>
I suppose I am halfbaked. Maybe even a bit burnt and crispy on the
edges, Jochem.
Greatest news I've heard in a long time. Remove register_globals and
magic_quotes_*! Wow. Well, considering that they've been the cause for
most of the simpler PHP hacks that could have been prevented had not
register_globals been active. :P
I am not so sure that removing function aliases and making identifiers
case-sensitive is academic purity alone, though. I consider that a very
good step towards more easily managed code, that way there's only one
function, and no aliases, or case-specific variations thereof.
After reading the responses to Rasmus' post I am delighted to see that
most of the list has agreed to this as well, splendid. Some of these
were what I had expected for 5.x though, so in part I am disappointed
that they were not already removed/implemented.
/Torgny
attached mail follows:
Torgny Bjers wrote:
> Jochem Maas wrote:
>
>
>>if you haven't seen it yet and are interested in the future
>>of php you might be interested in the _big_ thread on php-internals
>>that starts with the message:
>>
>>http://www.manucorp.com/archives/internals/200508/msg00398.php
>>
>>IMHO every halfbaked php coder should read it ;-)
>>
>
>
> I suppose I am halfbaked. Maybe even a bit burnt and crispy on the
> edges, Jochem.
:-)
>
> Greatest news I've heard in a long time. Remove register_globals and
> magic_quotes_*! Wow. Well, considering that they've been the cause for
> most of the simpler PHP hacks that could have been prevented had not
> register_globals been active. :P
>
> I am not so sure that removing function aliases and making identifiers
> case-sensitive is academic purity alone, though. I consider that a very
> good step towards more easily managed code, that way there's only one
> function, and no aliases, or case-specific variations thereof.
>
> After reading the responses to Rasmus' post I am delighted to see that
> most of the list has agreed to this as well, splendid. Some of these
> were what I had expected for 5.x though, so in part I am disappointed
> that they were not already removed/implemented.
the problem is BC. given that so many massive changes are scheduled for
what will become 6.0 that will entail BC breakage anyway the core guys seem
to think its a good point to break some more. I think it's sensible,
breaking BC is a dangerous thing to do and not to be taken lightly when you
have a user base as massive as that of php.
in the mean time we have a faster 'execution model' to look forward to
in 5.1 - _faster_ OO code! yippee :-)
>
> /Torgny
>
attached mail follows:
phile
43plc.com wrote:
> Sorry, I will be out of the office until Monday 15th August.
trust phil to be on holiday.
>
> Kind regards,
>
> Phil Ewington.
>
>
attached mail follows:
<< z a p a n >> wrote:
> hello,
>
> sorry in advance if my question is naive.. i'm trying to allow file
> uploads. optimally i'd like to store these files (jpgs, mostly) directly to
> a folder in my httpdocs.. i've heard something about file uploads not being
> allowed if server is set to safemode.. not sure why but i've been getting
don't know if that is true - but then you don't say whether the machine your on
is running in safe_mode.
you don't even say what errors - why don't you present some output from your script,
no point in anyone running it somewhere else really is there?
******
oh and DONT post a new question as a reply to an existing thread - bad bad bad.
******
most probably your script (or rather the user it is running as - most likely something
like 'apache' else the user account given to you on the box in question) doesn't have
write permissions for the dir you want to move the upoaded files to.
or maybe the directory /release_pics/ doesn't even exist, $uploads_dir
need to contains path not a halfbaked URL - I'm assuming that your document root
is not / ... so try something like:
$uploads_dir = '/PATH/TO/YOUR/WEB/DOCUMENT/ROOT/release_pics/';
btw you have to replace the '/PATH/TO/YOUR/WEB/DOCUMENT/ROOT' bit with
something valid ;-)
oh and try checking the return values of functions (e.g. move_uploaded_file)
- they might give you a hint. also check your error logs and start using
functions like print_r(), var_dump() to see what's going on inside your script...
> errors.. here're the two files if you have time to check them out. thanks
> for your time!
>
> xo, -z
> ----------
> [file1.html]
>
> <form enctype="multipart/form-data"
> action="file2.php" method="post">
> <input type="hidden" name="MAX_FILE_SIZE" value="10000000">
> FILENAME: <input name="filename1" type="file"><br><input type="submit"
> value="submit"></form>
>
>
> ----------
> [file2.php
>
> <?php
> $uploads_dir = '/release_pics/';
> foreach ($_FILES as $myfile) {
> $filename = $myfile['name'];
> switch ($myfile['error']) {
> case 4:
> continue 2;
> case 1:
> case 2:
> print "sorry, $filename is too big.<br>";
> continue 2;
> case 3:
> print "the upload of file $filename was broken. please try again.<br>";
> continue 2;
> }
> print "received: $filename.";
> print "type: $myfile['type'].<br>";
> move_uploaded_file(
> $myfile['tmp_name'],
> $uploads_dir.$myfile['name']);
> }
> ?>
>
>
attached mail follows:
[snip]Can you place the following code just before the header() line,
and post what it prints?
die($this->CMS_base_path);
In other words, tell us what the $this->CMS_base_path field contains
when that line is executed.[/snip]
It contains 'https://cms.mydomain.com', which is what it is supposed to
contain.
It's redirecting to the correct domain, just the incorrect page.
Thanks,
Pablo
attached mail follows:
[snip] I can think of a few, and my first instinct is to check to see
whether your script produces any errors in one environment that it
doesn't in the other. If you're displaying errors, they can affect the
behavior of your scripts when you're also using header(). Replace
header() with echo and compare the behavior.
Also, comparing php.ini can help you identify differences in
configuration. Configuration directives can be modified through other
means, but this is a good starting point (and a good candidate for
version control anyway - inconsistencies can cause you to waste time and
effort).[/snip]
Hi, Chris.
I turned on error reporting for that script in production and no errors
occurred.
However, and this is even stranger to me, if I add the following after
the call to header()
die('foo');
the page redirects to the correct url.
I remove die('foo'); and it redirects to itself again.
I'll take a look at the two ini files to see if I can spot any
differences, but I'm stumped as to what in there might cause just this
one page to redirect to itself rather than the prescribed URL.
The form submits to a controller url, and then is validated using a form
generation/validation class I use for all my applications. If the
validation fails it redirects back to the form page, with the
appropriate form id appended to the url. If the validation succeeds,
the delete event method is called, at the end of which the redirect back
to the main event page should occur, but is not for some reason, unless
I add that line of code after it.
I know the form is validating since the event is deleted, since, well,
it is deleted, and there is no form id appended to the url when it is
redirected.
Any other ideas?
Thanks,
Pablo
attached mail follows:
George B wrote:
> George B wrote:
>
>> I made a left frame, then made the three pages, and all the frames
>> show fine. But this is not my problem! I made a "leftpane" which has
>> code to check if user exists (its for a login script). In the code for
>> the login FORM I set it to go directly to the "userpane" file. It
>> works fine! It recognizes me and all, says I am logged in. But if I
>> set the Login FOrm to the main frame file (which shows the 2 frames)
>> it says wrong user and password. What do I do to make this work?!?!?!
>
fix it. which is about a vague an answer as is your question.
are we supposed to smell out how your login works? what a 'userpane'
is?
> Well can anyone help? :( :( I really need to know how to do this :(
SFTW, RTFM, learn to ask a proper question.
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]