Posts
 
Reputation
Joined
Last Seen
Ranked #714
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
91% Quality Score
Upvotes Received
8
Posts with Upvotes
7
Upvoting Members
8
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
5 Commented Posts
~93.5K People Reached
About Me

Internet Application Developer

PC Specs
AMD Athlon 64 3300+ 512 MB
Favorite Tags

217 Posted Topics

Member Avatar for 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 page, simply edit an array of pages or "slides". You define a title, duration, and URL for each …

Member Avatar for PROSYS_1
1
15K
Member Avatar for AhmedHan

I've never heard of Tripod, but there is a Daniweb member who recently installed a package that puts Apache, MySQL, PHP, and other stuff in a single install. I can't seem to find that post or remember the product name, but it was not "Tripod". I assume you are talking …

Member Avatar for cwarn23
0
355
Member Avatar for zippee

Yes, mod_rewrite is what you want if you are using Apache. If anybody has any proof, I'd like to see it, but the official word from Google and others is that data-driven content (.ASP, .PHP, .JSP, etc.) is not a problem for their spiders. The only problem for spiders associated …

Member Avatar for mikerock
0
798
Member Avatar for Troy

class_session.php is a session management and password protection class. It can be used to perform 2 major functions: 1. Create and maintain session state between page hits. The class does this using simple session cache files into which the session is stored as a serialized array. This is similar to …

Member Avatar for LastMitch
1
641
Member Avatar for ian111

This may be a stupid question, but, you do know that with PHP as an Apache module, you need to restart Apache (httpd) to see your php.ini changes?

Member Avatar for Nika111
0
952
Member Avatar for sri_sep29

Debugging tip: You mention that you run the statement in MySql window, and it works, but did you actually copy & paste the statement as generated by your code? Right after you build the $sql variable, output it like so: [php] echo $sql; exit(); [/php] Then copy & paste that …

Member Avatar for Starfox275
0
1K
Member Avatar for michael123

Yep, the documentation at [url]www.php.net[/url] makes it pretty clear. If you code PHP, you probably want to keep php.net open in a browser at all times! Very nice documentation, and the comments can be a lifesaver---when they are accurate anyway! In my applications, and I have to think in most …

Member Avatar for GuggiTanvi
-2
551
Member Avatar for michael123

To remove code tags, check out PHP's strip_tags function. [url]http://us3.php.net/manual/en/function.strip-tags.php[/url] You can easily parse or split text based on Returns ("\n"), but you are right, if the user does not hit Return, the text will wrap to another line in the textarea, but is actually not a seperate line. All …

Member Avatar for cicovy
0
195
Member Avatar for 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 Exchange Server using the PHP scripting language. Once you wrap your brain around these techniques, the sky is the …

Member Avatar for dskanth
0
2K
Member Avatar for i love my vans

[url="http://somedomain.com/index.php?page=download"]http://somedomain.com/index.php?page=download[/url] index.php: [PHP] <?php if (!isset($_GET['page']) { $page = "about"; // Default page } else { $page = $_GET['page']; } include ("/content/".$page.".php"); ?> [/PHP]

Member Avatar for rekhasuresh
0
761
Member Avatar for Majdaa

I am not an expert in this field, but the way many barcode scanners work is simply as a keyboard interrupt. That is, they decode the code, and enter the code text AS IF it was typed using the keyboard. So for example, you could have a PHP web page, …

Member Avatar for chayan.cjee
0
703
Member Avatar for Dani

I'm very interested in this answer, too. Hopefully some light will be shed on this thread.

Member Avatar for devpk
1
1K
Member Avatar for Bill_Thompson

[QUOTE=Bill_Thompson]Edit and debug PHP without having to upload to a sever constantly.[/QUOTE] Quick tip: I use PSPad as my code editor. Like many advanced editors, it includes the ability to edit files directly on your webserver using ftp. So you "open" files from your ftp server. When you save, it …

Member Avatar for elina4u
0
776
Member Avatar for Killer_Typo

[QUOTE=bytesurfer]Just wanna ask what is the different with uncommented and commented.[/QUOTE] The difference between an uncommented and commented line is that one is commented and the other is not! :eek: A "commented" line will be ignored by the processor -- comments only exist for the human reader. In many configuration …

Member Avatar for baedaar
0
828
Member Avatar for Madmax

[QUOTE=relawson]You know, this feature isn't in Oracle as I recently discovered. Is it considered bad to use autoincrementing numbers? Certainly makes it easy to maintain a primary key with little effort. I am just trying to understand in what situation you wouldn't want to use that feature. Obviously Oracle doesn't …

