- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Web Design and Hosting
- Interests
- Dance, Games, Web Design, PHP Scripting
236 Posted Topics
Re: Howdy, Just started lurking here on Tuesday. Hope to make some useful contributions to the community at some point :cheesy: Dance | |
Re: I think this tutorial will teach you most of what you need to know. [URL=http://codepunk.hardwar.org.uk/bjs19.htm]Making Universal Pop Ups[/URL] | |
menuWerx is a PHP class to generate a menu for your site. Options include: debug mode, horizontal or vertical orientation & hooks, optional inline styles, and strict or transitional modes. See an example at: [url]http://www.Clear-Mind.com/menuwerx/[/url] ![]() | |
Re: I think you should listen to DaveSW :p Don't get too caught up on an ideal or concept, this has caused me many problems in the past.... My biggest problems with CSS arise when I get caught up in how I think it should work, instead of trying to find … | |
Re: I think you guys should read the question again. | |
Re: [url]http://us.php.net/manual/en/function.shell-exec.php[/url] | |
Re: Maybe you could use an iframe? You can make the frame small so the user may not even know it is there. Load a form into it initially to call your php function and then read the results with the javascript once it reloads.... | |
Re: [PHP]$catarray= $_POST['catlist']; [/PHP] shouldn't need parenthesis. Have you tried: [PHP]print_r($catarray);[/PHP] I haven't pulled arrays from POST yet, so I'm not sure how it works. Here is a small script to output all the variables that are defined in php. You will be interested in the _POST section :) [PHP]$output = … | |
Re: Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite. | |
| |
Re: You will be happy to know that this works in Firefox, but not in Internet Explorer. I'm not sure what the exact problem is, but it has something to do with the DOM and browser compatibility. If I figure it out I will let you know. | |
| |
Re: Found this quote: > PHP does not support function overloading, nor is it possible to undefine or redefine previously-declared functions.[ and this code: Method overloading is however permitted. <?php class A { function A() { } function ech() { $a = func_get_args(); for( $t=0;$t<count($a); $t++ ) { echo $a[$t]; } … | |
Re: Are you using mod_alias? If so you should use the [PT] flag with mod rewrite rules. | |
Re: These are the fuctions you need. I suggest you make a file called cookie.js and include in your html file like this: [HTML]<script type="text/javascript" src="cookie.js"></script>[/HTML] and the javascript to place in the cookie.js file: [CODE] // // Cookie Functions -- "Night of the Living Cookie" Version (25-Jul-96) // // Written … | |
Re: Are you sure you really want to do that? I think that for most applications you will be better off storing the image in a folder on your webserver and adding the location/details of the image to the database. | |
Re: Yes this should be possible. There may be some scripts already written to do this although I am not aware of them. You could try searches on google and yahoo to see what you can find. If you don't find anything useful, you will find most of the php functions … | |
Re: Are you going to use PHP4 or PHP5? I think PHP5 is supposed to have more powerful XML parsing functions, but to be honest I don't know an awful lot about XML. | |
Re: GliderPilot, GUEST_NAME is inteneded to be a constant. It is not a varaible. The error is probably before line 59, as has already been mentioned. | |
Re: Not really the solution you are looking for, but you could use a php script to cache the pages locally on your server. What are you trying to do exactly. I would be very careful using content from someone elses sight in this way.... Dance | |
Re: I have not seen one. What do you envision such a script doing exactly? | |
If I have a long string of text in say a table cell, how can I make it break so it doesn't cause horizontal scrolling? Thanks :) | |
Re: One thing I see, this: [PHP] if (ereg("^([a-z]+)|[0-9]{2,2})$", $keyword[$i++])) $validKeyWord= false[/PHP] should probably be: [PHP] if (ereg("^([a-z]+)|[0-9]{2,2})$", $keyword[$i++])) { $validKeyWord= false; }[/PHP] Dance | |
![]() | Re: If I'm not mistaken PHP automatically handles garbage collection and cleanup when a session ends. That is provided you haven't declared any custom session handlers using session_set_save_handler(). |
Re: I think its great. It's to the point and succinct. It makes it look easy (which it is for the most part). If somebody has a problem, then its a good reason for them to post and everyone can benefit from that discussion (and possibly use that info to improve/udate … | |
Re: You can only edit your post for an hour (i think) after you post it origionally. So to get it changed he will need to seek help from an mod or admin. | |
Re: Don't. I have a friend who has used Filemaker to create some applications. They work great, but he has had alot of trouble trying to port them to the web. To get any real flexibility you will have to buy the $2500 licence for the web extension or whatever it … | |
Re: The simplest way is to have php write the info you want into the page as javascript, for ex: [CODE]<script type="text/javascript" language="javascript"> <!-- <?php echo("firstVar = $var1;"); echo("2ndVar = $var2;"); ?> // --> </script>[/CODE] | |
[CODE]Warning: Unknown(): Unable to call () - function does not exist in Unknown on line 0[/CODE] Has anyone seen this error or know what it means?? Thanks | |
Re: Try using <?php at the top instead of <?. | |
Re: MODx maybe? They don't bill themselves as a community software application, but they do have similar functionality with plugins. Features page here: [url]http://modxcms.com/features.html[/url] A listing of modules and plugins here: [url]http://modxcms.com/forums/index.php/topic,2425.0.html[/url] | |
Re: Do you have the GUI MySQL Administrator? If not [URL=http://dev.mysql.com/downloads/administrator/1.0.html]download[/URL] it. Log in to the Administrator. On the left side choose startup variables. Then on the right side at the top choose the security tab. Click on 'Use old qasswords'. Then restart your MySQL Instance. You may also need to … | |
Re: I would use [URL=https://www.google.com/adsense/ws-overview]Google Adsense for Search[/URL]. It has a site search feature. | |
Re: I haven't used these but that is the way I read it, only differences in output. The command part is a string so I assume you can use variables normally in the command. Dance | |
I will need to buy an SSL certificate soon and I have a few questions. When I create the signing request and purchase the certificate, am I tied to the server that generated the request? Once I buy the certificate will I be able to easily transfer it to a … | |
Re: I've used cURL to log into a clients secure site and generate downloads for the clients' customers. Does that answer your question or did I not understand? | |
Re: I don't see where you are grabbing the submitted data. Normally this would be something like: $wavName = $_POST['wavName']; The submitted data may be in $_POST or in $_REQUEST. Try print_r($_POST); or print_r($_REQUEST); and you should see what you need to do. | |
I'm looking for a way to collect hardware/software information from users that visit a site I'm working on (The user will request this action with full knowledge of what is happening of course). You can see an example of what I'm looking for at Crucial where they have a button … | |
I'm writing some copy and the premise is a story about a small business owner. "small business owner" is NOT the keyword phrase I want to optimize the page for, but I find myself using "small business owner" overa and over again. The product is for small business owners, but … | |
Re: For some reason the forum module is redeclaring the <html> and <head> sections of the document. The forum is there, but the browser won't display it because of the html errors. You should probably reinstall the forum module without touching the database. In general if you wanna update the forum … | |
Re: I think you should consult the php site. Some useful resources: [url]http://www.php.net/manual/en/tutorial.php[/url] [url]http://www.php.net/manual/en/langref.php[/url] [url]http://www.php.net/manual/en/security.php[/url] [url]http://www.php.net/manual/en/features.php[/url] [url]http://www.php.net/manual/en/funcref.php[/url] | |
Re: rariti do as smalldogn says ;) For more info on the problem check out the following link: [url]http://developer.mozilla.org/en/docs/Incorrect_MIME_Type_for_CSS_Files[/url] | |
Re: Give the table cell you want to scroll an id, then give it a fixed height, and set overlfow to scroll. Should look something like this: td#id { height: 400px; overflow: scroll; } I would also like to coment, that when using div's for layout I rarely use more than … | |
Re: Yes but you can use mod_rewrite to trick the search engines. You can find a guide [URL=http://www.sitepoint.com/article/guide-url-rewriting]here[/URL]. It sorta makes my head spin tho :mrgreen: I have problems with regular expressions. Certain pages on this site use mod_rewrite, even tho they are .php and generated dynamically they will show up … | |
Re: Make sure that you are validating all of the data from your form and don't send mail unless all the data is filled in correctly. Consider changing the names of the form elements. Bots are probably posting data to your mail script without actually checking the form. Changing the names … | |
Re: Yep, Firefox will show it, IE will not. Try removing the doctype declaration and see if IE will show it. Your doctype declaration is invalid. The doctype you probably wanted to use is: [HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[/HTML] | |
Re: Make sure you read the whole thread: [url]http://www.daniweb.com/techtalkforums/thread73830.html[/url] | |
Re: That should work without modification to your .htaccess file. The only thing that might be an issue would be indexing. So if you see a list of files in the directory instead of the page you expect then try adding the following lines to your .htaccess file: #this will turn … | |
Re: Are you sure the query is returning results? Are the results an array? print_r($sqlProject); so you know the query looks lik you think it should. Try running that query in phpMyAdmin and see what the results are, that may help you figure out what's going on. You may need to … | |
Re: You don't want to do that. That would be very annoying and people would not stay on your site. |
The End.