- Upvotes Received
- 7
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
- PC Specs
- Linux
35 Posted Topics
![]() | Re: There is no such thing as an universal "Best programming language"... For every job there is one perfect language, and thats about all i have to say about this subject. By the way, next time you make a poll , please include some really powerful languages, not only the languages … |
Re: You could use Jquery with the plugin thickbox...It lets you load a new page in an iframe as a modal popup...So you could create a small login page and load it in your iframe, you can also attach an event on succes so you could refresh the parent page | |
Re: put indexes on the columns that you use in the where clause ![]() | |
Re: @GarryHillton why do you post .NET code in a php thread? This is just spam... On topic: you can use javascript to validate the email address immediatly. This can be used to check if the email address is in a valid format ( http://www.marketingtechblog.com/javascript-regex-emailaddress/ ) If you need additional validation … | |
Re: If i would do it i would put all the info in a database...Perhaps XML would do aswell or just flat text files, depends on the application size. Anyways just link the answers to questions in you database and you should be fine... Pictures can be stored in the DB … | |
Re: Normally i don't do homework assignments, but hey , i'm in a good mood.. I haven't tested this code, but i think it should do the trick. [CODE] String input = "dog"; String output = ""; for (int i = (input.length() - 1); i >= 0; i--) output += (input.charAt(i)); … | |
Re: Well, it's actualy not really difficult. I use this method aswell, the trick is done by using apache's mod_rewrite. This function will convert your url's from game.php/items to game.php?page=items for example...It's not really hard, there are tons of tutorial on this subject. | |
Hi, I have a problem using the AJAX toolkikt TextboxWatermarkExtender. It does not show up on my page. I have set up the code as follows: [CODE] <tr> <td> Name: </td> <td> <asp:TextBox ID="name" runat="server"></asp:TextBox> <asp:TextBoxWatermarkExtender ID="nameField" runat="server" WatermarkText="Section name" TargetControlID="name"> </asp:TextBoxWatermarkExtender> </td> <td> <asp:RequiredFieldValidator ID="nameVal" runat="server" ErrorMessage="Please give in … | |
Re: They have one profile page, that serves as kind of a template for userhomes... In the link to that page, they add a parameter, which servers as an unique id(username, primary key of a mysql table,...)So in the template page, they just fetch all the info from the database that … | |
Re: Make a field in your database for each post, that records the time & date when it was posted. Then you can make a function that returns the current datetime - the insertdatetime... You round it off to whatever you want(ours, mins, seconds), and you just have to call that … | |
Re: Make sure that none of your php code shows raw sql error messages, as this can be used for sql injection, so all exceptions should be caught when the user inputs somthing | |
Re: I suggest you use LAMP server. [url]http://www.wampserver.com/en/download.php[/url] This server includes apache, php5, mysql and phpMyAdmin, guess thats basicly everything you need , except for a perl compiler? | |
Re: Well , actualy index.php?page=contact is the same thing as /page/contact The index.php page is an entry point for the entire site, and the content gets included in the index page, depending on which content is requested. And the to make the urls look pretty (/page/contact) instead of (index.php?page=...) you can … | |
Re: SELECT MAX(TEST_POINTS) FROM RESULTS where test_time <= (select MIN(TEST_TIME) FROM RESULTS) I'm not 100% sure about this query , but it looks the way to go in my eyes | |
Re: Fedora is a linux distribution. It's just a specific type of linux.. And to explain linux vs unix, well, it took me about 5 seconds on google... [url]http://wiki.answers.com/Q/What_is_the_difference_between_Linux_and_Unix[/url] | |
Re: you should replace your include with include_once, i think that is your problem. ![]() | |
Re: I prefer C# over VB :) Just a question about your explanation: what resemblence do C# and plain old C have exactly? I havent found much tbh | |
| |
Re: You can do it in a variety of languages... You could use java for it, with a mysql database as the backend... But i think the most suitable project is a web project, php, asp or java (jsf, jsp) | |
Re: On line 8 you mispelled [CODE]$condtion_id = trim($_POST['condition']);[/CODE] | |
Re: What Henzard says is very true, a litle note is you don't need AJAX for this, it can be done perfectly in simple PHP and mysql | |
Re: [CODE]# if(isset($_GET['lang'])) # { # if(isset($_GET['id'])) # {[/CODE] you have to close the parentheses.. | |
Re: pretty obvious that you always get the first record, you never tell your program to take the next record into the $record var :) try adding LIMIT 5 to your sql statement and then just iterate over the result as you normaly would | |
Re: The problem is: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>PHP</title> </head> <body> <h1>Simple Php script</h1>[/code] That's all sent to the browser before your header statement... The first statement of your file should be [code]<?php header('location:[url]www.google.com');[/url] ?>[/code] And for what you … | |
Re: Well, you could give each radio button an unique id, and check at runtime with javascript if the element with that id is checked, and then set the according textbox to visible | |
Hi, I was wondering if it is possible to create thumbnails automaticly from images when they are uploaded to the server?I would need a seperate file for the thumbnails... Does anybody have any clue of this?I was thinking in the direction of jquery but i dont know for sure :) … | |
Re: try using target="_blank" after the src attribute | |
Re: Take a look at the mod_rewrite module from the apache webserver, this will do the job for you. | |
Re: change the extension from .php to .phtml ... | |
Re: Well , i suggest instead of writing the code to the screen, take a look at the Output buffer (ob_start,ob_clean_end) functions of php...This way you can put all your content in one variable, and then just send the email with the content of this var. | |
Re: Well it's not that hard to figure out ;) It refers to a field of the struct.. | |
Re: Logging software...Firewalls, every decent application has an log app backing it up? | |
Re: Are you sure that the hosting provider supports PHP? | |
Re: You probably want to go for a web application in ASP,PHP or likewise... That way you have one server, that hosts the application & database... Next you just have to create a login functionality with different users, and thats pretty much it. If it has to be a desktop application … |
The End.