193 Posted Topics

Member Avatar for Ragnarok
Member Avatar for wise1

[QUOTE=Roberdin]only idiots have register globals enabled. And obviously it's best to be content specfic, eg $send_mail or whatever.[/QUOTE] Most webhosts have register_globals on, but I always use .htaccess in my root to turn it back off for myself anyways :)

Member Avatar for imgtube
0
307
Member Avatar for GReddy4u
Member Avatar for steveneven

I rarely use the features that come w/ my internet connection (besides internet ;)) so I'm not aware of many of them; pop3 account and webmail are only 2 of the few that I know of. Anyways, I'm in Canada, and it's $44.95 CAD with no maximum monthly limit, and …

Member Avatar for kosmoe
1
652
Member Avatar for tayspen
Member Avatar for mattyd
0
988
Member Avatar for arun_kumar_c

I'm sure there are more students than professionals on these forums :)

Member Avatar for ~s.o.s~
0
2K
Member Avatar for )BIG"B"Affleck

You can basically just use any webhost that doesn't block hotlinking images, which there are a lot of ;)

Member Avatar for mangoman
0
452
Member Avatar for phpnovice

Also I find this handy if I want to completely block users from viewing the contents of a folder; just put [b]deny from all[/b] in a .htaccess file to block all users! :) This is great for a folder that contains include files that are included by other scripts but …

Member Avatar for joelgreen
0
139
Member Avatar for vipula

Use <input type="checkbox" name="checkbox[]" value="your value" /> Keep using that for your checkboxes, but just change value="". It will put all your checkbox values into the $_REQUEST[checkbox][] array. Then on the next page and the page after, etc. etc., just output this into HTML: [php]<?php $previous_checkboxes = ''; foreach ($_REQUEST['checkbox'] …

Member Avatar for vipula
0
242
Member Avatar for ShaneMcP

AdSense, in my opinion, is great. It is easy to integrate, and the return isn't too bad, especially for its simplicity. Not much else to say. I don't even optimize my pages (my site's a forum, actually, like Daniweb) but that's not really a problem for me. The ads are …

Member Avatar for Dani
0
360
Member Avatar for ndw2004

[QUOTE=ndw2004]whats a php nuke?[/QUOTE] Google it :) It's a CMS basically (content management system). The way that I learned PHP was by immediately creating scripts that people requested, at different websites, such as [url]www.vbulletin.org[/url] (vBulletin addons and mods). That helped me to learn things and give me new creative ideas …

Member Avatar for jamshid
0
214
Member Avatar for mtheory

Ajax is the future, not Flash. Reason? Ajax does not require any plugins to be installed. All you need is a modern browser, which more people certainly have, than Flash. Also, you need to continuously update Flash - in fact, Macromedia just recently released a new version of Flash a …

Member Avatar for ShaneMcP
0
285
Member Avatar for Barabus

Just download WAMP for Windows or LAMP for Linux. I'm unsure if those complete packages still exist, but give it a try. It downloads the entire set for you and you can install it as a bundle... I believe.

Member Avatar for martinkorner
0
366
Member Avatar for alc6379

You call those old Macs? I remember my mac, was a 1988 model or something? (I wasn't much of a computer fan back then, if you know what I mean :p) I only used it for playing chess against an AI :D I can't quite remember the exact model (I'd …

Member Avatar for quantico
0
236
Member Avatar for himerus

Yeah, it's a good idea, but I think that just replacing the entire word with one character is neater so you can see the length of the character (and guess what it is if you really need to know what it was :p).

Member Avatar for extermin8tor
0
770
Member Avatar for big_k105
Member Avatar for alc6379
0
129
Member Avatar for Lexani

Yeah, a Java applet is better, or a Flash file, than PHP for video chat.

Member Avatar for digital-ether
0
302
Member Avatar for tristan17
Member Avatar for Gary King
0
104
Member Avatar for Rashakil Fol

Nice job, Dani! But, where's vBulletin 3.5 (Ajax)? Different colors for each category? And please increase depth of forums shown on forum index. This new layout has a bit of a learning curve for those who are used to the old one. Even for me, I sort of had to …

Member Avatar for Dani
0
662
Member Avatar for Gary King

Show the subforums on the forum index so we can see what subforums exist. With the way it is now, people don't even know that most of the subforums exist. I wasn't even aware that this forum ([b][url="http://forum26.html"]DaniWeb News and Feedback[/url][/b]) even had subforums until I opened it. There is …

Member Avatar for Dani
0
231
Member Avatar for Xtothel
Member Avatar for pulse
0
157
Member Avatar for ashneet

You don't have to get really advanced to get the time :) There is already a built-in function for that that can do all of that in one line. [php] if (date('A') == 'AM') { // it is AM } else { // it is PM } [/php]

Member Avatar for ashneet
0
193
Member Avatar for Alona

[url]http://statcounter.com/[/url] is another good service for this. I suggest using whatever control panel you have available to you and using that instead, though, since those are often more powerful. I'm talking about products such as Urchin, AWStats, etc.

Member Avatar for zippee
0
153
Member Avatar for hbmarar

You'll need to explain your problem more clearly. I have a hard time understanding what you are trying to accomplish.

Member Avatar for digital-ether
0
187
Member Avatar for viperman224

The MySQL server also needs to be running before using it. It is not like PHP, since PHP only runs when it needs to. Start -> Run -> "services.msc" -> Enter. Then select the MySQL service and hit 'Start'.

Member Avatar for chizy2
0
210
Member Avatar for JC_McGeekster

[QUOTE=_priya_]Have you googled? I found the following for you: [url]http://www.a1javascripts.com[/url][/QUOTE] I don't think these are what he wants. He wants something like: [url]http://www.php.net/quickref.php[/url]

Member Avatar for Gary King
0
167
Member Avatar for SpS
Member Avatar for zenmasher

I'm certain that there is an AppleScript for this. Directory: [url]http://www.dougscripts.com/itunes/index.php[/url]

Member Avatar for gortonsfi
0
143
Member Avatar for Gary King

I don't think that [b]DaniWeb IT Community[/b] should go to daniweb.com (the portal), but instead, it should go to the forum's index page, like it usually does in vBulletin. Would be less confusing for me, so I always click there to go back to the forum's index, and I'm sure …

Member Avatar for Dani
0
268
Member Avatar for Ragnarok

[url]http://directory.google.com/Top/Computers/Software/Internet/Site_Management/Content_Management/Open_Source/[/url]

Member Avatar for PoA
0
168
Member Avatar for morgan_morgen

Code: [url]http://www.google.com/search?num=30&hl=en&lr=&q=Fibonacci+number+C%2B%2B&btnG=Search[/url] They all do the same thing. So I'm sure you can just pick one and use that. [b]Or[/b], compare it with yours to see what you did wrong.

Member Avatar for Gary King
0
155
Member Avatar for catnip_18

You will need a lot of money to get something like eBay, then! Try to get some venture capital funding, if you can, and are serious about this. Or at least a full time programmer.

Member Avatar for php4ever
0
83
Member Avatar for michael123

You can try changing the MIME type, which I believe you can do in PHP. Something like: [php] header("Content-Type: {$mime}");[/php] Info: [url]http://ca3.php.net/manual/en/function.header.php[/url] Only works if the image is viewed on its own page, I believe.

Member Avatar for TopDogger
0
777
Member Avatar for hdc
Member Avatar for Gary King

If you are inside a [b]Solved[/b] thread, you would never know it, because there is nowhere to tell you that it is solved. Please put the text 'Solved' somewhere in solved threads to distinguish between solved and unsolved threads.

Member Avatar for Dani
0
78
Member Avatar for MandarinMark

You could use the COUNT function that exists in MySQL instead. [php]$count = mysql_query ("SELECT COUNT(*) AS count FROM events ORDER BY event_id DESC"); $count = $count['count']; // $count now contains # of rows [/php]

Member Avatar for Gary King
0
147
Member Avatar for SpittingSctsman

I doubt the errors are random. It is caused by something, usually human error, 99.9% of the time ;) I'm not too sure with your code, but be assured that the error is trying to make as much sense as possible, in this case. That's the best I can say …

Member Avatar for SpittingSctsman
0
140
Member Avatar for Koldar

There are some services to check and email you if your website goes down. A partial list: [url]http://www.webhostingtalk.com/showthread.php?s=&threadid=400382[/url] Also, your PHP code looks right. Have you tried testing it? You can test it by changing your MySQL database info, for instance, so that it cannot connect.

Member Avatar for Gary King
0
176
Member Avatar for Atomical

If you need to use preg_match() then use it. If strpos() can do the job, then use that. Does that answer your question? Your question wasn't really clear in your post.

Member Avatar for Atomical
0
209
Member Avatar for Ghost

.html typically seems to be more popular. I don't really mind either one, myself, I suppose. Depends on if I feel like typing the extra 'l' or not :)

Member Avatar for Zachery
0
168
Member Avatar for stevoo

Asking at [url]www.vbulletin.org[/url] is your best shot. But some psuedo code:[php]// connect to forum database first (use mysql_connect(), mysql_select_db()) // Then simply do something like: $members = mysql_query("SELECT COUNT(*) AS count FROM user"); // $members['count'] should contain the total members[/php]

Member Avatar for Gary King
0
209
Member Avatar for autocrat
Member Avatar for Gary King

Starting up IE sometimes does not work for me. I just double-click on it to open it, then it doesn't do anything else. What should I check out? I think I'm secure already (as in, no viruses, adware/spyware, HijackThis looks fine, etc.) so don't think that that is the problem. …

Member Avatar for Garivivi
0
207
Member Avatar for vipula
Member Avatar for vipula
0
211
Member Avatar for Atomica

I don't think he means that. He just wants MySQL access. Just get a host like [url]www.coolfreepages.com[/url] or something (I'm not too keen on free hosts, I use a paid host for many years now.)

Member Avatar for Phaelax
0
132
Member Avatar for curiousdan

I haven't looked at MSSQL for a long time, but I believe it's like ~$1,000 or so? MySQL = free

Member Avatar for mediaphyte
0
227
Member Avatar for Stick

$today becomes an array, so it itself has no value What I suggest is to turn $today from an array to a string by doing this: [php]$today = serialize($today); // turns into a string[/php] Then insert $today into the database like you normally would. In order to get the data …

Member Avatar for Gary King
0
106
Member Avatar for SiteTutor

Make sure you can send out emails from your server. Go here: AdminCP -> Import & Maintenance -> Diagnostics -> Email The rest is self-explanatory.

Member Avatar for Eternal2u
0
478
Member Avatar for BoogaBooga

Create an .htaccess file in the directory you want to affect (and all subdirectories in it.) The contents of [b].htaccess[/b] will be: [code] php_value session.save_handler files[/code] Done.

Member Avatar for BoogaBooga
0
173
Member Avatar for jrbamberg

Why not use a MySQL database? Easier to manage. But if not, then you can do something like create a directory that contains all the messages, giving each filename an ID, like 1.txt, 2.txt, or something more uncommon so that they are harder to find, like an MD5 hash of …

Member Avatar for Gary King
0
82

The End.