Posts
 
Reputation
Joined
Last Seen
Ranked #961
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
24
Posts with Upvotes
23
Upvoting Members
20
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
10 Commented Posts
~137.87K People Reached
Favorite Tags
Member Avatar for HanFromNL

First, make sure that the file is saved with a .php extension. Then try this: [CODE]<?php echo date("I F d, Y"); ?>[/CODE] It could be that the uppercase "D"ate is causing the issue. Also, you are using short tags <? ?>. Some server configurations do not allow this. Instead, always …

Member Avatar for Nour_6
0
37K
Member Avatar for cwarn23

Finding a secure hash function is quite a challenging and often overlooked task, so thanks for this share! I haven't tested this yet, but I'm sure this will come in handy for many of us.

Member Avatar for rubberman
1
998
Member Avatar for jakizak

Look here: [url]http://api.jquery.com/load/[/url] Depending on how often you want your feed to be updated you could use a Javascript setInterval() function to repeatedly call the .load ajax feed. Here is something I've used in the past (to update a price of an item every couple of seconds). [CODE] <!DOCTYPE html> …

Member Avatar for dean8710
0
2K
Member Avatar for mbarandao

Hi there, I have no idea what that error code is referring to. But I'd recommend checking the values within the arrays you're trying to plot from. I'd use FusionCharts with PHP for really good charts and documentation.

Member Avatar for pritaeas
0
1K
Member Avatar for overrising

So what are you trying to do? From the title of your post it seems you're trying to create a table in a database, but your code is just printing data from your database?

Member Avatar for diafol
0
942
Member Avatar for nonshatter

Hey, I am having a really annoying problem when trying to set up a foreign key in my database... I have two tables - Sell and Category I want the 'c_id' from the Category table to be the foreign key for 'p_id' in the Sell table. Both tables are InnoDB …

Member Avatar for smantscheff
0
4K
Member Avatar for nonshatter

Hey guys, I have this code which grabs categories from my category table of the database and populates the category drop-down box. I was hoping someone could tell me how I could populate the second drop-down box depending on what was selected in the first box. E.g. If "Networking" is …

Member Avatar for prash21m
0
149
Member Avatar for Ritesh_4

It depends on your directory structure. Issue this command to find your base directory: [CODE]~# cat /etc/apache2/sites-available/default | grep DocumentRoot[/CODE] For example, if your document root is set as /var/www/htdocs Then the URL localhost/phpmyadmin would mean that the phpmyadmin folder is located in /var/www/htdocs. If the phhpmyadmin folder isn't in …

Member Avatar for tinker
0
779
Member Avatar for David 78
Member Avatar for abhi10kumar

Look here: [url]http://jqueryui.com/demos/datepicker/[/url] They have written the code for you. You need a copy of jquery and the jquery UI. See here for how to get them: [url]http://jqueryui.com/docs/Getting_Started[/url] [CODE] <!DOCTYPE html> <html> <head> <link type="text/css" href="css/themename/jquery-ui-1.8.16.custom.css" rel="Stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script> <script> $(function() { $( "#datepicker1, #datepicker2" …

Member Avatar for nonshatter
0
78
Member Avatar for vibhaJ

The answer: "Straight FTP is, by nature, quite insecure, since neither the authentication nor the traffic are in any way encrypted." I'd use SSH/SCP or SFTP instead: [URL="http://mobaxterm.mobatek.net/"]MobaXterm[/URL] is one of my personal favourites. Or you could try WinSCP which allows you to select which protocol you want to connect …

Member Avatar for vibhaJ
0
225
Member Avatar for rom.

I think you could use chown to set apache as the owner/group of /var/www This post seems to answer your question rather well: [url]http://serverfault.com/questions/6895/whats-the-best-way-of-handling-permissions-for-apache2s-user-www-data-in-var-w[/url]

Member Avatar for nonshatter
0
206
Member Avatar for nonshatter

All, I have an issue with my web server, relatively minor but something that has been bugging me: I have two systems, both running the same spec OS, software etc... I use one as a dev server and the other as a production server. The webpage I am rendering on …

Member Avatar for nonshatter
0
111
Member Avatar for devinodaniel
Member Avatar for aldm

The following links may be of interest (If you are using Apache web server): [url]http://evolt.org/node/22880/[/url] [url]http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html[/url]

Member Avatar for aldm
0
254
Member Avatar for nonshatter

