Forum: PHP Nov 23rd, 2008 |
| Replies: 9 Views: 29,455 Here is a tiny bit of PHP that will better demonstrate the logic. Instead of a link, I used a textbox in a form so you could actually change the ID to see that the code works. Create a page named... |
Forum: Linux Servers and Apache May 5th, 2008 |
| Replies: 13 Views: 11,003 All, I just wanted to pop in here to say first, thanks for the thanks and glad I could help. Second, those very specific steps I provided were back in 2005, as indicated in the post. Some things are... |
Forum: PHP Dec 16th, 2007 |
| Replies: 2 Views: 723 This is not the correct forum, but I don't see what the correct forum would be. Your issue would be a webserver-specific question--not a programming issue. HOWEVER, you could use PHP to redirect... |
Forum: PHP Dec 16th, 2007 |
| Replies: 7 Views: 1,062 Building a stateful web application is possible, but not feasible for most application scenarios. As for why a person may want such a thing? LOTS of reasons. An obvious example is a browser-based... |
Forum: IT Professionals' Lounge Dec 16th, 2007 |
| Replies: 4 Views: 1,159 I'm sure there are some more commercial products with wizard-type interfaces to help you, but I don't know what they are. I do know that if you are geeky enough, you could build a script that... |
Forum: PHP Oct 2nd, 2007 |
| Replies: 17 Views: 14,956 The code is designed for PHP programmers to integrate into their apps. So if you are not very familiar with PHP programming, it will probably be difficult to understand my class. However, over the... |
Forum: IT Professionals' Lounge Mar 11th, 2007 |
| Replies: 14 Views: 6,503 Btw, I've started working with Python. I'm very impressed so far. Python is a mature, robust, efficient language somewhere between PHP and C. Python is a fantastic scripting language for shell tasks.... |
Forum: JavaScript / DHTML / AJAX May 23rd, 2006 |
| Replies: 4 Views: 14,381 This is a simple to use, self-contained website slideshow utility. Do you have a monitor or TV setup in your lobby where you'd like to present web content automatically? With this HTML/Javascript... |
Forum: PHP May 23rd, 2006 |
| Replies: 1 Views: 4,864 I'm sure the code is good, but I recommend the use of the popular ADOdb class library for database access. It is fast and robust and allows you to use the same code to connect to multiple databases... |
Forum: PHP May 23rd, 2006 |
| Replies: 2 Views: 6,302 Useful, clean, and simple. I like it. |
Forum: PHP May 23rd, 2006 |
| Replies: 8 Views: 44,852 This is a PHP script that allows javascript clients to request content they otherwise would not be able to. With the popularity of AJAX (using the XmlHttpRequest object in the browser), many... |
Forum: PHP Mar 29th, 2006 |
| Replies: 6 Views: 3,959 That is not an error message, that is simply PHP code being dumped as output. That is what you'll get when you request a PHP-coded file from a webserver that is not configured to process PHP or a... |
Forum: PHP Mar 28th, 2006 |
| Replies: 3 Views: 2,395 Thanks, DanceInstructor. That looks like an excellent reference. Brims, note that by quickly scrolling through the article, there are easily over 1,000 lines of code to create the system. |
Forum: MySQL Mar 28th, 2006 |
| Replies: 1 Views: 1,566 Although you can store large binary data blobs (such as MP3s) in a database, I recommend you store the media files as normal files in the filesystem. Use the database to store meta data--that is data... |
Forum: PHP Mar 28th, 2006 |
| Replies: 3 Views: 2,395 Don't fool yourself into thinking that you are going to find tidy pre-packaged scripts that fit nicely into your application.
From what you've described, you want to develop a custom online music... |
Forum: Upcoming News Stories Mar 28th, 2006 |
| Replies: 8 Views: 6,259 Thanks, Christian. I appreciate your review. My web servers are still FC2. I only use Linux for serving, so I don't install any of the GUI tools. Each new release, though, gets me closer to... |
Forum: PHP Mar 28th, 2006 |
| Replies: 4 Views: 1,416 You may find this document helpful.
http://www.troywolf.com/articles/wamp_howto.htm
No need to install on seperate partitions or anything. Apache is not an operating system--it's just a program... |
Forum: PHP Mar 27th, 2006 |
| Replies: 2 Views: 1,328 You must wrap string literals within single quotes. You also have some extraneous parenthesis in your query. Try this:
$query ="SELECT *"
." FROM ".$SQL_COUNTTABLE
." WHERE SC_REFERENCE LIKE... |
Forum: PHP Mar 27th, 2006 |
| Replies: 2 Views: 1,725 I'm a nice guy, but I got to say, RTFM. The code examples in the PHP documentation are VERY good. It is unlikely that anyone here is going to explain it more simply than the PHP documentation.
You... |
Forum: PHP Mar 27th, 2006 |
| Replies: 3 Views: 1,343 bwest, my guess--and of course I could be wrong--is that this is a school assignment. The nature of the task and the requirements seem to indicate as much. If this is the case, he/she may be... |
Forum: PHP Mar 27th, 2006 |
| Replies: 3 Views: 1,343 What is your question? Please state a specific PHP-related question. |
Forum: HTML and CSS Mar 24th, 2006 |
| Replies: 5 Views: 8,688 I don't know that I'd say using a server-side scripting language is the "best" way. You can certainly build a good solution that way. I provide a PHP example for password-protecting pages in my... |
Forum: MySQL Mar 24th, 2006 |
| Replies: 5 Views: 12,532 Yes, you can script a solution. The question then is, what programming languages are you comfortable with? If you are not a programmer, then you need to find one.
You can use ODBC drivers to... |
Forum: MySQL Mar 24th, 2006 |
| Replies: 1 Views: 8,978 MySQL does not have a direct function to produce this, but you may find the RAND() function helpful. Find RAND() on this page:
http://dev.mysql.com/doc/refman/4.1/en/mathematical-functions.html
... |
Forum: JavaScript / DHTML / AJAX Mar 24th, 2006 |
| Replies: 1 Views: 2,343 To handle the content switching, I recommend you look into AJAX. This means using the javascript XmlHttpRequest object. There are a few popular AJAX function libraries out there to make it easier. I... |
Forum: HTML and CSS Mar 24th, 2006 |
| Replies: 5 Views: 8,688 Password protection can be tackled a lot of different ways and they depend on:
Which OS (windows? linux?)
Which webserver (IIS? Apache?)
Do you have admin privs on the server?
Do... |
Forum: PHP Mar 24th, 2006 |
| Replies: 6 Views: 1,821 Do we assume you tried to install PHP on a Windows computer? Which web server? IIS? Apache?
It is difficult to help you without some details like this. If you want accurate, thorough answers, ask... |
Forum: JavaScript / DHTML / AJAX Mar 24th, 2006 |
| Replies: 12 Views: 19,708 I wrote a PHP proxy script that has some applications relevant to this thread, so thought I'd update the thread with this....
If your webserver supports PHP, I have a script that is a solution to... |
Forum: PHP Mar 22nd, 2006 |
| Replies: 3 Views: 3,556 You are creating both the dir and the file with permissions 755. This means that the owner ('nobody' in this case) can execute, write, & read. Everybody else can execute and read, but not write.
... |
Forum: PHP Mar 22nd, 2006 |
| Replies: 4 Views: 1,741 What version did you download exactly? I'll check it out. In any case, the conf files have always ended in the ".conf" extension. These conf files traditionally live in a "conf" dir under the Apache... |
Forum: PHP Mar 21st, 2006 |
| Replies: 1 Views: 1,739 First of all, my WAMP HOWTO explains STEP BY STEP how to install Apache, MySQL, MySQL and phpMyAdmin on Windows.
http://www.troywolf.com/articles
Installers are great until there is something you... |
Forum: MySQL Mar 20th, 2006 |
| Replies: 1 Views: 1,909 I think you'll find my WAMP HOWTO (http://www.troywolf.com/articles/wamp_howto.htm) answers most of those questions. It is complete with PHP code examples to connect to your database. |
Forum: PHP Mar 20th, 2006 |
| Replies: 6 Views: 1,821 You may also find my post at http://www.daniweb.com/techtalkforums/showthread.php?t=40834&highlight=client-side+javascript+PHP helpful in understanding at a high level the difference between... |
Forum: PHP Mar 20th, 2006 |
| Replies: 4 Views: 1,741 Concerning your IIS trouble... you say it was working then unexpectedly stopped working. Probably your easiest route is to get that working again. Can you browse to http://localhost and see any... |
Forum: PHP Mar 20th, 2006 |
| Replies: 1 Views: 997 Thank you for posting to Daniweb! For future post in this forum and any forum, I recommend you create a title that succinctly describes your issue or question. "help!" doesn't do it. :)
... |
Forum: HTML and CSS Mar 18th, 2006 |
| Replies: 5 Views: 2,139 The yellow triangle you refer to means the page has a javascript error. An error in the webpage is not your fault, it is the fault of the person who created the page.
A javascript error is nothing... |
Forum: HTML and CSS Mar 18th, 2006 |
| Replies: 1 Views: 9,165 All you can do is prompt the user to set their browser to print the document landscape. They can do this in all the popular browsers using the File/Page Setup menu. I know you'd like to control it... |
Forum: PHP Mar 17th, 2006 |
| Replies: 9 Views: 21,893 Does your organization use Microsoft Exchange?
Do you have a need to incorporate your Exchange data with your PHP web applications?
You can use the WebDAV methods to query your Microsoft... |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2006 |
| Replies: 2 Views: 2,748 I fixed all the obvious problems I found (there were several).
var message="Function Disabled!";
function clickIE()
{
if (document.all) {
alert(message);
return false; |
Forum: PHP Mar 17th, 2006 |
| Replies: 2 Views: 2,076 Here is a Daniweb thread where I show a code example to connect to a mysql db, select a db, create a query, execute it, and work with the resulting data.... |