Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
[quote author=steviewdr link=topic=116507.msg475020#msg475020 date=1164712263] Generally in most control panels you have to add the "www" as a new sub-domain name for it to work. [/quote] I don't think you have to with cPanel.
-
Have you talked to your host about it?
-
[quote author=Crayon Violent link=topic=116012.msg472515#msg472515 date=1164267181] I suppose I could just pick up my thesaurus off my shelf and start entering stuff in manually..but that would really suck, lol. [/quote] Hmm... imagine those people who have compiled a first edition of a dictionary/thesaurus. I wonder what gets people to think "hey... I guess I'll write a list of all words".
-
Give the forms some color!!!!!!!!!
Daniel0 replied to linkoovi's topic in PHPFreaks.com Website Feedback
[quote author=linkoovi link=topic=116096.msg473096#msg473096 date=1164378588] Its not a dumb question, its a usability question ! I hope u are not web designer! It's nothing personal. [/quote] It's not a usability question... They can't make 6816168161681681 different skins just because somebody would like to change some settings in their OS's theme! -
Yeah. But you need PHP5.
-
When downloading LimeWire you have to agree on that you will not use LimeWire for copyright infringement (see: http://www.limewire.com/english/content/downloadfree.shtml). If you are in US and using a wireless connection you can just turn off your security and they will be unable to prove that you where the person who downloaded it. People have done that and the RIAA (Recording Industry Association of America) often drops the case. (Sources: http://www.wireless-weblog.com/50226711/dont_want_to_get_sued_by_the_riaa_just_disable_wifi_security.php, http://www.broadbandreports.com/shownews/79401) Note: I do of course not encourage you to illegally download music or other copyrighted material. [quote author=warris link=topic=114151.msg464357#msg464357 date=1162921560] So I shoulnt download songs wich are copyright? [/quote] Should you break other laws such as killing people? I think the answer is obvious...
-
And for those who don't know how to use Google: FileZilla SmartFTP CuteFTP (Pro - Home - Mac Pro) RightFTP CoreFTP JFtp FireFTP
-
[quote author=almightyegg link=topic=113910.msg463276#msg463276 date=1162744640] anybody know any good ftp programs? mine is currently broken :( [/quote] You forget to tell us what your OS was... :P
-
[quote author=ober link=topic=113921.msg463334#msg463334 date=1162754347] *(&!@#. glws.com is taken :( [/quote] Your name is sort of taken as well: "Great Lakes Web Solutions" :P
-
If you want to install cPanel then you will need a fresh installation of the OS. A onetime license is $1225, purchase that (or a yearly license) and run it's installer (if it has one). That will include Apache, PHP, MySQL and some other things. It would be easier to purchase a dedicated server that already has it or where the company installs it for you.
-
Well, it seems like apparently need a file.
-
[quote author=ToonMariner link=topic=113415.msg461470#msg461470 date=1162428210] Note that that this behavior is deprecated in the css spec.. [/quote] Where? I don't see it here: http://www.w3.org/TR/REC-CSS2/ui.html#cursor-props
-
I'm not quite sure what the ASP code do, but I think I have an idea of it. To retrieve database information do something like this: [code]<?php $link = mysql_connect("server","username","password"); mysql_select_db("the_db"); $result = mysql_query("SELECT * FROM some_table"); while($row = mysql_fetch_assoc($result)) { echo "<a href='my_single_prog_review.php'>PR No: {$row['review_id']} {$row['review_title']} {$row['review_date']}"; } ?>[/code]
-
You would need to write a parser. You could use [url=http://php.net/dom]DOM[/url]/[url=http://php.net/domxml]DOM XML[/url] or regular expressions.
-
The tutorial [url=http://www.phpfreaks.com/tutorials/139/0.php]Creating dynamic RSS feeds[/url] should give you an idea of how to do it.
-
It would be [code]<form method="post" action="{$PHP_SELF}">[/code]
-
If you want somebody to create it for you then post in the freelancing forum. If you need help creating it, then we need your code.
-
[quote author=tomfmason link=topic=113614.msg461945#msg461945 date=1162500126] [quote author=Daniel0 link=topic=113614.msg461922#msg461922 date=1162497167] http://0x4261ab05/ [/quote] I am interested in how you came up with that url. [/quote] Convert it to hexadecimal Edit: It is neither IE or Windows that does it. It works for me on Linux with Firefox: [URL=http://img225.imageshack.us/my.php?image=phpfreaksay4.png][IMG]http://img225.imageshack.us/img225/9166/phpfreaksay4.th.png[/img][/URL]
-
http://0x4261ab05/ - oooooh magic :P More magic: http://0x40E9A763 = http://1089054563 = http://64.233.167.99 = http://google.com The magic formula: [img]http://img233.imageshack.us/img233/4563/testoa7.png[/img] o[sub]n[/sub] is an octet Example IP: 64.233.167.99 o[sub]1[/sub] = 64 o[sub]2[/sub] = 233 o[sub]3[/sub] = 167 o[sub]4[/sub] = 99 Formula: [img]http://img54.imageshack.us/img54/3415/test2tv1.png[/img] And surprisingly enough that gives 1089054563. This is just an IP in DWORD format (a dotless IP). ----------------------------------- [code]<a href='http://phpfreaks.com@0xd8a38903'>PHP Freaks</a>[/code] [url=http://phpfreaks.com@0xd8a38903]PHP Freaks[/url] (click at your own risk) An unaware user could click the link and get to another site than they thought (URL obfuscation). It could be improved with a little JavaScript: [code]<a href='http://phpfreaks.com@0xd8a38903' onmouseover="window.status='http://phpfreaks.com'; return true" onmouseout="window.status=''">PHP Freaks</a>[/code] Beware where you click (if your browser doesn't warn you about that there is a username in the url).
-
I don't know why it would do that. You can use the round function to fix it. What I think would be a better solution would be to use timestamps: [code]<?php function date_sub($d1,$d2) { return round(($d1-$d2)/60/60/24,0); } echo date_sub(*timestamp one*, *timestamp two*); ?>[/code]
-
Here is a challenge for you then: Try to make a calculator where you can enter simple expressions and make it calculate it... Eg: 1+2*5
-
Try this: [code]<?php $hide_ids = array(85,86,88,90,93); $where = "forum_id!='".join("' AND forum_id!='",$hide_ids)."'"; $forum = mysql_query("SELECT title, tid FROM ibf_topics WHERE {$where} ORDER BY last_post DESC LIMIT 0, 1"); ?>[/code]
-
Try this instead: [code]<?php $result = count($longitude); $location = array(); for($i=0; $i<$result; $i++) { $location[] = "{$longitude[$i]},{$litatude[$i]}"; } ?>[/code] Note that somethings was just changed to fit my coding style, what I think caused the error was that $location was not an array.
-
Add this to your httpd.conf file: [code]AddType application/x-httpd-php .boo[/code] to get boo files parsed as PHP files.
-
There is no such thing as (predefined) HTML variables. There must be a parser somewhere on your server or in your script that changes those to something else.