Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 4
1
2
3
>
Last
»
Showing results 1 to 25 of 80
Search took
0.19
seconds.
Search:
Posts Made By:
Truffle
Forum:
PHP
09-29-2012, 03:34 AM
Replies:
8
How to _POST a variable?
Views:
784
Posted By
Truffle
There is also the $_SESSION variable that stores...
There is also the $_SESSION variable that stores values in the users session until they close the browser. So it would stick between pages.
You start a session by calling the session_start()...
Forum:
PHP
09-29-2012, 03:25 AM
Replies:
2
Is PHP what im looking for?
Views:
409
Posted By
Truffle
For what you are wanting to do a dynamic server...
For what you are wanting to do a dynamic server side language is required
Everyone has their own opinions but I think PHP is the easiest to learn. Some may prefer Perl, Python or Ruby.
But if...
Forum:
MySQL
09-08-2012, 04:02 AM
Replies:
4
A Join that exlcudes if data does exist
Views:
1,000
Posted By
Truffle
SELECT id,name,number FROM goodcustomers ...
SELECT id,name,number FROM goodcustomers
UNION
SELECT id,name,number FROM badcustomers WHERE joinme NOT IN (SELECT id FROM goodcustomers)
Forum:
PHP
05-27-2012, 01:00 AM
Replies:
32
Is Netbeans the best we have?
Views:
1,894
Posted By
Truffle
I have just the PHP package. I also have an 8GB...
I have just the PHP package. I also have an 8GB RAM machine, 3.3GHz processor. The project does have ALOT of files though and it's under Git control. The newest netbeans has git functionality built...
Forum:
PHP
05-25-2012, 03:00 AM
Replies:
8
Php pdo
Views:
534
Posted By
Truffle
I'm not exactly sure what you are trying to do ...
I'm not exactly sure what you are trying to do
I don't see the need for having functions in there or to add anything to your class. Ideally the SafePDO class is in a separate file called...
Forum:
PHP
05-24-2012, 03:50 AM
Replies:
32
Is Netbeans the best we have?
Views:
1,894
Posted By
Truffle
Is Netbeans the best we have?
I like a lot of the features that Netbeans has. As far as features go it's the best I've come across but the software is so bloated and slow and I'm really getting tired of using it.
I've been...
Forum:
PHP
05-24-2012, 03:01 AM
Replies:
8
Php pdo
Views:
534
Posted By
Truffle
yes, the variables $dsn, $username, and $password...
yes, the variables $dsn, $username, and $password are all set when you create the SafePDO class and are sent back to the parent PDO class through this line
// . . . create a PDO...
Forum:
JavaScript programming
02-12-2012, 12:40 AM
Replies:
5
save the written text as value
Views:
612
Posted By
Truffle
and the pure javacsript which is actually less...
and the pure javacsript which is actually less code and better than jquery
<script type="text/javascript">
function blank(element)
{
element.value = "";
}
</script>
Forum:
JavaScript programming
02-12-2012, 12:35 AM
Replies:
5
save the written text as value
Views:
612
Posted By
Truffle
Not sure why it's not working for you but it...
Not sure why it's not working for you but it looks like you are mixing regular javascript with jquery.
Here is a simple jquery way of handling it.
<script type="text/javascript">...
Forum:
JavaScript programming
02-08-2012, 06:04 AM
Replies:
0
Draggable Div. mouseup event need js guru :)
Views:
352
Posted By
Truffle
Draggable Div. mouseup event need js guru :)
I set out to do a little exercise in creating draggable divs that look like app windows in pure javascript, with very little html. Problem is my mouseup event isn't always triggering and will never...
Forum:
PHP
12-15-2011, 03:50 PM
Replies:
3
MYSQL Timestamp Echo
Views:
297
Posted By
Truffle
you may want to first pull the timestamp out as a...
you may want to first pull the timestamp out as a unix timestamp using the UNIX_TIMESTAMP function in MySQL
"SELECT UNIX_TIMESTAMP(column_name) AS date FROM table"
...
$time =...
Forum:
PHP
12-13-2011, 04:19 PM
Replies:
5
How to!
Views:
2,126
Posted By
Truffle
how would you keep from getting a script timeout...
how would you keep from getting a script timeout error?
Forum:
PHP
12-13-2011, 04:09 PM
Replies:
4
barcode reading with php
Views:
1,387
Posted By
Truffle
I'm inexperienced in this area but barcode...
I'm inexperienced in this area but barcode scanners that I have seen will print a UPC number into a text field, whether its on a web page or an open Notepad/Word etc, when you scan an item
I guess...
Forum:
PHP
12-13-2011, 04:02 PM
Replies:
6
inline IF statement in PHP
Views:
2,545
Posted By
Truffle
I know you got the answer you were looking for...
I know you got the answer you were looking for but I would recommend a different approach if possible. To me that is tough to read. I would do this, fwiw :cool:
$class = ($row1['PageID'] ==...
Forum:
PHP
11-30-2011, 08:04 PM
Replies:
1
Im A Little Lost
Views:
230
Posted By
Truffle
$lowhigh_price =0( <= 0.75 * $av_price); ...
$lowhigh_price =0( <= 0.75 * $av_price);
I can't tell what that's supposed to be
Can you provide sample data and what you would expect to output based on that?
Then maybe I or someone...
Forum:
Site reviews
11-30-2011, 04:16 PM
Replies:
0
Puzzle Game
Views:
817
Posted By
Truffle
Puzzle Game
Any other gamers on here? You should recognize this from Fallout 3
Description:
Partial clone of the Robco Industries hacking game found in the video game Fallout 3. Written in Javascript/jQuery...
Forum:
PHP
11-29-2011, 03:48 PM
Replies:
7
Social Site Security
Views:
381
Posted By
Truffle
You just have to make sure your code doesn't...
You just have to make sure your code doesn't allow that.(for instance, setup a table of session keys that should correspond to a userid and the user has to have a cookie that holds a matching session...
Forum:
PHP
11-28-2011, 03:47 PM
Replies:
4
Changing an image depending on the page.
Views:
284
Posted By
Truffle
What I do is something like this I have a...
What I do is something like this
I have a file called something like "functions_frontend.php" that has the code to display the menu and other generic html stuff
In each php page I'll call the...
Forum:
PHP
11-18-2011, 04:09 PM
Replies:
4
Picture resize and resave from forum
Views:
365
Posted By
Truffle
Here's a function I made to resize images and...
Here's a function I made to resize images and keep the aspect ratio
It uses constants that I defined in an include
IMG_RESIZE_HEIGHT and IMG_RESIZE_WIDTH just replace those values.
But this...
Forum:
PHP
11-18-2011, 03:12 PM
Replies:
2
problem inserting button to sql
Views:
277
Posted By
Truffle
looks like you have variables in your sql...
looks like you have variables in your sql statement that do not exists such as $fname
The correct variable to use for that in this case is $_SESSION['fname']
It could look like this inside the...
Forum:
PHP
11-18-2011, 01:48 PM
Replies:
7
change password code
Views:
930
Posted By
Truffle
$_SESSION['login']=$login['login']; This...
$_SESSION['login']=$login['login'];
This is wrong because $login is not an array. It should simply just be holding a string value that was in $_POST['login']. So it should be like this
...
Forum:
Post a PHP snippet
11-17-2011, 08:02 PM
Replies:
3
Simple MySQL PDO Wrapper
Views:
2,694
Posted By
Truffle
Yeah you're right. I actually us $db->insert()...
Yeah you're right. I actually us $db->insert() when doing any query that doesn't require a return so it's more of a generic function than just insert
Forum:
PHP
11-17-2011, 07:21 PM
Replies:
5
How to get the browser's location (state)?
Views:
618
Posted By
Truffle
They are using navigator.geolocation which is...
They are using navigator.geolocation which is javascript and the data is only provided to you by the user if they wish to disclose it.
https://developer.mozilla.org/en/Using_geolocation
So, I...
Forum:
Post a PHP snippet
11-17-2011, 06:04 PM
Replies:
3
Simple MySQL PDO Wrapper
Views:
2,694
Posted By
Truffle
Simple MySQL PDO Wrapper
I wrote this for a project I've been working on to help simplify database queries and keep the code clean. Also read that binding the parameters in your queries is great protection against injection...
Forum:
PHP
11-17-2011, 05:39 PM
Replies:
5
How to get the browser's location (state)?
Views:
618
Posted By
Truffle
Not sure what the policy here is on posting links...
Not sure what the policy here is on posting links but google
"ip geolocation api"
The first result has an api that you can use with PHP code examples
Showing results 1 to 25 of 80
Page 1 of 4
1
2
3
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
11:05 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.