- Strength to Increase Rep
- +6
- 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
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 <?. |