Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





How To Parse A Webpage


I've scoured the net looking for a tutorial on how to parse a webpage but I've come up short handed. Can anyone provide me with some tips on how to get started?




View Complete Forum Thread with Replies

Related Forum Messages:
Script To Parse A Myspace Webpage?
I have been trying to figure out how people can grab the layout from a myspace page by using the friendid. I think they simply parse the myspace page for anything between <style> ... </style> and then send the code to a form. For example, this is one site that offers the feature: Code:

View Replies !
How To Move Arrays From Html Webpage To Webpage?
There are a couple techniques to move information from different html
web page to web page.
1. URL;
2. Cookie;
3. Form;
4. Session;

All the examples I found are move distinguished variables from page to
page, such as "?weight=20&name='apple'".


I need users choose from the first web page (the arrays will be
generated), then use it in second and third html web pages. How do I
transfer them (arrays) and which way is the best?

For example, if I have two arrays,

$fruit[] = array("apple", "pear", "orange");
and associative array
$myCats["Me"]="Merry";
$myCats["Pi"]="Pippin";
$myCats["He"]="Hergie";

View Replies !
Php Webpage And Form On Webpage!
recently signed up for a text messageing service that can use php script to send required details to specific mobile numbers, Anyways i recieved this code from the company: Code:

View Replies !
Parse Error: Parse Error, Unexpected T_ENCAPSED_AND_WHITESPACE, Expecting T_STRING Or T_VARIABLE Or T_NUM_STRING In C:
I am finding this error in my code when I run the file, I'm using php5.2, mysql5 and apache2.2 error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:Program FilesApache Software FoundationApache2.2htdocscreate_entry.php on line 20
The part of the program I'm running is:
<?php
mysql_connect("127.0.0.1:3306", "root", "swarajpkb") or
die("Could not connect to database");
mysql_select_db("guestbook") or
die("Could not connect to database");

