- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 9
- Posts with Upvotes
- 9
- Upvoting Members
- 7
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am a professional WordPress Developer residing on the Mississippi Gulf Coast. I have been working in the web industry for approximately 11 years. I have been working almost exclusively with WordPress for 5 years. I am deeply passionate about the work…
- Interests
- Web Development
- PC Specs
- Case: Antec 900Monitor: ASUS 24" LCDMotherboard: ASUS P5E3 Deluxe/WiFi-APCPU: Intel Core 2…
64 Posted Topics
Re: Conversion from PHP to Javascript is impossible. That's kind of like converting a spaceship into spaghetti. They're different things entirely. PHP is a server-side programming language meaning that the code is parsed by the server. The end-user will never see PHP. Javascript on the other hand (in most cases) is … | |
Re: Are you looking to generate your own barcodes or use ones already on products? | |
Re: As far as I know, there is no Master's in Web. Even a Bachelor's is hard to come by. If you want to, you could go for your [URL="http://www.ciwcertified.com/certifications/program.asp"]CIW certification[/URL] and master in one of their branches. | |
Re: I hope everyone is ready for CSS tables for layout. I for one can't wait. It will make coding the CSS for layouts SO much easier. | |
Re: [QUOTE=samarudge;691419]Have a look at [url]http://www.hscripts.com/scripts/php/usersOnline.php[/url] and play about with that code. Regards, Sam Rudge[/QUOTE] This was actually the script I was going to suggest. You could implement it with your current system and possibly identify the IP addresses by the IP addresses your users logged in with. Just a thought. ![]() | |
Re: What you're trying to do is not possible. There is no way to store PHP code in variables. I would suggest putting the separate[CODE][/CODE] code snippets that you are trying to store in variables and store them into separate PHP files. Store the names of those files in the array, … | |
Re: It's not exactly a library, but I would have to suggest Unity, just because of how scalable it is. You can use the engine to make any kind of game you want, and it allows you to code in many different programming languages, depending on what you're most comfortable with. … | |
Re: Is there any reason as to why you can't use one of the forum systems that already exist out there? [url]http://www.invisionpower.com/[/url] [url]http://www.phpbb.com/[/url] [url]http://www.vbulletin.com/[/url] And if you need something lightweight: [url]http://bbpress.org/[/url] | |
Re: After checking out your code, I can confidently say there's nothing wrong with it. The categories aren't in the database twice, are they? If not, the only thing I'd try is this: [code=php]<?php $letter = $data['letter']; $getCats = mysql_query("SELECT DISTINCT catName FROM categories WHERE catName LIKE '$letter%' ORDER BY catName"); … ![]() | |
Re: Personally, I've always used [URL="http://digitarald.de/project/fancyupload/"]FancyUpload[/URL], and I've never had any issues with it. | |
Re: I do a lot crazier stuff with PHP and JavaScript than that, so I know it works. I tried your code, and it worked. The only problem was a line break after the name variable. [code=php]if ($name == 'Mary') { echo "<script type=\"text/javascript\">window.alert(\"Hi, Your Name is " . $name . … | |
| |
Re: CURL is probably the easiest solution. Here is an example using cURL. You can read more about it [URL="http://php.net/manual/en/book.curl.php"]here[/URL]. [code=php]$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://www.example.com'); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); curl_setopt($ch, CURLOPT_PROXY, 'fakeproxy.com:1080'); curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'user:password'); $data = curl_exec(); curl_close($ch);[/code] | |
Re: Also, there are at least 50 ways to do any one thing, so without something to start with, it's nearly impossible to give you something that would work for you. Also, why comboboxes? | |
Re: From what I can tell, the code is looping through every time it needs to, you're just overwriting your variables because you re-assign them every time it goes through the loop. You'll notice that the only result returned is the last channel and the last program on that channel. For … | |
Re: I'm not sure in what context you're using either of these statements. It looks to me like each option you gave is doing something different. The first one could be written like this if you wanted to make it a little smaller. [code=php]if ($_REQUEST['item'] != ''){ $path = 'uploads/file/'.$filename; }else{ … | |
Re: It looks like you're missing the slash at the beginning of your regular expression. [code=php]preg_match("/(Mon|Tue|Wed|Thu|Fri)/i", $keywords[$i])[/code] | |
Re: Yeah, the problem is definitely a space at the beginning. ![]() | |
Re: Hi there, this error usually means you're missing a closing curly brace in your code somewhere. Php-coder, your unclosed curly brace is on line 108. Just glancing at your code, it looks like you'd want to put the closing brace around line 130, under this line. [CODE]header(sprintf("Location: %s", $insertGoTo));[/CODE] May … | |
Re: [QUOTE=ramseswar;690411]To need to know HTML, I think you do not have to learn the coding. You just have to download Adobe Dreamweaver and make a headstart. Just use the GUI and the code will be generated itself (you may check the code and learn HTML easily). Also, you will need … | |
Re: Personally I use [URL="http://www.aditus.nu/jpgraph/"]JpGraph[/URL] in a CRM I wrote. It gives you the ability to easily create pie charts, bar graphs, or any other type of chart or graph you could imagine. | |
Re: You should be fine as long as you only allow certain file types to be uploaded. For instance, you don't want people to be able to upload files that may contain malicious code to your website. You will want to check the file type of what is being uploaded to … | |
Re: Additionally, your code is very unsafe. Anyone could hack this form with MySQL injections, such as typing [B]' OR a=a--[/B] in the password field. This would allow them to login to the site with the username of whoever is first in the database. Replace this: [code=php]$myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $sql="SELECT * FROM … | |
Re: The only reason you should consider Dreamweaver is because it's an industry standard. If you don't plan on making your life career in web, don't bother. Dreamweaver has many features in it that will write code for you, and I've never seen a site written in Dreamweaver that was semantically … | |
Okay, so I'm writing an application. In this application there is a drop down with the selections 10, 20, 30, and so on to 100. This drop down controls the amount of times a loop will occur. Basically, every time the application gets to a loop that is 10% of … | |
Re: The importance of certifications will vary from employer to employer. But it never hurts to have as many as possible. For Web Development, I would suggest going for your [URL="http://www.ciwcertified.com/"]CIW (Certified Internet Webmaster)[/URL]. | |
Re: First off, if you're using something like Windows XP, you need to make sure that you allow incoming traffic to your PC through port 80. The same needs to be done if you have a router or firewall between yourself and the Internet. It may also be a misconfiguration with … | |
Re: This:[code=php]<?php while($row = mysql_fetch_array($sqlresult)){ ?>[/code]Should be this:[code=php]<?php while($rows = mysql_fetch_assoc($sqlresult)){ ?>[/code]Your variable was named $row and you called it later in the loop as $rows. I've always used mysql_fetch_assoc for loops like this, but I'm not sure if that makes a difference or not. | |
Re: And if you're interested in making that code a little smaller: [code=php]<?php if(!empty($a1[image])) { $im_array = explode("|", $a1[image]); $images = ""; if ($im_array !== false) { foreach ($im_array as $img) { $images .= "<a href=\"re_images/".$img."\" target=\"_blank\"><img src=\"re_images/".$img."\" width=\"100\" height=\"100\" border=\"1\" /></a><br />\n"; } } } $ShowInfo .= "</td>\n\t<td align=center valign=top>".$images."For … | |
Re: If you're using JavaScript to call a PHP file, then it sounds like AJAX. In which case you would have to use the DOM to display the result of the PHP script. Please show us the script you're using. | |
Re: The phone number is a good idea as a spam bot probably won't fill that in correct, especially if we validate it. :) This method will accept a 10 digit phone number with spaces, dashes, or neither. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" … | |
Re: Well, if you're using a web host you can simply FTP to the server and drag and drop the image to where you need it. What kind of host are you using? | |
Well I wanted to get some other professional input on a very small, but useful script I'm writing. It began as a script for a friend of mine that is a teacher that wanted something similar to the W3C [URL="http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_basic"]TryIt Editor[/URL] for her classes. I've done all that I can … | |
Re: Better yet go get phpMyAdmin and use the GUI to do it. That's about as simple as it gets. | |
Re: In reference to the poll, using table elements for layouts is bad, but using CSS tables is so very good (as soon as IE8 is standard and all majors browsers support it). It will revolutionize the way we design websites. Read here: [URL="http://www.sitepoint.com/blogs/2008/02/28/table-based-layout-is-the-next-big-thing/"]http://www.sitepoint.com/blogs/2008/02/28/table-based-layout-is-the-next-big-thing/[/URL] | |
Re: If you want to use one, I would use [URL="http://www.webdesigners-directory.com/"]Web Designers Directory[/URL], and I do. If you Google "Web Design" it's on the first page. | |
Re: I may be wrong, but I believe there's PhpBB3 addons that will place ads on your site. I'm not sure, I hate putting ads on my forums. | |
Re: And you probably want to declare the E-mail variables correctly. Also, paragraph tags within a form used in that way aren't exactly semantically correct. It's acceptable to use <br /> tags right after the labels or CSS floats if you want to help style your form rather than paragraph tags, … | |
Re: When this happens, it usually occurs when you have a "catch all" E-mail address that recieves all E-mails that are sent to your domain but go to an invalid address. If you disable that feature, you won't have the problem anymore. I had the same problem and this is how … | |
Re: Well, it sounds like he doesn't need to do it personally, but needs to have a script that can do it for users of the script he's writing. I've thought about doing something like this, but I never got around to it. I would suggest doing it with a dynamic … | |
Re: I agree with Buddylee17, Google Analytics is the only way to go if you want detailed information on who visits your site. | |
| |
Re: Well, what I tell you is entirely dependent on how you go about submitting the form (POST or GET) and the way you made your drop down list. Please copy and paste your source code so that I can look at it. After that I will be able to give … | |
Re: Better yet, why not use cookies? I built my own store once and I used cookies to store user's orders. When they went to finalize their order, it was the inserted into the database. Also, I checked to see if they had cookies enabled, if not then I went ahead … | |
Re: I know there's probably a better way, but this is the first thing that comes to mind. [code=php] for ($i=1; $i<=$x; $i++) { $sql = mysql_query("SELECT t_tag FROM tags WHERE t_tag = '".$tag[$i]."';"); $result = mysql_result($sql) or die (mysql_error()); $total_tag_usage = mysql_num_rows($sql); echo "<tr><td>" .$t_tag[$i]. "</td><td>" .$total_tag_usage. "</td></tr>"; }[/code] | |
Re: Yes, your quotations are all kinds of messed up. I'll walk you through what's wrong so you don't make the same mistake again. [code=php] $sql = 'UPDATE user SET active = 1 WHERE (password = "$_GET['hash']") AND (timestamp = ".base64_decode($_GET['stamp'].")'; $result = mysql_query ($sql) or die (mysql_error()); if( mysql_num_rows($result)==1 ) … | |
Re: I'm having a hard time understanding what you're trying to accomplish; however, it is possible to have .htaccess files within folders that control what happens in that folder and it's subdirectories. | |
Re: I am in no way familiar with DT, but I think I know what you're asking. On the mbrdetail.php page, you could make links to mbrevents.php, mbrsocieites.php, etc like so: [code]<a href="mbrevents.php?id=<?php echo $_GET['id']; ?>">Member Events</a>[/code] This is, of course, assuming that the member's id is passed in the URL … |
The End.