Ask a Question related to Dreamweaver AppDev, Design and Development.
-
sheldonlg #1
Many copies of very similar pages
There is probably a trivial answer to this question, and I will look stupid,
but here goes.
I have a login screen. I test for (1) allowable username, (2) matching
passwords, existance of data in aother field. What I want to do is have the
same module run, but have a different message added each time. The brute (and
ugly) force way is to have four five *.php files, with one actually doing the
php stuff and the other four including this file but having either no message
or one of the three messages.
A second way is to have one file which calls itself on error, but first sets a
login_error session variable and insert a <? some code ?> at the proper
place(s). Depending upon the value of that session variable which is set when
the error occurs it would write to the page different messages. This is
cleaner.
Is there an easier way to do this? I think there is, but since I am a web
coding novice, I haven't yet learned how to add data to a URL and to extract
it. I think would be the cleanest way.
Can someone point me in the proper direction?
Shelly
sheldonlg Guest
-
Contributor's Copies
I just want to validate after reading through the books it appears that every user (contributors) must have a full version of Contribute installed... -
AdobePDFPDE700 with a line marked through itin the copies and pages drop down bar
This is the first time that I have seen this before. The customer is using Quark 7.02 on a Intel Mac 10.4.8 and is being told to use the Acrobat PPD.... -
Multiple copies of the same file
If I add a link to a .pdf file on html file and then publish this html file, after i open the pdf file from that link in Contribute, it appends the... -
Can I run two copies of Cs in OSX ?
OSX.3.3 Dual 800 G4 1.5 G (RAM) First, can I install CS twice, in different folders of course? Or do I have to do it using two users? My reason... -
Using md5 to verify file copies
Would using md5 to verify backed up archive logs be feasible? What I would do is take the md5 hash of the file before copying and then take the... -
sheldonlg #2
Re: Many copies of very similar pages
I am having some problems.
If I use session variables, and I followed the instructions to ronly use
$_SESSION, I accurately create the session variables but they don't get passed
to the called page.
If I create the "/?username=$loginUsername" attachment to the called URL, it
gets passed but two new problems appear. First, it ignores the stylesheet and
second, an error appears if there is no username passed. I used the <?php
echo $_GET['username']; ?> to get the value.
Shelly
sheldonlg Guest
-
gareth #3
Re: Many copies of very similar pages
Are you using session_start() at the very top of every page that uses
session variables?
--
Gareth - TMM Dreamweaver
[url]http://www.dreamweavermxsupport.com/[/url]
[url]http://www.garethdp.com/[/url]
PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
[url]http://www.phploginsuite.co.uk/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
Co-Author: Practical Intranet Development - Apress
Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
Co-Author: Dreamweaver MX: PHP Web Development - Wrox
gareth Guest



Reply With Quote