if($_REQUEST['submit']=="Sign!")
{
$query="insert into guestbook(name) values $_REQUEST['name']";
mysql_query($query) or
die(mysql_error());
?>

View Replies !
Parse Error: Parse Error, Unexpected T_VARIABLE In /web/ellisgra/public_html/outback_orderform3.php On Line 11
I'm not that familar with PHP but have to build an order form using it. Below is the code for the site. I keep getting a "Parse error: parse error, unexpected T_VARIABLE in /web/ellisgra/public_html/outback_orderform3.php on line 11" error. Do you know why this is occuring?

View Replies !
Parse Error: Parse Error, Unexpected T_VARIABLE In /home/youbasta/public_html/forum/S
I am having a problem with this code, its saying an error. The error is Code:

Parse error: parse error, unexpected T_VARIABLE in /home/youbasta/public_html/forum/Settings.php on line 27

PHP Code:

View Replies !
Data From A Webform On Submit Cause Parse Error: Parse Error, Unexpected T_STRING
I have edited a php script to pick up the data from a webform and convert it into a email and when i submit it i get a error.....

Parse error: parse error, unexpected T_STRING in /home/nas01l/f/flexamatic.com/user/htdocs/estore/sendmail9.php on line 6

the php is:

View Replies !
Parse Error: Parse Error, Unexpected T_ENCAPSED_AND_WHITESPACE, Expecting T_STRING Or T_VARIABLE
Hi, could you please tell me what this mean. I have checked out php.net but description for this syntax is missing on the page.

Heres the whole error msg:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kxenuqbo/public_html/event.php on line 32

View Replies !
Parse Error: Parse Error, Expecting `T_STRING' Or `T_VARIABLE' Or `T_NUM_STRING' In /home
I can't figure out what this error means:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING' in /home/easilyta/public_html/pub/user.php on line 190.

heres a snippet of the code:
if (!isset($_COOKIE['cookie'][id])) {
header("Location:
http://error.easilytaken.com/usererror.php?error=login");
exit;
}
188 mysql_connect("localhost", "username",
"password");
189 mysql_select_db("database");
190 $cookie_idfind = mysql_query("SELECT cookie_id
FROM master WHERE user='$_COOKIE['cookie'][id]'");
191 $cookie_id = mysql_fetch_array($cookie_idfind);
192 if($cookie_id[0] == $_COOKIE['cookie'][auth]){
//
//
print 'hello, world'

basically what this does is takes the cookie[id] (which is the user field in
the db) and cookie[auth] (which is cookie_id in the db) using $_COOKIE and
checks to see if the user has the right authorization number stored in their
computer. any ideas as to why i get this error? the manuals are getting me
nowhere...

View Replies !
Parse Error: Parse Error, Unexpected T_STRING, Expecting T_VARIABLE Or '$' In /home/
One of my script all these days working fine, and all of a sudden started giving the following error message. I did not do any changes, but it happened:

Error Message
Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/zoolo/public_html/ke/3.php on line 424

This is what is line 424:
$query = "SELECT thumb FROM $dbimg WHERE itemno='$data[itemno]' ORDER BY id DESC LIMIT 1";

View Replies !
Searching A Database - Parse Error: Parse Error, Unexpected T_VARIABLE In /home
im getting an error:

Parse error: parse error, unexpected T_VARIABLE in /home/n3w/public_html/theodore/Blocker/search.php on line 14

Line 14 reading: $limit = 10;

PHP Code:

<form name="form" action="search.php" method="get">
  <input type="text" name="q" />
  <input type="submit" name="Submit" value="Search" />
</form>
...

View Replies !
Form Problem - Parse Error: Parse Error, Unexpected T_STRING
I'm a newbie on the php front but I've altered an email script to send a
bunch of information from a HTML form to an email address. Can anyone see
where I have gone wrong?

I am getting the following error:

Parse error: parse error, unexpected T_STRING in
/home/httpd/vhosts/yourdomain.com/httpdocs/test3/lifecover.php on line 62

I have posted the script below, any help would be muchly appreciated
(apologies if it is the worst script ever written!).

<?
$type=$_POST['type'];
$SingleJoint=$_POST['SingleJoint'];
$CoverReq=$_POST['CoverReq'];
$name=$_POST['name'];
$day=$_POST['day'];
$mn=$_POST['mn'];
$yr=$_POST['yr'];
$gen=$_POST['gen'];
$smoker=$_POST['smoker'];
$name1=$_POST['name1'];
$day1=$_POST['day1'];
$mn1=$_POST['mn1'];
$yr1=$_POST['yr1'];
$gen1=$_POST['gen1'];
$smoker1=$_POST['smoker1'];
$years=$_POST['years'];
$pay=$_POST['pay'];
$quotation=$_POST['quotation'];
$cover=$_POST['cover'];
$waiver=$_POST['waiver'];
$phn=$_POST['phn'];
$time=$_POST['time'];
$email=$_POST['email'];
$to="neil@yourdomain.com";
$from="$email";
$message=" Application Type : $type

Single or Joint : $SingleJoint

Cover Required : $CoverReq

Personal Details :

Name : $name

DOB : $day/$mn/$yr

Gender : $gen

Smoker : $smoker

Partner Details :

Name : $name1

DOB : $day1/$mn1/$yr1

Gender : $gen1

Smoker : $smoker1

Policy Information :

Terms of Policy : $years

Do you wish to pay : $pay

Quotation based on: $quotation

Cover to : $cover

View Replies !
Parse Error: Parse Error, Unexpected T_STRING, Expecting T_VARIABLE Or '$' In
I'm trying to connect to my 'db' but I'm receving this error:

Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in bla..bla...../opendb.php on line 3

The code: (opendb.php)

<?

//error in this line
$conn = mysql_connect ($dbhost, $dbuser, $dbpass) or die ('Unable to connect to database');
mysql_select_db ($dbname);
?>

I've correctly configured everything on my server. What could be the problem?

View Replies !
Parse Error: Parse Error, Unexpected T_ENCAPSED_AND_WHITESPACE, Expecting T_STRING
I am getting Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING error, here are the lines:

for($i=0; $i<12; $i++){
$aquery = "INSERT INTO uaq_scbatsmen VALUES('$row2['id']', 'a', '$a_player[$i]', '$a_out[$i]', '$a_balls[$i]', '$a_4s[$i]', '$a_6s[$i]', '$a_runs[$i]')";
mysql_query($aquery);
}

The problem line is the middle one ($aquery). Most probably problem is that I am missing some " or ; or something else but after hours of head banging I still can't find the problem.

View Replies !
Class Problem - Parse Error: Parse Error, Expecting `T_VARIABLE'
When executing the code below, expecting to say that the apple is green
and later red I get the error

Parse error: parse error, expecting `T_VARIABLE' in /httpdocs/test01.php
on line 3

Any idea how I can fix this?

View Replies !
Parse Error: Parse Error, Unexpected T_VARIABLE In /home/
I am creating a database on a testpage on my server, (Link: http://www.hlevolve.com/databasetesting/script.php) whenever I run this page, it gives me this error:

Parse error: parse error, unexpected T_VARIABLE in /home/shark55/public_html/databasetesting/script.php on line 22

I believe it has somthing to do with this piece of code:

//Assign contents of form to variables
$name = $_POST['Name'];
$email = $_POST['Email'];
$sql = "INSERT INTO addressbook SET
Email = "$email",
First_Name = "$name"");

View Replies !
Parse Error: Parse Error, Unexpected '"' In /home
This is the error that I am getting:

Parse error: parse error, unexpected '"' in /home/acciofir/public_html/forum/admin/admin_users.php on line 865

That is referring to this line: PHP Code:

View Replies !
Parse Error: Parse Error, Unexpected T_VARIABLE In /home
Hi, I am new at this whole php & phpbb thing. I have PhpBB 2.x for my board (forums) and last night I tried to install a shoutbox mod...

My admin panel has an error on the left side of it (where the feature list goes)... the error is below:

Parse error: parse error, unexpected T_VARIABLE in /home/vigilant/public_html/board/admin/admin_db_utilities.php on line 702

Here is line 702 in admin/admin_db_utilities.php:

$additional_tables = (isset($HTTP_POST_VARS['additional_tables']))? $HTTP_POST_VARS['additional_tables'] : ( (isset($HTTP_GET_VARS['additional_tables']))? $HTTP_GET_VARS['additional_tables'] : "" );$backup_type = (isset($HTTP_POST_VARS['backup_type']))? $HTTP_POST_VARS['backup_type'] : ( (isset($HTTP_GET_VARS['backup_type']))? $HTTP_GET_VARS['backup_type'] : "" );

Any ideas on how to fix this?

View Replies !
Parse Error: Parse Error, Unexpected T_STRING, Expecting ',' Or ';'
I've got error for this:

<td width="23%"><font face="Arial, Helvetica, sans-serif" size="1">
<?php echo online: $int_count;?>
</font></td>

View Replies !
Parse Error: Parse Error, Unexpected T_IF, Expecting ',' Or ''
I'm playing around with PHP's imap functions and I'm encountering a syntax error that I can't figure out completely.

Quote: Parse error: parse error, unexpected T_IF, expecting ',' or '' in /home/kingmike/docs/WEBMAIL/inbox.php on line 53 PHP Code:

View Replies !
Parse Error: Parse Error, Unexpected T_STRING In C:Inetpubwwwrooti
Parse error: parse error, unexpected T_STRING in C:Inetpubwwwrootionhbzion 2004unblock.php on line 50

source file: Code:

View Replies !
Parse Error: Parse Error, Expecting `T_OLD_FUNCTION' Or `T_FUNCTION'
the problem is :

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in C: shirtshopincludedatabase.php on line 7

the code:

View Replies !
Parse Error: Parse Error, Unexpected $ In /fpgs/fpgshttpd/
i'm trying to create a universal high score system in php. I have the basic framework done, and now i'm working on getting the installer to work. However when i run the installer file i created i get this error:

Parse error: parse error, unexpected $ in /fpgs/fpgshttpd/myhighscoreboard/install.php on line 29.

View Replies !
Parse Error When Trying To Parse XML
Trying to read in values from XML document and put them into an array in PHP, so I could use the different values to use in my PHP script... I am a beginner, so I decided to look and run some examples... well I always get this error in the 1st line... for some reason it doesnt liek the first line at all. PHP Code:

View Replies !
Parse Error: Parse Error, Unexpected T_LNUMBER
what's wrong with this code?

line 19:
if($_POST['miners']*500+$_POST['magicians']*800+$_POST['knights']*1200+$_POST['rangers']*1500>$fdatabase['gold']){echo("false!");}

I got error:

Parse error: parse error, unexpected T_LNUMBER in /home/www/xyz.php on line 19

View Replies !
Parse Error</b>: Parse Error, Unexpected T_CONSTANT_ENCAPSED_STRING I
Someone please help me with this as i am getting the above errors.. in line 6 i..e mysql...

View Replies !
Parse Error: Parse Error, Unexpected T_STRING,
Can a class define a constant as Java or C does? I tried to define a constant by
define("AMAZING_VALUE", "1997"); but it prompts:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'

View Replies !
Parse Error: Parse Error, Unexpected T_CONSTANT_ENCAPSED_STRING
I am attempting to write a simple guestbook test site to aid in my learning process; however, I am having trouble getting it to work. I keep getting the same error everytime that I try to add a new visitor in my guestbook database. The error I am getting is this:

Parse Error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in <path_to_file>/create_entry.php on line 5 Code:

View Replies !
Parse Error: Parse Error, Unexpected T_ELSE....
The code is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Club</title>
</head>
<style type="text/css">
body {margin : 0px;}
</style>
<body bgcolor="navy">
<font color="white">
Welkom in de winkel. Wat wilt u doen?<br>
<form action="club.php" method="post">
<input type="radio" name="keuzewinkel" value="1">Voer kopen<br>
<input type="radio" name="keuzewinkel" value="2">Bijproducten kopen<br>
<input type="radio" name="keuzewinkel" value="3">Medicijnen kopen<br>
<input type="radio" name="keuzewinkel" value="4">Praatje maken met de verkoper<br>
<input type="radio" name="keuzewinkel" value="5">Duiven verkopen / kopen<br>
&nbsp<br>
<input type="submit" value="Verder">
</form>
<?
if (isset($submit)) {
if ($keuzewinkel == &#391;') include('koopvoer.php')
else ($keuzewinkel == &#392;') include('koopbijproducten.php') <-- Line 25!!!!
else ($keuzewinkel == &#393;') include('koopmedicijnen.php')
else ($keuzewinkel == &#394;') include('chatverkoper.php')
else include('koopduiven.php')
}
?>
</body>
</html>

View Replies !
Parse Error: Parse Error, Unexpected T_LNUMBER,
i got a proplem with my array the error message is :

Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in D:xampphtdocsworksmartcontractorssites est.php on line 5 PHP Code:

View Replies !
Paging (Parse Error: Parse Error, Unexpected '.' )
I am trying to page my database records using php and i have written the script but somehow it is giving some weird error somewhee towards the end of the script. can anyone just check the code and tell me whether this will work(give a little attention to the A HREF tag) and how to remove the error that i am getting . The error that I am getting is

"Parse error: parse error, unexpected '.' in c:webpaging2.php on line 62" code:

View Replies !
I Got Parse Error: Parse Error, Unexpected ')' At The Last Line
I'm really going crazy with this query :

$insert = "INSERT INTO utilisateur(nom_utilisateur,mot_de_passe,prenom, " +
"nom,date_de_naissance,site_internet, " +
"avatard,no_telephone,statut) VALUES " +
"('$nom_utilisateur','$mot_de_passe','$prenom', " +
"'$nom,$date_de_naissance', " +
"'$site_internet', " +
"'/avatard/.$nom_utilisateur','$no_telephone', &#391;'");

I got Parse error: parse error, unexpected ')' at the last line


View Replies !
Parse Error: Parse Error, Unexpected T_ELSE
I got the following error in my page Parse error: parse error,
unexpected T_ELSE in line 25

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Club</title>
</head>
<style type="text/css">
body {margin : 0px;}
</style>
<body bgcolor="navy">
<font color="white">
Welkom in de winkel. Wat wilt u doen?<br>
<form action="club.php" method="post">
<input type="radio" name="keuzewinkel" value="1">Voer kopen<br>
<input type="radio" name="keuzewinkel" value="2">Bijproducten
kopen<br>
<input type="radio" name="keuzewinkel" value="3">Medicijnen kopen<br>
<input type="radio" name="keuzewinkel" value="4">Praatje maken met de
verkoper<br>
<input type="radio" name="keuzewinkel" value="5">Duiven verkopen /
kopen<br>
&nbsp<br>
<input type="submit" value="Verder">
</form>
<?
if (isset($submit)) {
if ($keuzewinkel == &#391;') include('koopvoer.php')
else ($keuzewinkel == &#392;') include('koopbijproducten.php') <--------
line 25
else ($keuzewinkel == &#393;') include('koopmedicijnen.php')
else ($keuzewinkel == &#394;') include('chatverkoper.php')
else include('koopduiven.php')
}
?>
</body>
</html>

View Replies !
PHP Parse Error: Parse Error, Unexpected T_VARIABLE
I'm writing a fairly simple php script and I keep getting the message "PHP Parse error: parse error, unexpected T_VARIABLE".
I know that means I made a simple mistake somewhere, but syntax highlighting and checking have revealed nothing and I certainly not catch it with my own eye. I reformatted the whitespace to spaces and newlines only, so it has to be something that shows up on the screen.
here's the PHP portion in its entirety:

<%php
$socket = @mysql_connect("mysql","database","****");
if (mysql_select_db ("comments")) {
$sql = "SELECT * FROM register";
$query = mysql_query($sql, $socket);
while($data = mysql_fetch_object($query)) {
echo "<TR><TD> $data->name
$data->email
$data->aim
$data->known</TD></TR>";
}
}
%>

There is no other scripting on the page. The error is on the line with "$socket = @mysql_connect...". Could I have the ASP-style tags wrong?

View Replies !
Parse Error: Parse Error, Unexpected T_STRING In /www
i'm getting the following error:

Parse error: parse error, unexpected T_STRING in /www/g/gwecaasu2006/htdocs/getRegistration.php on line 24

in the following code:

echo "<table>
";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo " <tr>
"; ...

what i'm doing wrong?

View Replies !
Parse Error: Parse Error, Unexpected '{' In /home
I get this error: Quote:

Parse error: parse error, unexpected '{' in /home/joel/public_html/portfolio/8/admin/edit_store.php on line 38

This is the page. it starts at line 30 and ends at 44. PHP Code:
// Rename global variables
            $name = $_POST[name];
            $link = $_POST[link];
            $specials = $_POST[specials];
            $show = $_POST[show];
            $zip = $_POST[zip];
            $address = $_POST[address];
            
            $sql = "UPDATE `{$tbl_prefix}shrimp_stores` SET ";
            $sql .= "`name` = '".$name."', `link` = '".$link."', `specials` = '".$specials."', `show` = '".$show."' ";
            $sql .= "`zip` = '".$zip."', `address` = '".$address."' ";
            $sql .= "WHERE `id` = '".$id."' LIMIT 1";

View Replies !
Parse Error: Parse Error, Unexpected ')' In /path
When I execute the PHP file Import.php from my web site, I get this error:

Parse error: parse error, unexpected ')' in /path/to/my/file/Import.php on line 375

Line 375 is this: Code:

$sSQL = "INSERT INTO 'person_custom' ('per_ID', 'chu_Church_ID') VALUES ('" . $iPersonID . "'," . $_SESSION['iChurchID'])";

I assume there is a single quote out of place but I tried removing several of them with no luck.

View Replies !
Parse Error: Parse Error, Unexpected T_VARIABLE
I don't know a thing about PHP and got myself into a jam while fixing a friends site.

I get this error: Parse error: parse error, unexpected T_VARIABLE in /home/sweetn84/public_html/modules/coppermine/index.php on line 115

CODE:
if ($level > 1) get_subcat_data($subcat['cid'], $cat_data, $album_set_array,s/sp $level -1, $ident . "<img src=".$CPG_M_DIR./images/spacer.gif" width="20" height="1">");

any way of fixing?

View Replies !
Parse Error: Parse Error, Unexpected T_ENCAPSED_AND_WHITESPACE
I'm having some trouble with the following, here's the error I'm receiving:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/gangste1/public_html/registration.php on line 7

Here's the code starting from line 5, the third line is my problem line:

$sql = "INSERT INTO `memberdirectory` ( `sid`, `lname`, `fname`, `IP`, `date`, `nick` , `referrer` , `updated` , `email` , `password` )
VALUES(0,'$lname','$fname','Unknown',NOW(),'$nickname',&#391;','Y','$email','$password')
mysql_query($sql);

In addition, how can I 'catch' the IP address of the visitor and insert it into this query?

View Replies !
Getting:Parse Error: Parse Error, Unexpected $ Using Jedit
I'm getting:Parse error: parse error, unexpected $ in /......./phpBB2/includes/usercp_viewprofile.php on line 244

I used Jedit to see if I can figure it out, from what I've been able to figure, line #182 the first line in bold below is connected to line #244, the second line in bold below. Now I'm not sure what to look for between those 2 lines. Code:

View Replies !
Parse Error: Parse Error, Unexpected T_STRING
Parse error: parse error, unexpected T_STRING in C:Inetpubwebsite.comhttpdocshomeupload1.php on line 29

Line 29 is:

$upload_uri = $folder_directory."C:Documents and SettingsInput";

View Replies !
Parse Error: Parse Error, Unexpected T_BOOLEAN_OR In.
Parse error: parse error, unexpected T_BOOLEAN_OR in.

[php]
// Validate the type. Should be jpeg, jpg, or gif.
$allowed = array ('image/gif', 'image/jpeg', 'image/jpg', 'image/pjpeg');
if (in_array($_FILES['picture']['type'], $allowed)) ¦¦ (in_array($_FILES['thumb']['type'], $allowed))
{
// If all is ok begin picture uploading
[/php]

View Replies !
Get Webpage Url
how would I call a web page url I'm interested in the current active page Example the URL when I type this post is

http://www.phpfreaks.com/forums/index.php?action=post;board=1.0

I want to assign it to a variable

ie $url=http://www.phpfreaks.com/forums/index.php?action=post;board=1.0

View Replies !
Screenshot Of Webpage.
I remember an old topic way back about creating a script that would be able to create a dynamic thumbnail image of a live web page. I didn't follow it all the way thru and never did see if somebody created a solution. I tried searching for it, but can't find it.

Did anyone figure out if this is possible?

View Replies !
Forcing A GET To Another Webpage
How can I forcefully 'push' a get request within a php? Example would be having 2 websites running on two diferent server. When I update site A, I would like update site B as well using GET. PHP Code:

View Replies !
Ideas ..with Webpage
Hello I didn't do any web page development since university ,I wanted
to create a web page for the fun of it ,an I was surprised of how easy
it is to use frontpage and dramweaver to do basic stuff ,but I wanted
to do something that I am sure it can be done but I don't really know
the way .
The webpage is not something original and it has been done before .
Xe.com is a currency converter from a currency to another currency I
have the following questions :

1) Wanted to auto detect the users country and accordingly set the
starting currency (from this currency) to the currency that his country
is using.
And also change the language to the user's language ...

2)lets say that I have users from two countries Germany and Hungary I
can create two starting web pages one with Hungarian and one with
German ..but lets say I have users from 30 different countries is not
very convenient to have to create a web page for each language there
must be a way that someone can i have a webpage that takes textiles or
something with the language strings and just displays them.

3) Lets say that the language is wrong and the user is using a computer
of the Spanish person and the user is Japanese I want to give them the
option to change the language
at any time ..do they have to install another language e.g Japanese in
this case? or only the encoding has to be changed .?

4)I wanted to give the user the option to select the currency in a
better way than dropdown box ,or a list box .. like a menu somehow but
I can't come with anything ...I don't know what guys can you
suggest I guess the list box is the obvious especially if there are
so many currencies but I would like something nicer... for example to
display the currency image at the side ..not sure..

5) If I create user login for example and I have different users that
they pay for the services how can I restrict certain currency converter
for certain users e.g. we have two users and the one user didn't pay
subscribed for the free service (he can convert Euro to dollars, visa
versa, pounds to dollars visa versa, pounds to Euro visa versa), the
user that paid can convert any currency ..

6) How can I restrict users from copying the website (using offline
explorer for example).

I was wondering what tools do I need to use to create the
website(recommended reading books?/online tutorials ),how will I be
creating the functionality that I want and how will I be resolving
every problem listed ?

View Replies !
Webpage To Email
Several times recently I've been asked to generate HTML email messages for
clients. It would be very nice to be able to render an existing webpage in
such a way that it could be included as the HTML portion of an email
message.

The problem is that web pages usually have some relative urls, such as for
images, links, stylesheets, backgrounds, etc. which wouldn't work in an
email.

Does anyone know of a way (in PHP) to translate all the relative urls in a
document to absolute?

View Replies !
Webpage Via EMail
I have developed a website in my local machine using PHP, MySql and
apache. It's not uploaded on the net. If someone asks for references,
is there a way to send without uploading on the net?

View Replies !
Webpage Screenshot?
Is it possible to fetch a webpage and take screenshot of it like it displays
in browser and then store it in jpg/gif

View Replies !
Moving To Another Webpage
Is there a way of jumping to another page from PHP. I've got a form that is submitted, and that data is entered into the database. I want the page to then go back to the original page. Can i do this?

View Replies !
Webpage Hit Counter
Where would I find a website hit counter written preferably in PHP? I
do not have shell access to the web provider so installation would
have to be via FTP only (no make or compilation)....

View Replies !
Using A PDF-creator On A Webpage
I have a webpage: www.site/page245.php.  I also have a "frame" on the right side where I have this PDF-button.

That button uses html2pdf to create a pdf. The problem is:

I need to get a hold of the address it is supposed to create a pdf of.

when I use this code: $htmlFile = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; I only get the current page, and I want the previous.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved