Search Results

Showing results 1 to 40 of 211
Search took 0.01 seconds.
Search: Posts Made By: Troy ; Forum: PHP and child forums
Forum: PHP Nov 23rd, 2008
Replies: 9
Views: 30,000
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: PHP Dec 16th, 2007
Replies: 2
Views: 738
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,079
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: PHP Oct 2nd, 2007
Replies: 17
Views: 15,133
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: PHP May 23rd, 2006
Replies: 1
Views: 4,930
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,352
Posted By Troy
Useful, clean, and simple. I like it.
Forum: PHP May 23rd, 2006
Replies: 8
Views: 45,872
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: 4,040
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,406
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: PHP Mar 28th, 2006
Replies: 3
Views: 2,406
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: PHP Mar 28th, 2006
Replies: 4
Views: 1,430
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,334
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,757
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,361
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,361
Posted By Troy
What is your question? Please state a specific PHP-related question.
Forum: PHP Mar 24th, 2006
Replies: 6
Views: 1,845
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: PHP Mar 22nd, 2006
Replies: 3
Views: 3,638
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,760
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,760
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: PHP Mar 20th, 2006
Replies: 6
Views: 1,845
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,760
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: 1,018
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: PHP Mar 17th, 2006
Replies: 9
Views: 22,120
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: PHP Mar 17th, 2006
Replies: 2
Views: 2,097
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....
Forum: PHP Mar 15th, 2006
Replies: 2
Views: 1,866
Posted By Troy
^[0-9a-z]{5,9}$|^$
Forum: PHP Mar 15th, 2006
Replies: 4
Views: 10,226
Posted By Troy
Whether you are using PHP4 or 5, I have 2 PHP classes that will give you almost everything you need. They come with LOTS of code comments and clear examples.

class_http.php - Use this to pull the...
Forum: PHP Mar 13th, 2006
Replies: 1
Views: 2,122
Posted By Troy
The problem is exactly what the error message states. The resource is not a valid MySql resource. This is because the query is invalid or not producing any data.

Instead of building your SQL...
Forum: PHP Mar 13th, 2006
Replies: 1
Views: 2,462
Posted By Troy
Obviously there are numerous people on Daniweb who can answer your questions. But why bother posting questions in a forum for something you can figure out yourself with a simple search engine query?...
Forum: PHP Mar 13th, 2006
Replies: 40
Views: 9,562
Posted By Troy
Forum: PHP Mar 13th, 2006
Replies: 40
Views: 9,562
Posted By Troy
You need to start with programming 101. Having somebody teach you how to program a database-driven account login application via instant messaging is NOT a place to start.

You will need a...
Forum: PHP Mar 13th, 2006
Replies: 4
Views: 1,457
Posted By Troy
Paradox, his question is clear enough I think. His point is that you can't simply double-click a PHP file on your local disk and expect it to pop open and run in the browser---like you would an HTML...
Forum: PHP Mar 11th, 2006
Replies: 40
Views: 9,562
Posted By Troy
Hey, I want to write a Word Processor to compete with Microsoft and put Microsoft Office out of business. Can somebody show me how to do that? ;) JUST KIDDING!
Forum: PHP Mar 11th, 2006
Replies: 27
Views: 6,679
Posted By Troy
If you are running the troubleshooting example I gave you that looks something like this:

$file = '/var/www/htdocs/somefile.exe';
if (file_exists($file)) {
echo "<br />file found";
} else {...
Forum: PHP Mar 10th, 2006
Replies: 2
Views: 1,811
Posted By Troy
I'd like to add that Apache is also very stable on Windows and many websites use Apache and PHP on Windows to serve their websites. However, Apache and PHP are native on Linux. If you are starting...
Forum: PHP Mar 10th, 2006
Replies: 2
Views: 1,508
Posted By Troy
csgal is correct, but based on your question, I'm thinking you may need an even higher-level answer? If not, just ignore this post! ;)

When you browse the web, you do so with browser software...
Forum: PHP Mar 7th, 2006
Replies: 8
Views: 1,603
Posted By Troy
In my brief check, I did not see anything strange about the HTML that would possibly not show up in some browsers, but, you should always ask people these questions when they report this issue:

...
Forum: PHP Mar 7th, 2006
Replies: 8
Views: 1,603
Posted By Troy
Well, I logged in using latest versions of both Firefox and IE. In both cases, I saw the "Place Ads" links under the small photos.

I viewed the HTML source, and I don't see any DHTML stuff that...
Forum: PHP Mar 7th, 2006
Replies: 3
Views: 1,371
Posted By Troy
All I can do is expand on what ammcom already told you. Do something like this:


if (!$dbh = mysql_connect ("localhost", "myusername", "mypassword")) {
die ('I cannot connect to the database...
Forum: PHP Mar 7th, 2006
Replies: 8
Views: 1,603
Posted By Troy
You posted in the PHP forum and mention the app is a PHP app. However, I cannot assume that the link text is being placed by PHP code--so I must ask. Are the "Place Ad" links conditionally displayed...
Forum: PHP Mar 7th, 2006
Replies: 3
Views: 4,038
Posted By Troy
Have you verified that the Windows user that Apache is running as has the privileges to execute the third program you are trying to run.
Showing results 1 to 40 of 211

 


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

©2003 - 2009 DaniWeb® LLC