I have a foreach loop, within which I would like to create x number of unique variables. E.g. Upon each iteration I'd like to create a new variable like: $strDisk1 = ... $strDisk2 = ... $strDisk3 = ... I have tried the following but this does not work: [CODE] <?php …

Member Avatar for cjohnweb
0
7K
Member Avatar for solvesak

Take your pick... [url]http://www.tripwiremagazine.com/2010/02/15-jquery-plugins-to-create-stunning-image-zoom-effects.html[/url]

Member Avatar for divyakrishnan
0
134
Member Avatar for dhruv_arora

Depending on what browser you are using, I'd recommend installing a browser extension so that you can get some sort of log message to show what part of your js code is failing. I use the [URL="https://chrome.google.com/webstore/search?hl=en-GB&q=developer+tools"]developer tools[/URL] compatible with google chrome. Firebug is another good alternative. In addition, you …

Member Avatar for dhruv_arora
0
170
Member Avatar for winecoding

Go to your root directory: [CODE]# sudo find . | xargs grep -i 'NameOfFunction'[/CODE] grep is the tool to use.

Member Avatar for Go_bots
0
177
Member Avatar for svmer

By default, the original HTML you posted: [CODE] <html> <a href="http://www.daniweb.com">daniweb</a> <a href="http://www.daniweb.com">daniweb 2</a> </html> [/CODE] Does display: [CODE]Daniweb daniweb 2[/CODE]

Member Avatar for almostbob
0
100
Member Avatar for haimz
Member Avatar for edwinhermann
0
97
Member Avatar for panhwer

Cookies are available on the client-side, so they can be seen from the browser. Sessions are stored on the server, and are never sent to the client (except if you write some cludge to do that). If sessions were stored on the client-side, I don't believe your PHP code would …

Member Avatar for nonshatter
0
107
Member Avatar for nonshatter

All, I have two tables. TABLE A TABLE B 1 1 2 2 3 3 4 4 These tables have links in the database. I.e. Table A id 4 can be linked with table B id 2. Or table B id can be linked with an id in table A) …

Member Avatar for twiss
0
83
Member Avatar for geekme

Make sure you have the relevant driver for your dongle/wifi card. Also make sure that the card manufacturer has driver support for your distro. You can usually find out on the manufacturers website. Here are some [URL="https://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide"]helpful pointers[/URL]: [CODE]With your computer turned off, insert your wireless adapter into a suitable …

Member Avatar for nonshatter
0
98
Member Avatar for nonshatter

Hi there, I am in the process of implementing draggable/droppable interaction using the JQuery UI. This is something that I have very little experience with so please be gentle. I can drag and drop using <tr> elements which looks great, but I need to get the <tr> attributes (perl variables) …

Member Avatar for nonshatter
0
111
Member Avatar for mi.mac.rules

There is a syntax error in your configuration file. You should be using /usr/local/apache2/sites-available/default to configure the directives in apache. But it looks like you have edited httpd.conf. Perhaps you are using a deprecated directive? Can you post lines 60-70 of httpd.conf so I can have a look. Have you …

Member Avatar for madihaghafoor
0
870
Member Avatar for mi.mac.rules

Try using: [CODE] sudo apt-get install libapache2-mod-auth-cas [/CODE] then use the command below to enable the module [CODE]a2enmod auth_cas[/CODE] restart the apache server [CODE]/etc/init.d/apache2 [/CODE] and you should be golden

Member Avatar for mi.mac.rules
1
1K
Member Avatar for calebcook

try using the COUNT() function in MySQL. Replace 'record_id' with the name of the column in your table. [CODE]$query = mysql_query("SELECT COUNT(record_id) AS counter FROM table"); $result = mysql_fetch_assoc($query); echo "Sent to $result['counter'] People <br>"; [/CODE]

Member Avatar for klemme
0
182
Member Avatar for johndohmen1963

I believe the chmod command will only work on a Linux-type OS's whereas you're using XAMPP for Windows. 1. Navigate to this directory $mapbeschrijving/$slides 1/slides or whatever it is (The directory you are attempting to write the file to), 2. Right click on directory -> select properties -> you should …

Member Avatar for johndohmen1963
0
598
Member Avatar for TechySafi

I think it's because your db connection code is only being called in the first else condition. Move include('db.php'); near the top of the file (outside of any if/else condition)

Member Avatar for TechySafi
0
123