Member Avatar for hgdfjguigh
-1
5K
Member Avatar for 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 developers are becoming aware of the cross-domain scripting limitation. This is a security feature that prevents client-side scripts …

Member Avatar for umakantp
0
6K
Member Avatar for nike123

It might be useful for a newbie to understand that it is very easy to enable the IIS webserver on your own Windows computer. The problems are: [list] [*]Speed. Home internet connections do not usually have enough bandwidth to handle much traffic, but this is not a problem for most …

Member Avatar for btesfaamlak
0
158
Member Avatar for Virii

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. [b]class_http.php [/b]- Use this to pull the documents from the remote servers. Includes a caching feature to make you a …

Member Avatar for nikesh.yadav
0
381
Member Avatar for fsn812

I'm a "professional web developer". For over 10 years, I've developed browser-based, database applications. I started my programming career writing client-server apps with PL/B. I moved to CGI web apps using PL/B. Then I moved to ASP/VBScript and SQL Server for web dev. When ASP.NET came on the scene, I …

Member Avatar for mama_rock
0
529
Member Avatar for kc0arf

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 attempting a complete switch over to Linux for all my OS needs. There are still …

Member Avatar for blud
0
264
Member Avatar for Troy

class_http.php is a "screen-scraping" utility that makes it easy to scrape content and cache scraped content for any number of seconds desired before hitting the live source again. Caching makes you a good neighbor! The class has 2 static methods that make it easy to extract individual tables of data …

Member Avatar for Samir
0
345
Member Avatar for Troy

class_db.php is a database class that provides methods to work with mysql, postgres, and mssql databases. Other database types can be easily added. The class provides a common interface to the various database types. A powerful feature of the class is the ability to cache datasets to disk using a …

Member Avatar for ethen_th
0
221
Member Avatar for JRED

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 as needed. http://adodb.sourceforge.net/

Member Avatar for Troy
0
191
Member Avatar for ReDuX
Member Avatar for loyaltrekie

Well, there is a lot to cover here, and a lot you need to learn obviously. :) I will start, and I'm sure others will pitch in as well. Some things you need to clarify: [list=1] [*]Do you have access to and know how to use phpMyAdmin to administrate your …

Member Avatar for Toxikr3
0
170
Member Avatar for larry78

I just struggled for 2 days to solve this same problem for my company--except I'm using PHP. Your job should be a bit easier since all the official examples are in VBScript, VB, VB.NET, C#, or C++. I would direct you to the Microsoft WebDAV Reference wth code examples. Click …

Member Avatar for kirill.krylov
0
463
Member Avatar for realestninja

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!

Member Avatar for cwarn23
0
978
Member Avatar for croft

So you want a process that will parse these emails to get specific bits of data, store this data in a database, then have an interface to display the data in a meaningful format? If what I describe above is what you want, then you'd go about it by creating …

Member Avatar for digital-ether
0
290
Member Avatar for cynch

I can't help but ask. cynch, you do realize that this login script has zero security value, right? The username and password are written out to the browser and viewable in the source code.

Member Avatar for Stuart S2
0
210
Member Avatar for Troy

[url="http://www.tgreer.com/class_http_php.html"][b][url="http://www.tgreer.com/class_http_php.html"]http://www.tgreer.com/class_http_php.html[/url][/b][/url] I've written what I think is a high-quality PHP class for screen-scraping external (or internal) web content. The class includes features to cache scraped content for any number of seconds. So for example, if you want to show stock market data on your site that you scrape from a …

Member Avatar for WebSnail
0
773
Member Avatar for escolta

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 connect directly to an Excel file. You can then iterate the rows just like a …

Member Avatar for ss.jagadish
0
1K
Member Avatar for chaom79

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 PHP-coded file using an extension that the webserver does not expect to …

Member Avatar for Juliopp
0
226
Member Avatar for JaxsWastedLife

I've dealt with this scenario extensively, so I think I understand what you are trying to do and what you are asking. As you've discovered, you cannot use client-side script to work with the document object model of remote site content. (Even if that "remote" site is on your own …

Member Avatar for naksindia
0
488
Member Avatar for ae1

You've discovered the truth. This stuff is not easy. It is not user-friendly. When Microsoft asks "Where do you want to go today?", they already know the answer: HELL. Seriously, though, this stuff is not easy. You'll hear people talking about how great and simple MySql and/or PHP is, but …

Member Avatar for cliffwells
0
256
Member Avatar for lesalmin

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 chat application. You want all members of the chat to see all messages entered as close to …

Member Avatar for phper
0
176
Member Avatar for markybthedaddy

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 incorporates Wget to find this out. Wget is a non-interactive command-line utility that can …

Member Avatar for ericstenson
0
165
Member Avatar for web_master

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 based on the URL...but I don't think that's what you are wanting. What you want is normally …

Member Avatar for FireNet
0
140
Member Avatar for Silverhawk

[b]ATTENTION ALL NEWBIES![/b] [b]"supplied argument is not a valid MySQL resource"[/b] is almost always the result of an invalid SQL statement being passed to the database. When you are using a scripting language to dynamically build a SQL statement, it is VERY easy to introduce problems into your SQL string. …

Member Avatar for clement108
0
330
Member Avatar for dj bill

What a stupid idea, dj bill! JUST KIDDING :) I think Stewart's point was, if you want something that works like a blog, why not just use a blog system? The open-source Wordpress is free, very easy to use, and supports multiple users. Now, I too have considered creating a …

Member Avatar for PosterManiac
0
825
Member Avatar for lawfour

The values in the dropdown are actual table names in your database? And you want the user to enter a search term, pick a database table, click submit, then see results from that table? What database are you using? MySQL? Postgres? MSSQL? Oracle? This is a simple thing to do …

Member Avatar for zianchan
0
2K
Member Avatar for Dani

Dani, My customer's MySql db's are tiny--nothing like your 1GB monster. ;) I simply use the [url="http://dev.mysql.com/doc/refman/4.1/en/mysqldump.html"]mysqldump [/url]command. As you most surely know, this command simply creates a text file that includes all the SQL statements to create your tables and indexes and insert all the data. For you, these …

Member Avatar for pritaeas
0
153
Member Avatar for Dani

Glad to help the csgal. Campkev is correct. Here is how I do it. [PHP] <html> <head> <title>My Web Page</title> <script type="text/javascript"> function LoadTrigger() { alert('This will fire after the page has finished loading.'); } window.onload = LoadTrigger; </script> </head> <body> <p> My Web Page is great! </p> </body> </html> …

Member Avatar for Ziggy Rocks
0
250
Member Avatar for nisrin

If you don't want to use PHP, perhaps you should not post this question in the [b]PHP[/b] forum? Try the Javascript forum.

Member Avatar for Achiever
0
105
Member Avatar for wood1e

[QUOTE=wood1e]Hi, Many thanks but I have worked through a Pagination tutorial...but what i am looking for is adding it to a search option...not just a show all data in a table search... :lol:[/QUOTE] There is not a difference between the two. Paginating all data (select *) is the same as …

Member Avatar for DrClue
0
269
Member Avatar for Asif_NSU

Let's define "web development". A "web application" can mean a lot of things. My loose definition is any web page that DOES something. If the page content is altered based on user input, that's a web application. Understand there is client-side and server-side coding. Which end of the transaction you …

Member Avatar for pty
0
220
Member Avatar for bucwyld

[QUOTE=bucwyld]How can a band create a mailing list to send out show responses[/QUOTE] I'm actually not an expert on maillists, but there are specialized apps designed just for this purpose. Some mail servers have built in support of maillists. For example, I use Xmail on my Linux web server. Xmail …

Member Avatar for GTHD
0
240
Member Avatar for hbmarar

[QUOTE=alpha_foobar]...so we made up our own. Jasc. Java API for Server Communications. [/QUOTE] It's a pet-peeve of mine, so I could not resist responding. :) [b]Java[/b] and [b]Javascript[/b] are not the same thing. They are not even related. They were completely different development paths from 2 completely different companies. The …

Member Avatar for nemo5
0
276
Member Avatar for Troy

Dear csgal, I only recently became a member of your website. My good friend, tgreer, referred me, although now I'm not sure I should thank him. This is not easy for me to admit, but I have a problem: I've become addicted to answering posts in the forum. At first, …

Member Avatar for WaltP
0
541
Member Avatar for autocrat

I think my experience in researching CMS's is the same. I review the features, play with a demo, look at example sites using the system, and conclude that I don't like it. The problem is one I understand well, though. As a programmer myself, I understand how truly difficult it …

Member Avatar for autocrat
0
296
Member Avatar for Rupak

tgreer is right. I agree with tgreer that the user should always be allowed to have control over the print attributes. However, I do wish there was a way that the web developer could indicate printing defaults for a document that then the user could override if they wanted. There …

Member Avatar for achisolomon
0
663

The End.