Search Results

Showing results 1 to 27 of 27
Search took 0.03 seconds.
Search: Posts Made By: YoungCoder ; Forum: PHP and child forums
Forum: PHP Aug 14th, 2005
Replies: 3
Views: 1,762
Posted By YoungCoder
It returns the current configuration setting of magic_quotes_gpc (0 for off, 1 for on).

Example:

<?php
echo get_magic_quotes_gpc(); // 1
echo $_POST['lastname']; //...
Forum: PHP Jan 27th, 2005
Replies: 1
Views: 6,498
Posted By YoungCoder
I beleive you are looking for something like:


<?php
if{$_POST["TimeDataFrm"] == "Buy Data"){
// Add code you wish to add here
} else if ($_POST["TimeDataFrm"] == "Buy Time"){
// Add code...
Forum: PHP Dec 27th, 2004
Replies: 8
Code Snippet: Hello world
Views: 3,487
Posted By YoungCoder
The allmighty hello world application!
Forum: PHP Sep 21st, 2004
Replies: 2
Views: 52,686
Posted By YoungCoder
Forum: PHP Sep 9th, 2004
Replies: 238
Views: 91,710
Posted By YoungCoder
Just to say i found a solution to the problem where you get and unknown url with thread(id).html , what i did was..

Open /includes/functions_online.php

Find:

switch($filename)


Above put:
Forum: PHP Sep 7th, 2004
Replies: 1
Views: 3,981
Posted By YoungCoder
phpmyadmin is free...checkout http://www.phpmyadmin.net/home_page/
Forum: PHP Sep 3rd, 2004
Replies: 2
Views: 4,200
Posted By YoungCoder
It should come with your forum software, then you simply upload it and run it... :mrgreen:
Forum: PHP Sep 2nd, 2004
Replies: 238
Views: 91,710
Posted By YoungCoder
When somebody visits thread(threadid).html it shows up as an unknown location on online.php, how can i fx this? I cant add an entry as i am unsure how to get it to work as the id is acctually part of...
Forum: PHP Aug 31st, 2004
Replies: 3
Views: 2,857
Posted By YoungCoder
For an online shop i recommend looking into oscommerce ;)
Forum: PHP Aug 30th, 2004
Replies: 12
Views: 4,831
Posted By YoungCoder
Also, checkout www.php.net , it has everything considering it IS PHP! If you are having trouble with a function just goto php.net/function name

For example if you are having trouble with echo()...
Forum: PHP Aug 29th, 2004
Replies: 5
Views: 32,495
Posted By YoungCoder
You could get a programmer to make it for you?
Forum: PHP Aug 28th, 2004
Replies: 238
Views: 91,710
Posted By YoungCoder
I have got myself in a bit of a pickle, im trying to get it to show properly on online.php when somebody visits thread$threadid.html and i tried this code:


case 'thread.html':
if...
Forum: PHP Aug 27th, 2004
Replies: 238
Views: 91,710
Posted By YoungCoder
Ok i got it all good now, im going to start adding this to more pages such as who's online and profile pages, if i discover anythng i shall post it up :)
Forum: PHP Aug 27th, 2004
Replies: 238
Views: 91,710
Posted By YoungCoder
I just installed it :) Its great, two probel m ihave are the online.php probelm and on index.php if you directly click the latest thread then it goes to the old .php file, however i shall be able to...
Forum: PHP Aug 27th, 2004
Replies: 8
Views: 5,571
Posted By YoungCoder
RewriteRule ^fileneame.*$ filename.php [L]


Using that line for mod_rewrite you could use anything, so if you went to filename.htm it would work, if you went to filename.file it would work, it...
Forum: PHP Aug 26th, 2004
Replies: 12
Views: 6,265
Posted By YoungCoder
That would acctually make quite a nice bedtime read! So when you goto bed after a hard day coding, and are ready to unwind, you can have a nice thorough read! I have done similar before and have...
Forum: PHP Aug 25th, 2004
Replies: 12
Views: 6,265
Posted By YoungCoder
With .htaccess a little trick learned is to use:

IndexIgnore *.php

You can use things other than php but basically this hides all files from being seen in a directory if they have a .php...
Forum: PHP Aug 22nd, 2004
Replies: 8
Views: 7,828
Posted By YoungCoder
It will be using the subsilver stylesheet, either change the path from within the code, or, as you are not using subsilver, just overwrite the subsilver stylesheet and config files with the one for...
Forum: PHP Aug 21st, 2004
Replies: 1
Views: 2,987
Posted By YoungCoder
Ok i am making something and i am not sure what, firstly it was going to be a bit like a search engine but then i got carried away on other features and now i dont even know what i am making! Its...
Forum: PHP Aug 17th, 2004
Replies: 3
Views: 3,354
Posted By YoungCoder
Never mind i worked it out :cheesy:
Forum: PHP Aug 17th, 2004
Replies: 3
Views: 3,354
Posted By YoungCoder
Ok i am getting very annoyed with myself, i am currently modding my forum, can somebody please tell me which template the forum list is in? :o

I know that in FORUMHOME it is called by $forumbits ...
Forum: PHP Aug 16th, 2004
Replies: 4
Views: 3,935
Posted By YoungCoder
Well to tell the truth i think your previouscode should have worked, al i can really think of is that there may be a problem later on in the code, i have never acctually come accross that specific...
Forum: PHP Aug 16th, 2004
Replies: 238
Views: 91,710
Posted By YoungCoder
Cool hack there, i think i shall use it on my forum and let the googlies in :cheesy:
Forum: PHP Aug 15th, 2004
Replies: 5
Views: 3,855
Posted By YoungCoder
For starters you need to give more information...do you have mysql databases, do you even have php?
Forum: PHP Aug 15th, 2004
Replies: 8
Views: 7,828
Posted By YoungCoder
You possibly set the forum URL incorrectly in the administration panel, have a look and see if it correct under configuration...
Forum: PHP Aug 15th, 2004
Replies: 2
Views: 4,118
Posted By YoungCoder
For starters your code is a mess and you are seriously overusing the usage of PHP, ok i agree PHP is great and on this small a scale it wouldn't do much, but if your going to go into bigger scale...
Forum: PHP Aug 14th, 2004
Replies: 4
Views: 3,935
Posted By YoungCoder
<?php
mysql_connect("localhost", "username", "password");
?>


Change to:


<?php
$conn = mysql_connect("localhost", "username", "password");
Showing results 1 to 27 of 27

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC