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 Complete Forum Thread with Replies
Related Forum Messages:
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 !
SEO Ideas With PHP
I am designing a new site and I wanted to try something different. It is with a cheap hosting company that will work for the site. What I was wanting to do was design it without using $_GET id's and use more keywords in the address bar. Basically go from category.php?id=12345 to /keyboards/microsoft/ kind of thing. Anyways, considering I am going with a cheap hosting company I dont have access to fool around with Apache to make this work. I was curious if there is a way I could design it to still be dynamic with keywords in the address bar without having to do something with my hosting company.
View Replies !
Fread - Any Ideas?
I have a socket open (opened with fsockopen()) and I'm sending pop3 requests over it. When I use fread() to get the response of the pop server, there's the possibility that the response can be of length anywhere between 1 character and several million (obvious reasons). Does anyone know if there's a way to read the entire incoming data when you don't know the length of it, without putting in some rediculously large number into fread's length parameter?
View Replies !
Ideas For Assignments
I've been asked to run an introductory course in PHP for absolute beginners (quit laughing you lot...). I intend to cover programming basics, variables, control structures, loops, simple functions but stopping short of working with files or databases (that will be course 2). Not sure if mail() will be enabled yet. Code:
View Replies !
Pagination Ideas
Im looking for ideas on how to do forum pagination. Im thinking in the user table have a column for number of items per page. then in the url, put something like ?page=1 Where it would get the defined number from the usertable, or the default and use that number as a limit and start point in the query. Code:
View Replies !
Ideas/features For A CMS
I am designing an Open Source (OS) CMS and trying to break many; - typical programming methods of CMS's - typical features I am trying to make a unique CMS with unique features. The CMS already is designed for; - Static html export. - Managing and exporting php scripts (so that exported semi static sites can still have feed back forms, custom log monitoring etc) - Runs on an offline server and syncronises only the updated files over FTP (for those of us on limited time dial-up) Does anyone have any unique/interesting ideas that could be implemented into such an OS CMS, including SEO ideas?
View Replies !
Aggregation Class Ideas?
I have many classes that use database connections to fetch data and manipulate on it. I also have database abstraction class that is handling all the database queries and so forth. Usually all my classes take instantiated database object as the first parameter to constructor so they know what database to use:...
View Replies !
Text To MySQL Problem Need Ideas
I know how to upload text files and such my problem is that I may have many many text files so any editing of the files is out of the question. The files are not delimited, well so far I use and it works but with help of some editing.
View Replies !
Any Ideas How To Read A Url That's Changed By The Server?
I apologize, but I posted this in the php general forum earlier and realized that this is the more appropriate forum. Hopefully there's a coder here who has done this in the past. I've got code that uses CURL to go a web page to read the data. When I type in www.website.com, the server automatically adds a session variable to the url. I need to be able to read that session variable. Then I will use that session variable to input into a new CURL session. Any ideas how I can do this? If I use code like this: // find out the domain: $domain = $_SERVER['HTTP_HOST']; // find out the path to the current file: $path = $_SERVER['SCRIPT_NAME']; It gives me the code for where my script is sitting on my server rather than the values for the web site that I'm trying to read. Any ideas?
View Replies !
Ideas For French/english Sites, Using PHP?
I run a small site, I used it to learn html, and now PHP, next MySQL! I live in Quebec Canada and I would like to translate my site into french. I think I can get many more hits if I let the people around here take a look at my site and understand it! I wonder if I could use a smarter way to do this using PHP or even MySQL. Instead of having twice the html/php pages. I don't have any ideas with my limited knowlage of programming. Maybe using variables in the URL like mydomain.com/index.php?language=french&file_id=23 or something??? Well maybe it is more trouble than anything else and I shouldn't even think about it? Right now I'm just planning on making twice the pages and have a french/english page as my index for people to choose. But if anyone has any ingenious ideas let me know! I like figureing things out for myself, but if you would point me in the right direction.
View Replies !
Any Ideas On Invalidating A Session From Another Process?
I have a slight problem with sessions. I use a session var to store a user's details and also a set of permissions to various parts of my application. This involves several SQL queries which is why I do it once and cache the result in a session var. My problem occurs when I change a user's permissions. At this point I need to invalidate that user's session to reload their new permissions. I don't think it's possible to do it directly is it? I'm thinking at the moment of a timestamp in the user record which requires an SQL query every page.
View Replies !
Any Ideas How To Run Macro In Microsoft Publisher Through PHP COM ?
my macro in Publisher changes "123" into "321" (example) but I can't be able to run it. This is how far I get throught with PHP & Publisher: <? $pub = new COM('publisher.application') or die('Unable to load Publisher'); print "Loaded Publisher, version {$word->Version} "; $pub->Open('xxx.pub'); $pub->Documents[1]->SaveAs('xxx2.pub'); $pub = null; ?> this works, but of course does not do anything else than open xxx.pub and save it as xxx2.pub. I am trying to run my macro: $pub->Documents[1]->RunMacro(replaceme); where replaceme is my macro. I tried different variations: $pub->Documents[1]->Run(replaceme); $pub->Documents[1]->Application->Run(replaceme), etc but no luck so far :(
View Replies !
Mail Attachment Not Working - Any Ideas?
I'm working on making an email script to be able to use file attachments. I've got a form that the user can fill out, with one of them being the field "pdfupload" where the user can upload a file. I cannot get the file to come through as an attachment to the email. It seems to send the email just fine, but with no attachment. Code:
View Replies !
Imagecolortransparent Not Working As Expected - Any Ideas?
I'm trying to rescale a gif file with transparency but am having difficulty with the imagecolortransparent() function - It's not working as I would hope... I'm telling it to replace the colour red with transparency and then overlay my transparent gif, but resized. For some reason, it is turning anything black in my transparent gif, transparent, instead of the red - Can anyone else figure out why it might be doing this? Code:
View Replies !
Looking For Recent Visitor Code Examples/ideas
I am working on updating my content management page and wanted to overhaul my "recent visitor" code. The code that tracks who has been and is still on my pages. I have not been able to find some examples I saw here a few months ago and was wondering if anyone could point me to some examples. The more versatile the better.
View Replies !
Data Transfer Problem - Ideas/solutions
I have an interesting problem. I have a (LARGE) set of historical data that I want to keep on a central server, as several separate files. I want a client process to be able to request the data in a specific file by specifying the file name, start date/time and end date/time. The files are in binary format, to conserve space on the server (as well as to increase processing time). The data in each file can be quite large, covering several years of data. New data will be appended to these files each day, by a (PHP) script. The server machine is likely to be a Unix machine, whereas my clients will be running on windows machines. My clients program is written in C++. My main problems/questions are as follows: 1). Transfer method issue: What is the best (i.e. most efficient and fast way) to transfer data from the server to clients ?. I think SOAP is likely to be too slow, because of the sheer size of the data 2). Cross platform issue: How can I insure that that the (binary?) data sent from the Unix server can be correctly interpreted at the client side? 2). Security issue: How can I prevent clients from directly accessing the files (to prevent malicious or accidental corruption of the data files.?
View Replies !
Mail Fields To Database. Exportable...any Ideas?
I have a mailing list form on my website, what i'd ultimately like to happen is when the user submits their information that all goes into the database. The tricky part is i'd like it so for my clients, they can go to an admin utility and press an "export" button and have it spit out the data from that form, into either an excel doc or a csv, whatever is easiest... any suggestions on how to do this?
View Replies !
PHP Search Engine Code? (Rather Verbose Php Link) Any Ideas?
I've totally hit a brick wall and I've checked the numerous (some helpful) tutorials in making a php link search engine friendly but the following link: <font face="Tahoma" size="2"> <a href='ps2reviewsdisplay.php?page=ps2/ps2acecombatsquadronleader&type=htm&title=- Ace Combat Squadron Leader Review - www.impulsegamer.com Australia'> <span style="text-decoration: none">Ace Combat: Squadron Leader<br> </span></a></font> I just don't know how on earth to make it search engine friendly?
View Replies !
Table, Mysql Results, Rows And Colums, Ideas?
I need to echo the reaults from a database onto a page, the results need to be displayed in rows and colums, ie 20 products in the database = 4 columns with 5 rows, the hard part is the while loop to load the data in and dynamically gernerate a html table to put the data in, i want the page to look like this <product picture with price and desc underneath in a 3 wide layout - jatar_k> but i want it to be created dynamically from the database and im stuck on the while loop, something like this : Code:
View Replies !
Require() Navmenu- Seeks Ideas: CSS Id="active"
As per Drakla's ingenious <?php require_once(ROOT_OFFSET.'include/nav.php'); ?>, i have successfully setup my entire site page structure relatively easily, complete with global site navigation on EVERY page, AND w/ the confidence about my navigation component that "...if it works once, it works in every page...", i'm very pleased with my boost in progress, not to mention the ease with which i can now modify the navigation structure in only one file and have it affect the site globally!! that's just too awesome! it works because, where i would typically have my navcontainer coded into all of my pages, i simply remove the series of <a href="#">nav stuff</a> for all of the page links, and replace it with the code shown above-- thereby inserting an "include" file which takes care of all of that code for me-- it works because of Drakla's generous solution to my problem (that i created a site based on varying degress of sub-folders) which is based on placing the following code at the top of EVERY output page in my site structure: Code:
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 !
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 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 !
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 !
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 !
Backup A Webpage
Is there a way with php to backup/mirror a page? I know that I can use file_get_contents() to get the HTML from the page, however how can I get the images etc to be downloaded and stored on the server?
View Replies !
Having A Webpage Modify Another
I am completely new at webpage building when it comes to advanced controls. I know how to put textboxes on a page with dreamweaver. What i want to do is have page1 with 2 textboxes. Then I want it to modify Page2.html page. Code:
View Replies !
Render A Webpage
I am trying to create an module/component which can take a webpage (by URL) and render it as an image. The aim is to be able to create thumbnails of any given website on the fly.
View Replies !
Webpage Freezes
I have a registration page in PHP, worked fine yesterday, today when i submit the data, it hangs the actual webpage. The data is placed into the mysql DB, and i can log in with that user id and password after i close internet explorer and open it again.
View Replies !
WebPage Creator
I need to create a form that displays webpages with personalised content. The form will be something like this Please enter title of Webpage: Please enter content for page 1: .................................... page 2: The webpages will be fairly standard over all it will only contain about 4 pages Home with links to the other 3 pages. any ideas? I'm sorry if that description is bad, i'm not too sure how best to explain it.
View Replies !
Redirected To A New Webpage
I have a form which posts data into a mySQL database, which works fine. After submission I then want the user to be redirected to a new webpage, this is the php code I have but the redirection does not work...can anyone help me with this problem. <?php mysql_connect("localhost", "mypcguy2_mypcguy", "*****") or die(mysql_error()); mysql_select_db("mypcguy2_passportforpets") or die(mysql_error()); // Form Variables $FirstName = $_GET['firstname']; $LastName = $_GET['lastname']; // Insert a row of information into the table "contacts" mysql_query("INSERT INTO contacts (pkID, fname, lname) VALUES (null, '$FirstName', '$LastName' ) ") or die(mysql_error()); header("Location: http://www.example.com/"); ?>
View Replies !
Testing Webpage
I think I've finished my website and I'd like to know if I can ask people to take a look at it to see if they get any errors but I don't know if I can do that. I wasn't able to find it in the FAQ or guidelines. So is this ok?
View Replies !
PHP Form To A Webpage
if it would be possible to set up a submission form with the following parameters: name, email, phone number and instead of storing the information to a database, the information is posted on a webpage or sorts? Is that possible or does it have to touch a database first?
View Replies !
Webpage Preview Like Ask.com
On search results from Ask.com, users can mouse over the binocular graphic next to each result to see an image preview of the page they are about to visit. Anybody know how this is done? If so, is it possible with PHP or is this one of those dark, scary, proprietary monsters?
View Replies !
Detecting Webpage Changes
I was trying to write my own code to display the differences between two webpages but I am having great difficulty. I also cannot seem to find such an animal on the web, it's incredibly hard to search for without concise terminology.
View Replies !
Creating Webpage
I'm using FCKeditor for entering data into the database. The database will store all content. Below the text editor I want a screenshot of how the currently stored data appears in the webpage template. How can this be created? Will I have to split the template into includes files?
View Replies !
Populating A Webpage
I am trying to create a webpage that will allow me to view my 'email' website whilst I'm at work. The firewall blocks the page and I was hoping that there was some surreptitious way to get around this problem. My thoughts for a solution to this would be to create a variable with the website's name in pieces. Then send it to a function that opens it in a frame or something.
View Replies !
|