with css label is on the left and labelled is on the right
without css, label is on the top and labelled is on the bottom
If modify.php is:
<form action="modify2 .php" method="post">
<div class="category ">
Modify
</div>
<div class="element" >
<div id="label">
Email:
<br>
<br>
Password:
</div>
<div id="labelled">
<input name="email" class="text" type="text" size="40"
value="<? echo $email; ?>" id="email">
<br>
<br>
<input name="password" class="text" type="password"
size="20" value="<? echo $password; ?>" id="password">
<br>
<br>
<input type="submit" class="button" value="Modify">
</div>
<div class="hack">
</div>
</div>
</form>
and modify2.php is:
session_start() ;
include ('../others/automatic.php') ;
mysql_connect(" localhost", $mysql_username , $mysql_password ) or
die(mysql_error ());
mysql_select_db ("Intermediary" ) or die(mysql_error ());
sanitize("post" , "email");
sanitize("post" , "password") ;
echo $email;
echo $password;
mysql_close();
I type te*****@testing .com for username and testing for password at
modify.php, but modify2.php echoes te**@test.com for username and test
for password. Why??? 5 1188
On 4 Jun, 09:03, Raistlin Majere <pedbe...@gmail .comwrote:
with css label is on the left and labelled is on the right
without css, label is on the top and labelled is on the bottom
I have no idea what this is supposed to mean!!!
sanitize("post" , "email");
sanitize("post" , "password") ;
echo $email;
echo $password;
I type test...@testing .com for username and testing for password at
modify.php, but modify2.php echoes t...@test.com for username and test
for password. Why???
I suspect it has something to do with sanitize(), but you didn't post
the details of that function.
On Jun 4, 9:03 am, Raistlin Majere <pedbe...@gmail .comwrote:
with css label is on the left and labelled is on the right
without css, label is on the top and labelled is on the bottom
If modify.php is:
<form action="modify2 .php" method="post">
<div class="category ">
Modify
</div>
<div class="element" >
<div id="label">
Email:
<br>
<br>
Password:
</div>
<div id="labelled">
<input name="email" class="text" type="text" size="40"
value="<? echo $email; ?>" id="email">
<br>
<br>
<input name="password" class="text" type="password"
size="20" value="<? echo $password; ?>" id="password">
<br>
<br>
<input type="submit" class="button" value="Modify">
</div>
<div class="hack">
</div>
</div>
</form>
and modify2.php is:
session_start() ;
include ('../others/automatic.php') ;
mysql_connect(" localhost", $mysql_username , $mysql_password ) or
die(mysql_error ());
mysql_select_db ("Intermediary" ) or die(mysql_error ());
sanitize("post" , "email");
sanitize("post" , "password") ;
echo $email;
echo $password;
mysql_close();
I type test...@testing .com for username and testing for password at
modify.php, but modify2.php echoes t...@test.com for username and test
for password. Why???
you've not provided anything like enough information for anyone here
to make a meaningful diagnosis. The only advice I can offer is, "If
in doubt, echo out". Put code in to echo out all the variables you're
working with to make sure they really do contain what you think they
do.
On 4 jun, 06:26, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 4 Jun, 09:03, Raistlin Majere <pedbe...@gmail .comwrote:with css label is on the left and labelled is on the right
without css, label is on the top and labelled is on the bottom
I have no idea what this is supposed to mean!!!
sanitize("post" , "email");
sanitize("post" , "password") ;
echo $email;
echo $password;
I type test...@testing .com for username and testing for password at
modify.php, but modify2.php echoes t...@test.com for username and test
for password. Why???
I suspect it has something to do with sanitize(), but you didn't post
the details of that function.
function sanitize($metho d, $variable)
{
$variable=$_{$m ethod}[$variable];
$variable=htmle ntities($variab le);
$variable=mysql _real_escape_st ring($variable) ;
}
Raistlin Majere wrote:
On 4 jun, 06:26, Captain Paralytic <paul_laut...@y ahoo.comwrote:
>On 4 Jun, 09:03, Raistlin Majere <pedbe...@gmail .comwrote:with css label is on the left and labelled is on the right
>>without css, label is on the top and labelled is on the bottom
I have no idea what this is supposed to mean!!!
>>sanitize("pos t", "email"); sanitize("pos t", "password") ; echo $email; echo $password; I type test...@testing .com for username and testing for password at modify.php, but modify2.php echoes t...@test.com for username and test for password. Why???
I suspect it has something to do with sanitize(), but you didn't post the details of that function.
function sanitize($metho d, $variable)
{
$variable=$_{$m ethod}[$variable];
$variable=htmle ntities($variab le);
$variable=mysql _real_escape_st ring($variable) ;
}
$_post is NOT the same as $_POST!
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
On 5 Jun, 01:27, Raistlin Majere <pedbe...@gmail .comwrote:
On 4 jun, 06:26, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 4 Jun, 09:03, Raistlin Majere <pedbe...@gmail .comwrote:with css label is on the left and labelled is on the right
without css, label is on the top and labelled is on the bottom
I have no idea what this is supposed to mean!!!
sanitize("post" , "email");
sanitize("post" , "password") ;
echo $email;
echo $password;
I type test...@testing .com for username and testing for password at
modify.php, but modify2.php echoes t...@test.com for username and test
for password. Why???
I suspect it has something to do with sanitize(), but you didn't post
the details of that function.
function sanitize($metho d, $variable)
{
$variable=$_{$m ethod}[$variable];
$variable=htmle ntities($variab le);
$variable=mysql _real_escape_st ring($variable) ;
}
Are you sure that what you have shown us as the contents of
modify2.php is really all that is in it and do you have Register
Globals switched on?
Your sanitize function is not valid php and should display some
errors. It is certainly not going to influence the contents of any
variables in the main modify2.php script. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marcelo |
last post by:
Hi guys, I'm using the following code to send values from one page to
another, but seems to me, that the event Page_Load in the receiving page
never fires.
Why?
This is the code:
Thanks
-*-*-*-*-*-*
|
by: Dee |
last post by:
Hi
I have added
EnableViewStateMac="false"
to the sending WebForm's @Page Directive and my sample code has the
following line:
Dim coll As System.Collections.Specialized.NameValueCollection
collForm = Request.Form
|
by: Miro |
last post by:
VB 2003
at the end of the code, this works great.
bytCommand = Encoding.ASCII.GetBytes("testing hello send text")
udpClient.Send(bytCommand, bytCommand.Length)
and this recieves it
Dim strReturnData As String = _
System.Text.Encoding.ASCII.GetString(receiveBytes)
|
by: BuddyWork |
last post by:
Hello,
Could someone please explain why the Socket.Send is slow to send to the same
process it sending from. Eg. Process1 calls Socket.Send which sends to the
same IP address and port, the receiver is running within Process1.
If I move the receiver into Process2 then its fast.
Please can someone explain.
|
by: george585 |
last post by:
Hello!
I am new to network programming, and understand just basics. Using some sample code, and having read documentation, I managed to create a simple app in C# and VB.NET. The application is supposed to do the following:
monitor ALL INCOMING TCP traffic on the local computer, and save certain parts of it as files - not log files though, but actual files that are sent to the computer as part of http or ftp. Basically if a user browse a page...
| |
by: shybe |
last post by:
I have a send mail script on my site that.
The emails are recieved by gmail, and yahoo, but not to mail clients
like Outlook, Mail, etc...)
Is this a problem with the script, or is it something I must change in
php ini file?
Thanks in advance for any help.
|
by: bleachie |
last post by:
Hey,
I just need some help, my form seems to not send me all of the 'guestNames' and 'guestEmails' forms.
i use this function to add more guestnames and guestemail fields based on the number of guests added.
form.php
function createGuestNameAndEmailElements()
{
|
by: Rich |
last post by:
Hello,
I am working on a python library for sending and receiving data from a Subaru's ECU (the fuel injection computer) via the OBD-II port and an OBD to USB cable, with the Subaru Select Monitor protocol. There are a few open source programs that do this already (http://romraider.com/ , http://jdash.sourceforge.net/ , http://tari.co.za/downloads/software/source/ ), but they are written in Java or C++. I have never done anything with serial...
|
by: hurricane_number_one |
last post by:
I am creating a simple server application, that will listen for
incoming mouse coordinates and then move the mouse accordingly. So
basically it's like a very simple VNC server without and screen
display. I have this basic part working. The problem is that response
time is really bad. It seems like the server is not receiving the data
fast enough to be able to move the mouse so that it appears to be in
sync with the movement on the client...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |