FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 26-04-07, 06:52 PM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default Login class - how to use a image to submit login query?

Hey,

On my site "www.clan-wars.net" I am trying to use an image instead of that what you see...

I am using code
Code:
<input type='submit' value='' class='loginformc'></td>
The image I want to use is

"www.clan-wars.net/themes/Blue/images/loginformc.gif"
Any help please on how to click on the image and will login for me using the code provided above?

Thank you
Reply With Quote

  #2 (permalink)  
Old 26-04-07, 06:54 PM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default

OMG What the hell.. this forum supports HTML or something?
Reply With Quote

  #3 (permalink)  
Old 26-04-07, 08:22 PM
Administrator
 
Join Date: Mar 2006
Posts: 1,934
Default

problem sorted
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting
AIM : webredback || msn : andrew @ webhosting.uk.com
Toll Free : 0808 262 0855
Reply With Quote

  #4 (permalink)  
Old 26-04-07, 09:19 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

input type="image" src="http://clan-wars.net/themes/Blue/images/loginformc.gif" alt="Submit This Form"
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote

  #5 (permalink)  
Old 26-04-07, 09:47 PM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default

Thanks admin and kev woodman!
But unfortunely this didn't solve my issue.. I am using a software (called mygamingladder) It has MySQL database and is written in PHP.

Code:
Parse error: syntax error, unexpected T_STRING in /home/clanwars/public_html/functions/siteblocks.php on line 60
This is the error I get when I use your code kev even with the < > tags
This is the file I use for editing

"http://clan-wars.net/files/siteblocks.zip" if it's possible if you could edit this file please and also if you go to www.clan-wars.net from the loggin area (right cornet) when I type you can't see the text .. text colour is probably white.
If you could fix this with the file provided I will greatly appreciate that very much.

Thank you

Last edited by karimali831; 26-04-07 at 09:53 PM.
Reply With Quote

  #6 (permalink)  
Old 26-04-07, 10:46 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

can you post line 60 or probably better to post couple lines above and below.

If you are using the echo or print statement, you probably need to change the quotes above " into exclamation marks '

i'e;

<input type='image' src='http..................................
Reply With Quote

  #7 (permalink)  
Old 26-04-07, 11:16 PM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default

Quote:
Originally Posted by jon123 View Post
can you post line 60 or probably better to post couple lines above and below.

If you are using the echo or print statement, you probably need to change the quotes above " into exclamation marks '

i'e;

<input type='image' src='http..................................
OMG IT WORKED!! Thank you soo much!! I had to use the ' instead of the "
Thank you!!

So now just one last thing. When typing the text is not visible.. any ideas?
Reply With Quote

  #8 (permalink)  
Old 27-04-07, 12:56 AM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

glad you sorted it


if you're talking about text using php, then you will need to use quotes around the text

eg;

echo "display this text";

also note the ending semi-colon.
Reply With Quote

  #9 (permalink)  
Old 27-04-07, 05:12 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Sorry - didn't realise there was any PHP involved so I posted straight HTML.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote

  #10 (permalink)  
Old 27-04-07, 06:14 AM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default

I'm still little confused.

Code:
    <form method='post' action='$url[base]/$file[login]'>
    <td valign='center' align='left'><font class='catfont'><strong>Player ID:</strong></font></td>
    <td valign='center' align='right'><font class='catfont'><input type='text' name='playerid' class='loginforma' onblur=\"if (value == '') {value = 'Login'}\" onfocus=\"if (value == 'Login') {value =''}\" value='Login'></td>
    </tr>
    <tr>
    <td valign='center' align='left'><font class='catfont'><strong>Password:</strong></font></td>
    <td valign='center' align='right'><input type='password' name='playerpass' value='' class='loginformb'></td>
    </tr>
    <tr>
    Click <a href='$url[base]/join.php?action=join'>here</a> to signup!<br>
    <a href='$url[base]/join.php?action=lostpass'>Lost your password?</a><br>
    <td width='100%' valign='center' align='right' colspan='2'>
    <input type='hidden' name='action' value='login'>
    <input type='image' src='http://clan-wars.net/themes/Blue/images/loginformc.gif' alt='Submit This Form'>
    </tr>
    </form>
    </table>";
}
When I use this for a theme the text is visible.. and when I use this for a different theme (which I prefer) the text is not visible.
Reply With Quote

  #11 (permalink)  
Old 27-04-07, 06:25 AM
unknown4's Avatar
Member
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 68
Default

what do you mean when u switch themes and its not visible?
the words are weird characters or u just cant see them ?
Reply With Quote

  #12 (permalink)  
Old 27-04-07, 07:02 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

what text?
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote

  #13 (permalink)  
Old 27-04-07, 07:19 AM
unknown4's Avatar
Member
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 68
Default

i think his talking about the words : Player ID, Password, Click here to signup!, Lost your password?
Reply With Quote

  #14 (permalink)  
Old 27-04-07, 08:20 AM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

other theme has background same colour as text maybe ?
Reply With Quote

  #15 (permalink)  
Old 27-04-07, 08:24 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Ooh good thought Jon lol
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 12:04 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials