Search Results

Showing results 1 to 40 of 353
Search took 0.03 seconds.
Search: Posts Made By: Troy
Forum: PHP Nov 23rd, 2008
Replies: 9
Views: 29,114
Posted By Troy
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: 10,961
Posted By Troy
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: 715
Posted By Troy
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,050
Posted By Troy
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,154
Posted By Troy
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,867
Posted By Troy
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,432
Posted By Troy
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,208
Posted By Troy
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,801
Posted By Troy
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,266
Posted By Troy
Useful, clean, and simple. I like it.
Forum: PHP May 23rd, 2006
Replies: 5
Views: 44,219
Posted By Troy
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,912
Posted By Troy
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,384
Posted By Troy
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,562
Posted By Troy
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,384
Posted By Troy
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,225
Posted By Troy
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,406
Posted By Troy
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,324
Posted By Troy
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,706
Posted By Troy
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,333
Posted By Troy
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,333
Posted By Troy
What is your question? Please state a specific PHP-related question.
Forum: HTML and CSS Mar 24th, 2006
Replies: 5
Views: 8,607
Posted By Troy
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,450
Posted By Troy
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,885
Posted By Troy
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,327
Posted By Troy
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,607
Posted By Troy
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,806
Posted By Troy
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,560
Posted By Troy
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,492
Posted By Troy
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,734
Posted By Troy
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,725
Posted By Troy
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,889
Posted By Troy
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,806
Posted By Troy
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,734
Posted By Troy
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: 989
Posted By Troy
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,129
Posted By Troy
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,079
Posted By Troy
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,692
Posted By Troy
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,722
Posted By Troy
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,068
Posted By Troy
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....
Showing results 1 to 40 of 353

 


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

©2003 - 2009 DaniWeb® LLC