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 2
1
2
>
Showing results 1 to 25 of 36
Search took
0.11
seconds.
Search:
Posts Made By:
Shauny_B
Forum:
PHP
03-20-2011, 01:23 PM
Replies:
1
Advice on my OOP CMS please - your thoughts?
Views:
500
Posted By
Shauny_B
Hello, I'd certainly recommend you checking out...
Hello,
I'd certainly recommend you checking out the new SPL types which are in PHP 5.3+.
These allow you to have fixed arrays etc... I'd also recommend you to check out namespaces so if your CMS...
Forum:
PHP
03-20-2011, 01:18 PM
Replies:
2
Random number between 7777-9999
Views:
576
Posted By
Shauny_B
Hello, PHP has a function already built into...
Hello,
PHP has a function already built into it, called rand. Here's the documentation: http://php.net/manual/en/function.rand.php
To use it in your instance here's how:
echo rand(7777,...
Forum:
ASP.NET
03-20-2011, 01:15 PM
Replies:
1
Ajax UpdatePanel
Views:
1,690
Posted By
Shauny_B
Hello, Here's an example of how to use it with...
Hello,
Here's an example of how to use it with server side click events. But if you post some code I maybe able to help you more on what you're trying to achieve.
Link:...
Forum:
PHP
03-02-2011, 11:35 PM
Replies:
1
PHP imagettftext not working
Views:
1,442
Posted By
Shauny_B
Hello, I've never tried using custom fonts on...
Hello,
I've never tried using custom fonts on the GD class but I have a feeling it may not be working for the following:
A) Fonts are not installed on the linux box.
B) Fonts may require a full...
Forum:
PHP
03-02-2011, 11:28 PM
Replies:
1
running a 5-10min SW on the server and use the result right after
Views:
260
Posted By
Shauny_B
Hello, My recommendation would to be store data...
Hello,
My recommendation would to be store data in sessions for the mp3 whilst streaming, then you're able to both check/validate within php.
You should also look into streaming mp3s via php with...
Forum:
PHP
03-02-2011, 11:21 PM
Replies:
2
Help to fix error
Views:
296
Posted By
Shauny_B
Casting should solve this issue: $row =...
Casting should solve this issue:
$row = (array)mysql_fetch_array($result) ;
Regards,
Shaun
Forum:
PHP
03-02-2011, 11:18 PM
Replies:
10
How to show dates like in forums?
Views:
761
Posted By
Shauny_B
Couple ways of doing it: $oDate =...
Couple ways of doing it:
$oDate = strtotime($row['createdate']);
$sDate = date("m/d/y",$oDate);
echo $sDate
and for PHP5:
Forum:
ASP.NET
03-12-2010, 09:21 AM
Replies:
2
connect to mysql database
Views:
1,407
Posted By
Shauny_B
Hello, You'll need to reference a MySQL class...
Hello,
You'll need to reference a MySQL class library which are available freely on the internet. Just simply google for MySQL libraries for the .Net framework.
It'll be like how you use the...
Forum:
PHP
03-09-2010, 10:35 AM
Replies:
18
Reference Common Directory files
Views:
2,066
Posted By
Shauny_B
Hello, You could do what you advised on doing,...
Hello,
You could do what you advised on doing, but you could just contain those file paths on your machine, and include via your code.
You can include paths which are stored not only in www root,...
Forum:
PHP
03-09-2010, 10:30 AM
Replies:
1
Tick box to go next
Views:
519
Posted By
Shauny_B
Hello, There are a couple ways of doing this,...
Hello,
There are a couple ways of doing this, some being with client side validation, and server side... And of course both!
To check to see if they've "checked" the checkbox by either $_POST,...
Forum:
Medium projects (new script, new features, etc)
03-02-2010, 02:21 PM
Replies:
1
teach me the important "hello world"-type stuff in Joomla (Drupal too if you want)
Views:
1,773
Posted By
Shauny_B
Hello, I'd be more than happy to teach you in...
Hello,
I'd be more than happy to teach you in return of you teaching me some techniques in Windows forms programming.
Let me know via PM if this is of interest to you.
Thanks,
Shaun
Forum:
PHP
03-02-2010, 02:03 PM
Replies:
10
Update Mysql with function
Views:
673
Posted By
Shauny_B
Hello, Please escape the values before passing...
Hello,
Please escape the values before passing them into the database, this helps to minimize the rick of SQL injection.
To escape values use this PHP function:
$_GET["yourAttribute"] =...
Forum:
PHP
02-28-2010, 10:37 AM
Replies:
3
inserting a total of a column in a table
Views:
558
Posted By
Shauny_B
Hello Mike, The best way to learn PHP in my...
Hello Mike,
The best way to learn PHP in my opinion is by doing what you're doing now. Asking for help when you're stuck on forums, and of course by actualling coding with trial and error.
...
Forum:
General web building
02-28-2010, 10:30 AM
Replies:
1
wish to play a sound once in a page to notify of change
Views:
1,012
Posted By
Shauny_B
Hello, If you're refreshing the page every 30...
Hello,
If you're refreshing the page every 30 seconds, I must try to understand you're using some client side languages?
What you could do to notify upon changes, is to have a AJAX request send...
Forum:
Small projects (quick fixes and changes)
02-27-2010, 03:20 PM
Replies:
2
Looking for a php coder to Edit a script that is almost done
Views:
1,518
Posted By
Shauny_B
Hello, I've a great interest in making, and...
Hello,
I've a great interest in making, and improving mmorpg's I'd like to be involved.
I'd not expect much pay (if any) depending on the type of game and success I feel it'll achieve.
Feel...
Forum:
PHP
02-27-2010, 03:09 PM
Replies:
3
PHP Reflection and Runkit
Views:
999
Posted By
Shauny_B
If you search the methods available, you could...
If you search the methods available, you could look through what I've done and log any method names within a variable and also say in a static array.
Then you can read/write those out into a...
Forum:
PHP
02-27-2010, 12:13 AM
Replies:
3
PHP Reflection and Runkit
Views:
999
Posted By
Shauny_B
Hello, It's probably best to define the class...
Hello,
It's probably best to define the class type in the contructor.
class Small
{
private $var = "hello"; // always make instance variables private
public function...
Forum:
PHP
02-26-2010, 03:22 PM
Replies:
12
Hyperlinking database output
Views:
757
Posted By
Shauny_B
Hello, The way I'd go about doing such a task...
Hello,
The way I'd go about doing such a task would be to use jQuery and AJAX, for example say if you "mouseover" on a specific word it then searches the database for any relavant data which matches...
Forum:
PHP
02-26-2010, 03:17 PM
Replies:
6
Passing Variables using php?
Views:
1,002
Posted By
Shauny_B
Hello, I think this is what you're looking for:...
Hello,
I think this is what you're looking for:
<?php
if(isset($_GET["URL"]))
{
$hostDetails = parse_url($_GET["URL"]);
Forum:
PHP
02-24-2010, 04:20 PM
Replies:
8
Guidance for phpmailer-fe.php
Views:
3,411
Posted By
Shauny_B
Hello, I'm unsure what you're trying to do, but...
Hello,
I'm unsure what you're trying to do, but if you're wanting to pass say an array or object to another page, I'd personally store it safe into a database as lets say serialize an object/array...
Forum:
PHP
02-23-2010, 05:11 PM
Replies:
6
An apostophe
Views:
775
Posted By
Shauny_B
Hello, Yeah, the ' basically means string for...
Hello,
Yeah, the ' basically means string for the MySQL query, wrapping variables inside the '' lets the query know string is inside it, but always make sure that you escape values coming direct...
Forum:
PHP
02-23-2010, 03:05 PM
Replies:
1
PHP MySQL column value for row
Views:
679
Posted By
Shauny_B
Hello, I noticed that you don't show which type...
Hello,
I noticed that you don't show which type of array you're wanting returned.
Also, if there's more than one matching result set use the following:
$query = mysql_query("SELECT blah FROM...
Forum:
PHP
02-23-2010, 02:57 PM
Replies:
6
An apostophe
Views:
775
Posted By
Shauny_B
Hello, Take a look at this: ...
Hello,
Take a look at this:
$recipe_updatesql = "UPDATE recipe SET title = '".mysql_real_escape_string($_POST['title'])."', description =...
Forum:
MySQL
02-23-2010, 02:41 PM
Replies:
4
what does this query mean?
Views:
2,049
Posted By
Shauny_B
Ahh of course, sorry for missing that, happy...
Ahh of course, sorry for missing that, happy someone saw and corrected. :thumbsup:
Forum:
PHP
02-23-2010, 07:55 AM
Replies:
1
Class Method with call_user_func
Views:
1,495
Posted By
Shauny_B
Hello, You need to pass the instance in by an...
Hello,
You need to pass the instance in by an array too like the following:
Here's an example where I've used it:
/**
* DetectRequestType - Checks to see all the keys and values of...
Showing results 1 to 25 of 36
Page 1 of 2
1
2
>
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
09:01 PM
.
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.