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
Showing results 1 to 24 of 24
Search took
0.10
seconds.
Search:
Posts Made By:
AnniHilatE
Forum:
PHP
04-24-2009, 06:35 PM
Replies:
4
PHP into html
Views:
709
Posted By
AnniHilatE
try using a print instead of echo and see if that...
try using a print instead of echo and see if that helps.
print "<b>$newsrow[news]</b>";
Forum:
PHP
04-24-2009, 06:27 PM
Replies:
3
Yet one more question about dynamic links
Views:
810
Posted By
AnniHilatE
You are spot on right there. And i will be...
You are spot on right there. And i will be assuming that all those values are stored in your database...
function getProductLink($prodID, $databaseConnection){
$productQuery =...
Forum:
PHP
04-24-2009, 06:03 PM
Replies:
3
getting mysql result in an array
Views:
807
Posted By
AnniHilatE
You can access them without a loop, but i think...
You can access them without a loop, but i think thats ONLY if your selecting a single row, otherwise you will lose data if selecting more than 1 result.
So for populating your array with a series...
Forum:
Post a PHP snippet
04-24-2009, 07:33 AM
Replies:
0
String Formatter with regular expression.
Views:
2,066
Posted By
AnniHilatE
String Formatter with regular expression.
This probably isnt the greatest code to do the job, but it does it none the less.
The only things that need setting up, are the separators and the words you want to retain the formatting for.
...
Forum:
PHP
04-24-2009, 07:12 AM
Replies:
5
preg_replace, white space and ""
Views:
2,962
Posted By
AnniHilatE
ok, im not sure if there is an easier way to do...
ok, im not sure if there is an easier way to do this... but here is my attempt
/** AnniHilatE **
* checkString() - A function which will perform
* pattern replacement ( preg_replace ) leaving...
Forum:
PHP
04-24-2009, 02:41 AM
Replies:
5
preg_replace, white space and ""
Views:
2,962
Posted By
AnniHilatE
so the result your looking for would be similar...
so the result your looking for would be similar to:
SORT_BUTTON_SPECIAL=5,SORT_ORDER_UP=1,SORT_ORDER_DOWN=2,SORT_BUTTON_RANK=2,NAME="John Doe"
this?
Forum:
PHP
04-24-2009, 02:29 AM
Replies:
3
Php Question
Views:
804
Posted By
AnniHilatE
Im not sure exactly what you mean by your "data...
Im not sure exactly what you mean by your "data on another page".
Would this data be variables which you have defined on one page, that aren't defined on another page?
If so, then you may want to...
Forum:
PHP
04-24-2009, 02:26 AM
Replies:
3
Identifying user levels
Views:
1,945
Posted By
AnniHilatE
I found THIS...
I found THIS (http://phpsec.org/projects/guide/4.html) page regarding to session hijacking. Because i really dont know how easy it is, but it almost seems straightforward enough without some sort of...
Forum:
PHP
04-24-2009, 01:11 AM
Replies:
3
Identifying user levels
Views:
1,945
Posted By
AnniHilatE
You could always try use something like what i...
You could always try use something like what i have done in
THIS POST (http://www.codingforums.com/showthread.php?t=164517) by using classes.
You can store user levels in a session, but my personal...
Forum:
PHP
04-23-2009, 05:28 PM
Replies:
8
Resolved
Quick Variable Defining Question
Views:
707
Posted By
AnniHilatE
I made a mistake in my object construction in the...
I made a mistake in my object construction in the previous example, sorry, but i fixed it.
And i also know the code your modifying :D
simply add into your Session class:
function...
Forum:
PHP
04-23-2009, 03:29 PM
Replies:
8
Resolved
Quick Variable Defining Question
Views:
707
Posted By
AnniHilatE
Why not just make it into a function and pass...
Why not just make it into a function and pass your database class to it?
function getCountry(databaseClass $database){
$req_user_info = $database->getUserInfo($session->username);
/*...
Forum:
PHP
04-23-2009, 01:16 PM
Replies:
8
Resolved
Trouble accessing class variables
Views:
1,153
Posted By
AnniHilatE
well, now that presents me with a problem (i...
well, now that presents me with a problem (i think).
This is my current config.inc.php
//***************************
// Object handelling
//***************************
$error = new Error();...
Forum:
PHP
04-23-2009, 12:38 PM
Replies:
8
Resolved
Trouble accessing class variables
Views:
1,153
Posted By
AnniHilatE
Uhh ok, it wasnt returning null, but: ...
Uhh ok, it wasnt returning null, but:
array(14) {
[0]=>
string(1) "4"
["id"]=>
string(1) "4"
[1]=>
string(1) "9"
["userLevel"]=>
Forum:
PHP
04-23-2009, 11:58 AM
Replies:
8
Resolved
Trouble accessing class variables
Views:
1,153
Posted By
AnniHilatE
just applied the changes, the only things...
just applied the changes,
the only things which are coming up in the login.php are:
Notice: Undefined index: username in C:\wamp\www\weirynet\dev\tools\session.php on line 60
Notice:...
Forum:
PHP
04-23-2009, 11:19 AM
Replies:
8
Resolved
Trouble accessing class variables
Views:
1,153
Posted By
AnniHilatE
I really dont want to, but i really need the...
I really dont want to, but i really need the help..
Bump
Forum:
PHP
04-23-2009, 11:17 AM
Replies:
9
need help creating disclaimer page
Views:
1,549
Posted By
AnniHilatE
If you are setting the disclaimer for registered...
If you are setting the disclaimer for registered users then you could always just have a boolean field in a database determining if that user has accepted or not.
otherwise, yes, you will have to...
Forum:
PHP
04-23-2009, 11:12 AM
Replies:
5
Order by
Views:
650
Posted By
AnniHilatE
This is more of an SQL problem, now im sorry, but...
This is more of an SQL problem, now im sorry, but im not great at SQL... but maybe something similar to this
SELECT `userdata`.`rating`, `scoring`.`score`, `scoring`.`rating`
FROM `userdata`,...
Forum:
PHP
04-23-2009, 09:27 AM
Replies:
6
When should you even use objects in PHP?
Views:
1,511
Posted By
AnniHilatE
OOP becomes invaluable when you start developing...
OOP becomes invaluable when you start developing things such as user management, session management, error handling etc.
From Wikipedia - OOP...
Forum:
PHP
04-23-2009, 09:05 AM
Replies:
2
problem diplaying code
Views:
598
Posted By
AnniHilatE
Agreed, this is most likely the cause if you do...
Agreed, this is most likely the cause if you do not have a web server.
WAMP Server (http://www.wampserver.com/en/) is a rather easy server to setup on your own Windows computer.
If you already...
Forum:
PHP
04-23-2009, 07:17 AM
Replies:
3
How to insert text in between a long text
Views:
784
Posted By
AnniHilatE
Hey, I cant help a whole lot right now, but...
Hey,
I cant help a whole lot right now, but basically when i read that, i can sort of see what you need.
basically you will have a variable $strCount; which will count the current position in...
Forum:
PHP
04-23-2009, 07:02 AM
Replies:
1
Child class copy a parents values
Views:
1,077
Posted By
AnniHilatE
Yes, although i wouldn't say this would be the...
Yes, although i wouldn't say this would be the most efficient way of doing it.
Even if you pass the parent class, private variables are still private.
To do this you will need to have
...
Forum:
PHP
04-22-2009, 01:33 PM
Replies:
8
Resolved
Trouble accessing class variables
Views:
1,153
Posted By
AnniHilatE
Trouble accessing class variables
Hi Guys,
got a quick question here, that will probably be an easy resolve... but,
my class is having trouble storing data in some class variables.
Code time..
class Session{
var...
Forum:
PHP
04-22-2009, 01:16 PM
Replies:
4
Issues using a db_config.inc.php file? [PHP5]
Views:
1,583
Posted By
AnniHilatE
Hey, An easy way to have this set up, would...
Hey,
An easy way to have this set up, would be similar to what i use.
/* config.inc.php */
$dbArray = array('dbServer' => 'servername', 'dbUser' => 'username', 'dbPass' => 'password', 'dbName'...
Forum:
Post a JavaScript
08-19-2004, 09:18 AM
Replies:
114
Secure Login with javascript
Views:
119,001
Posted By
AnniHilatE
yeh i had the same problem when i was editing the...
yeh i had the same problem when i was editing the code of the .js file. and me not being a JS person took a while to figure it out. i did eventually find out how to do it.
eg. say you have the...
Showing results 1 to 24 of 24
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
07:48 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.