Search found 312 matches

Actual Results

Post Posted: October 12th, 2011, 8:53 am

Oh and as a side note, I am talking about PHP here, sorry! :)

Post Posted: October 12th, 2011, 8:49 am

Lets say I have an array like so:
Code: [ Select ]
Array ( [0] => apple [1] => pear [2] => apple [3] => orange [4] => pear [5] => apple )
And I want to print it like so: apple - 3 pear - 2 orange - 1 How would one do that? Do I need to lo...

Post Posted: January 30th, 2011, 8:31 am

in your htaccess file put something like: [code] Options +FollowSymlinks RewriteEngine on redirect 301 /upper_subcat.php?id=Ng==&cat_id=Mg== http://www.YourDomain.com/index.html redirect 301 /upper_subcat.php?id=Ng==&cat_id=OA== http://www.YourDomain.com/i...

Post Posted: January 30th, 2011, 8:26 am

I had a simular issue recently, and I had to write a series of IF statements. It wasn't very clean, but it worked.

Post Posted: January 30th, 2011, 8:16 am

I am trying to write a script that deletes all the files for a directory called "cache". My plan is to get this working and then setup a cronjob to run every hour so my server doesn't get filled up with wasted crap. So, anyways, heres what I have so far, and for some reason its not working...

Post Posted: August 11th, 2010, 11:57 am

spork wrote:
I'm confused; the loop I provided creates the exact structure you indicated.

yah, I see that now. My bad, and thanks a ton.

Post Posted: August 11th, 2010, 11:52 am

You can push entries onto the end of an array by simply assigning to the array with an empty index:
PHP Code: [ Select ]
$data = array(); foreach ($x as $value) { $data[] = array($value[0], $value[1], $value[2], $value[3]); }
oh, wait, my bad spork, I see what you are ...

Post Posted: August 11th, 2010, 11:50 am

You can push entries onto the end of an array by simply assigning to the array with an empty index:
PHP Code: [ Select ]
$data = array(); foreach ($x as $value) { $data[] = array($value[0], $value[1], $value[2], $value[3]); }
Yeah, that will work to create a normal arr...

Post Posted: August 11th, 2010, 11:27 am

So I have a loop that cycles through some data that I am pulling from an API. Whats the best way to create a multidimensional array with it? In the past I just make the array with array_push() but I am not sure how to do the same with multidimensional arrays. The array that I need to build is below ...

Post Posted: July 20th, 2010, 7:37 am

So, I am working with an API that outputs dates like this: 2010-07-20T13:57:11+0000 But my application requires that dates be in RFC822 format. Therefore I am trying to convert like so...
PHP Code: [ Select ]
<?php $date = date(DATE_RFC822, $date_string); ?>
However, this outputs the date as: Wed, 31 De...

Post Posted: June 29th, 2010, 11:49 am

AWESOME! GROUP BY title works like a charm! Thanks!

Post Posted: June 29th, 2010, 11:37 am

So, I have a MySQL table that holds ZIP codes, City, and State names. I want to list all the cities for each state, however, because many times there is more than one ZIP for each city I am having trouble listing each city only one time each. You can see my code below. I have tried using array_uniqu...

Post Posted: June 15th, 2010, 1:26 pm

Thanks a ton Spoof! For your hospitality. Samuele L Jackson is pleased.


Image

Post Posted: June 15th, 2010, 10:50 am

I am currently rewriting URLs with a htaccess file to create cleaner URLs. Here is my htaccess file:
Code: [ Select ]
Options +FollowSymlinks RewriteEngine on RewriteRule ^([a-zA-Z0-9]+)/$ /page.php?s=$1 RewriteRule ^([a-zA-Z0-9]+)$ /page.php?s=$1
With this regex I am able to h...

Post Posted: May 13th, 2010, 3:15 pm

Oh, I see, so the attacker might spoof the header.....never thought of that.

Post Posted: May 13th, 2010, 2:19 pm

Every query you have that has a section which was built using data submitted by the user, needs to be screened. Every query, SELECT, INSERT, DELETE, etc. Every one. Data submitted by the user includes (but isn't limited to) $_GET, $_POST, and $_COOKIE variables, as well as variables that you might ...

Post Posted: May 13th, 2010, 12:10 pm

So up until this point I have been using mysql_real_escape_string() to clean incoming data before it hits the DB. But, when looking back at my code I have noticed for some reason I only used it when the sql statement was inserting data. Now I have looked at this example and they use mysql_real_escap...

Post Posted: October 21st, 2009, 9:50 pm

Hey all! I am currently looking for a developer to hire on contract basis, with experience using the Google Maps API to debug a map for a client. My delivery date is October 30th, so I need some one fast. If you are interested please send me your hourly rate and a few example maps you have done to j...

Post Posted: August 31st, 2009, 7:46 am

mk27 - thanks for your help. I am going to try and implement this in a moment.

Post Posted: August 30th, 2009, 4:50 pm

JoeBert - Thanks for your reply, however, i am completely lost now! LOL! Maybe it might help if you could show me where in your solution the code prints with
Code: [ Select ]
document.write(TextState+'<br/>');
Then I might have a better idea following what you are saying and working it in to m...

Post Posted: August 30th, 2009, 3:34 pm

So some of you might already be aware that I am writing a XML parser in JavaScript. Things are going ok, but I need to parse each item at like a 5 second interval. Here is the for loop i am using: [code=javascript] for (var i = 0; i < xmlrows.length; i++) { var xmlrow = xmlrows[i]; va...

Post Posted: August 27th, 2009, 6:59 pm

Lets assume that I want to parse the following XML with JavaScript: fruit.xml: [code=xml] <fruit> <apple>red</apple> <banana>yellow</banana> <orange>orange</orange> <citrus> <orange>orange</orange> <lemon>yellow</lemon> <...

Post Posted: August 27th, 2009, 6:14 pm

The answer is:
Code: [ Select ]
499+499+499+499=1996

Post Posted: July 30th, 2009, 9:48 am

Ok cool, i just realized though that I actually need to do this on 2 sites. The second one i need to redirect at a directory level. In other words, I want to redirect oldsite.com/blog/ to newsite.com/blog/ and keep the content in the root of oldsite.com/ where it is. Would the redirect for that look...

Post Posted: July 30th, 2009, 8:58 am

I did a bit more research and came across this

Code: [ Select ]
Rewriterule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]


Will this work? I don't really have anyway to test this..its kinda like I have to get it right the first time!

Post Posted: July 30th, 2009, 8:55 am

I am moving a site to a new domain soon and would like to do a 301 redirect to maintain SEO quality backlinks. The URL structures on the new domain will be exactly like the old with a different domain name. This site has close to a thousand or so pages so I am not really interested in writing a new ...

Post Posted: June 26th, 2009, 7:10 am

Ha, I had never thought of that, it might be funny to only use IE4 on everything you do for that very reason! btw, thanks for the list!

Post Posted: June 19th, 2009, 9:15 pm

Have a list of user agents that I can add to a pool?

Post Posted: June 12th, 2009, 7:19 am

Thanks man! I love you like a fat kids loves cake!

Post Posted: June 11th, 2009, 12:00 pm

I just asked matt cutts that same exact question! See: http://twitter.com/joehall/status/2107546769 I haven't gotten a response yet.

Post Posted: June 11th, 2009, 9:09 am

Its called flash, thats how they did it.

Post Posted: June 11th, 2009, 8:57 am

I am using cURL to grab some data from some different sites. However, the pages that I am crawling are dynamically selected based on user input. Because, of this, i need a way to check if the page exist prior to extracting the data from the markup. Is there a way to get the HTTP status code in the d...

Post Posted: June 11th, 2009, 8:46 am

it would be a lot easier and safer if you posted a working link of what you want to show us. Not man folks want to DL a rar judt to help someone with one post.

Post Posted: June 11th, 2009, 8:23 am

Whoa! Slow down! Google can now crawl some pretty sophisticated JS. i don't know if they can crawl your example above, but the below article and video shows that they are crawling and analyzing more than inline scripts. How not to hide text [VIDEO] Google I/O: New Advances In The Searchability of Ja...

Post Posted: June 11th, 2009, 8:12 am

Or if you want to be a bad designer and do it anyways, look into javascript!

Post Posted: June 11th, 2009, 8:06 am

I already have an idea for a tutorial that I want to write! I think a gift card at thinkgeek would be awesome.

Post Posted: April 23rd, 2009, 6:43 am

Hello All I am trying to create an image in PHP with the imagecreate() function. I am wondering if it is possible for a user to upload an image like their logo and use that in the image that I am creating? I know that one can use a preexisting image with the imagecreatefrompng() function, but I am i...

Post Posted: April 17th, 2009, 10:04 pm

Ok, Nevermind, I figured it out!

Post Posted: April 17th, 2009, 10:01 pm

When I use print_r($array); I get Array ( [0] => Array ( [keywords] => #asot400 ) [1] => Array ( [keywords] => Susan Boyle ) [2] => Array ( [keywords] => Ashton Kutcher ) [3] => Array ( [keywords] => Watching Oprah ) [4] => Array ( [keywords] => Texas ) [5] => Array ...

Post Posted: April 17th, 2009, 6:26 pm

So I found some code online that I really like and decided to use it. This code that I got makes a great array from different data. I am now tying to print that array but i am having trouble. I first tried:   echo $array;  [/code] But all i got from that is: ArrayArrayArrayArrayArrayArrayArrayArrayA...

Post Posted: March 13th, 2009, 9:23 am

I have often read on forums and articles that one should not put the MySQL login information in the same script that the SQL statements are in. Most recommend placing a default connection script above the web root, and having all your scripts include that script before any MySQL statements are run. ...

Post Posted: March 7th, 2009, 11:16 pm

Hey everyone. I use Twitter on a daily basis to meet new people and communicate with friends, I have actually gotten several very large clients through Twitter and have made contact with a few "big names". I would love to connect with anyone on this forum on Twitter as well! Visit my Twit...

Post Posted: March 7th, 2009, 5:08 pm

@joebert - I don't think that a heterosexual man has ever felt as much love for another man, as I do for you at this moment! YOU ARE AWESOME!!!! Some one pass him a beer! :starwars:

Post Posted: March 7th, 2009, 2:08 pm

That's beautiful.

Post Posted: March 7th, 2009, 2:06 pm

Matt Mullenweg, the creator of WordPress once wrote a great little script that pulls up random images. check it out with the link below.

http://ma.tt/scripts/randomimage/

Post Posted: March 7th, 2009, 2:01 pm

joebert wrote:
In any event, Ozzu has a new field for members to use when editing your profile now. ;)


Sweet! filled mine in! :D

Post Posted: March 7th, 2009, 1:54 pm

Oops! My bad!! Heres the full code: [code] <?php // third party API code that fills values for $url and $title goes here $con = mysql_connect("localhost","db_user","db_pass"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("data"...

Post Posted: March 7th, 2009, 1:37 pm

Its a fact that google indexes IP address, but they normally only use them to determine backlink diversity, by comparing c class IPs and the links that come from them. In other words if a site has 100s of links with the same anchor text all coming from the same C class IP those links aren't as much ...

Post Posted: March 7th, 2009, 1:27 pm

I just don't want to start getting advertising text messages. :) I found the API, I think I will look into patching SMS messages from my phone through my home server and from there to Twitter so I don't have to give them my phone number. :D Or you could just use a third party app. Also, I have neve...

Post Posted: March 7th, 2009, 12:33 pm

What kind of text messages does Twitter send you if you give them your number ? I think it depends on what app you choose. Twitter has a great API and as such there are many different Apps for different phones, but I think the default is SMS. you can set it though so only some text are sent, like o...

Post Posted: March 7th, 2009, 12:26 pm

What you see below is part of update.php I have changed the string names and database table info for security purposes. Here's what the below code does. It takes strings that have been created with the use of a third party API and compares them to entries in the database. If there isn't a duplicate ...

Post Posted: March 7th, 2009, 10:51 am

Clients for what type of work? Web Development for social media, see my site in the signature for info on what we do. Twitter is chalk full of web entrepreneurs and internet marketing folks that are constantly looking for developers, all you have to do is befriend people that are into those field, ...

Post Posted: March 7th, 2009, 1:01 am

Hey everyone. I use Twitter on a daily basis to meet new people and communicate with friends, I have actually gotten several very large clients through Twitter and have made contact with a few "big names". I would love to connect with anyone on this forum on Twitter as well! Visit my Twitt...

Post Posted: March 7th, 2009, 12:35 am

I think I am getting closer here...but not out of the water yet. I wanted to see if it was the second set of MySQL commands that are stopping the loop. So, I took them out and replaced them will a simple echo statement. Sure enough the loop didn't stop this time and went completely through. Which me...

Post Posted: March 6th, 2009, 9:50 pm

@joebert Took your advice: mysql_num_rows returns 6, like its supposed to. Therefore I looked and sure enough there's other MySQL calls being made in the script. But they are all essential to operation. Why would they stop the loop? Is there something in the MySQL calls that I should look for? @Boge...

Post Posted: March 4th, 2009, 7:45 am

Ok so I got a script from a site. I need it to run for each entry in a MySQL DB. I have tried using:
Code: [ Select ]
  while($row = mysql_fetch_array($array)) { include 'update.php'; }  
&
Code: [ Select ]
  while($row = mysql_fetch_array($array)) { update(); }  
With update() being a function wrapped ...

Post Posted: March 3rd, 2009, 1:17 pm

problem solved! one of the varibles wasn't filled correctly in the same function that the sql call was being made! Thanks for your help anyways!

Post Posted: March 3rd, 2009, 12:26 pm

its not returning any errors, just no content. When I run this query in phpMyAdmin it works great! but its not working in my script.

Post Posted: March 3rd, 2009, 11:47 am

Can you tell me whats wrong here???
Code: [ Select ]
SELECT count( * ) AS COUNTER, DATE( date ) AS DATER FROM results WHERE feedid = '$feedid' AND date >= '$dateFrom 00:00:00' AND date <= '$dateTo 23:59:59' GROUP BY DATE( date )
$feedid, $dateFrom, and $dateTo are all variables filled previously w...

Post Posted: March 3rd, 2009, 11:41 am

Have you seen this yet???


http://oreilly.com/catalog/sqlnut/chapter/ch04.html

Post Posted: March 3rd, 2009, 11:25 am

blueberry62 - My company offer WordPress installs and maintenance, email me or send DM. joe @ jozsoft.com

Post Posted: March 3rd, 2009, 11:23 am

I have run my own web servers in the past and for me it wasn't worth it! its a major pain in the butt, and on top of that, you can't flow a lot of traffic through it on a regular broadband connection that your ISP hands out. That's why I just go through a hosting company, its easier and more reliable.

Post Posted: March 2nd, 2009, 12:32 am

WTF-AComputer wrote:
Aww man. My free hosting does not support javascript. :( Any ways around this?


What??? How does a host not support javascript??? JS is a client side language. It doesn't even go on the server. Just paste what I gave you directly in your HTML file, it has absolutely nothing to do with your host!

Post Posted: March 1st, 2009, 4:34 pm

Yes, its called personalized search. Your search results are based on user specific indicators, such as location. But, more importantly, if you are talking about Adwords only, then, it is merely a change that you need to make in your Adwords settings, perhaps the campaign that your ad is in has regi...

Post Posted: March 1st, 2009, 4:25 pm

Paste the following javascript in your HTML source code where you want the quotes to appear. Oh and add your own quotes! [code]<SCRIPT LANGUAGE="JavaScript"> //store the quotations in arrays quotes = new Array(6); authors = new Array(6); quotes[0] = "I have a new philosophy. I'm...

Post Posted: March 1st, 2009, 4:11 pm

lets assume that this is my code: [code]<?php $con = mysql_connect("localhost","peter","abc123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_db", $con); $result = mysql_query("SELECT * FROM Persons"); echo "...

Post Posted: February 24th, 2009, 7:28 am

Get rid of the brackets, that's not proper SQL syntax. dark_lord is right

Post Posted: January 24th, 2009, 2:48 pm

Ok, solution found! Apparently, if you add a "sport[]" value as the name attribute then it forces the values to be parsed as an array when passed through PHP via POST.

Post Posted: January 24th, 2009, 11:14 am

Hello all, I have developed a HTML form that post to a PHP script that inserts values into a MySQL DB. Everything works fine however, I have a group of around 60 check boxes that the user can select 3 from (using JS to set a max). The problem that I am having is I am not sure how to pull these three...

Post Posted: January 15th, 2009, 1:28 pm

Wow, thanks so much, it works great. Yeah, I didn't know if the switch function could handle arrays or not.

Post Posted: January 15th, 2009, 12:56 pm

No, the PHP inserts the data into the MySQL DB. Check out the crude flow chart below:

HTML Form >> PHP Insertion Script >> MySQL Database

Post Posted: January 15th, 2009, 12:36 pm

First read this article:
http://www.w3schools.com/php/php_forms.asp

Then read this one:
http://www.w3schools.com/php/php_mysql_insert.asp


Pay close attention to each example. We could write some code that would work for you but then you would never learn, these are great tutorials though.

Post Posted: January 15th, 2009, 12:30 pm

Lets say i want to execute blocks of code based on the values of an array. Why then doesn't the below example code work? [code] <?php $numbers = array("1","5","7"); switch ($numbers) { case 1: echo "Number 1"; break; case 2: echo "Number 2"; break...

Post Posted: October 14th, 2008, 10:02 am

I want to run two extra monitors on my laptop. However, I only have one serial port. I have already checked and verified that my video card will support three displays. But the question remains: how do I connect them with one port? I think I might have the answer. Will this cord work? http://www.sto...

Post Posted: August 25th, 2008, 11:01 am

Thanks Joebert, I actually started working on the AJAX solution right after I posted this thread! Thanks for your help.

Post Posted: August 24th, 2008, 7:38 pm

I know this is a really stupid question but... can I send data from an html for to 2 PHP scripts? like:

Code: [ Select ]
<form id="myForm" action="form1.php" action="form2.php" method="get">


Can this be done? Am I going crazy?

Joe

Post Posted: August 24th, 2008, 7:34 pm

I am sorry that i didn't mention this prior but i have resolved this already. i ended up writing some java script to determine the client's window size on page load. Thanks anyways!

Post Posted: August 19th, 2008, 8:18 am

Thanks Bogey for your input. I think I need to explain things all over again. Here is my second attempt at explaining this again. Have you ever used Google Reader ? With Google Reader there is a large viewer/window that displays different content that you have chosen. After looking at the source it ...

Post Posted: August 10th, 2008, 9:32 am

if your site isn't vertical, meaning that it has lots of different topics, then Google's Adsence is the best option for you. If you have a niche site then affiliates might be an option, but adsence is your best bet.

Post Posted: August 10th, 2008, 8:48 am

Honestly, i think Paypal is the best for recurring payments. Many will try to steer you away from paypal, but it has been my experience that you need to go with a company that does high volume transactions, because they are the most secure and the most dependable. Also, by being a "Verified&quo...

Post Posted: August 9th, 2008, 11:32 am

Yes, exactly! If you take a look at the lay out you will see that there is a header and side bar. I want the content area to scroll and the header and side bar to stay stationary. I considered using a iframe, but instead I am using some ajax to load content directly into the content area. An iframe ...

Post Posted: August 9th, 2008, 8:37 am

Hello all Heres a CSS question for everyone to try and figure out. I am trying to implement this layout. However, I am trying to turn the "Content Column" into a scrollable text box using the overflow:auto; CSS variable. This works ok, but the problem is that I can't get the "Content ...

Post Posted: August 9th, 2008, 8:26 am

Prizes???

Post Posted: July 15th, 2008, 9:40 am

How would I count the number of entries in a MySQL Table with PHP?

Post Posted: June 2nd, 2008, 3:18 pm

*BEGINS HAPPY DANCE*

Post Posted: May 30th, 2008, 7:43 am

So, I understand that this thread is reserved for site reviews. However, what I am looking for is an article review. I can't really tell where there might be a more appropriate location for this request, so I am posting it here. If the moderators want to move or delete this, feel free. I recently wr...

Post Posted: May 27th, 2008, 6:37 am

trevHCS wrote:
Just uploaded it to my server and it worked first time. Are you using PHP5 on that server as it doesn't seem to work with v4.x going by the PHP manual page.

Trev


I think you might be right. I just tried it on a machine running php 5 and it kinda works better...

Post Posted: May 25th, 2008, 5:24 pm

Alex are you sure you read what RedBMedia actually said? This has nothing to do with learning how to work somebody. I'm sure the lady and her boss are very nice people. It's the fact that she's incompetent and has no business being in the position that she's in. I don't blame RedBMedia for wanting ...

Post Posted: May 25th, 2008, 5:12 pm

Hey everyone, I have been trying to build a simple RSS feed reader for quite sometime now. I recently found this great example at w3schools.com But heres the thing, I can't get it to work. Every time i try it I get the following error. Its strange because i haven't changed a thing, just copy and pas...

Post Posted: May 7th, 2008, 7:14 am

No it doesn't exist. Either teach her my way, teach her how to "zip" or talk her boss into firing her because she's worthless. Seriously if she can't do such a simple task she needs to go. Sorry. I spent 17 years in management and I would never keep an employee like that. And if your boss...

Post Posted: May 6th, 2008, 4:18 pm

Save all the files to be attached to the same folder Open New Mail Message in Outlook Switch from RTF format (typically the default) to HTML format. Click Insert on Top Menu and Click File. Navigate to the folder where the files are located Left click the first file listed. Hold the shift key and c...

Post Posted: May 6th, 2008, 7:29 am

Hey all, I have an issue. At my office we have a receptionist that needs to send multiple attachments in one email several times a week. This receptionist and her boss are both pretty computer illiterate. Shes pretty old, and spends most of her time playing solitaire very slowly. So, I need a way th...

Post Posted: May 6th, 2008, 6:56 am

Can you tell us about page placement (I.E. header, footer, sidebar ect.) This is a giant factor in my book.

Post Posted: April 26th, 2008, 8:32 pm

Thats awesome! Often times when I am on with Tech Support, I end the discussion with "ok thanks allot, if this doesn't work like you said it would, I'll be back....like the Terminator!"

Post Posted: April 26th, 2008, 8:28 pm

Your CSV structure has to correspond to your MySQL table structure, other wise your PHP code will never know where to put the data. The easiest way to do this is to open up your CSV file on a spread sheet program like EXCEL. Give each column corresponding names like ID, username, password. Paste the...

Post Posted: April 25th, 2008, 9:08 pm

Why don't you use a pull down menu for the departments that are full and have a different name for the other. And in your validation script, check if the 'other' field is filled in, and if it is, void the pull down menu variable. To be completely honest, I thought of that a few hours ago.....and th...

Post Posted: April 25th, 2008, 8:55 pm

Do the radio buttons or does the 'other' field not store the department in the database? Or does neither work? Neither work. I have tried using other elements such as pull down menus, check boxes, and even another text entry, and what i have noticed is it seems that any 2 or more elements with the ...

Post Posted: April 25th, 2008, 6:15 pm

Bogey wrote:
What about the selection? Did you put the 'value' attribute? I'm sure you did, just making sure.


yes, I used the value attribute...;-)

Post Posted: April 25th, 2008, 12:09 pm

Im not quite sure what you mean, mostly because i think the problem is most prob in your applied data model. what does the table look like? Heres my table structure: [code] CREATE TABLE `projects` ( `id` int(11) NOT NULL auto_increment, `title` text NOT NULL, `story` text NOT NULL, `department` var...

Post Posted: April 25th, 2008, 6:18 am

Hey every one! I am currently having a problem with a simple HTML form. In the form the user has the option to select from a series of radio buttons. If the user does not find the appropriate selection in the radio buttons, they can provide their selection in a text entry field labeled "other&q...

Post Posted: April 25th, 2008, 5:27 am

Concerning your highlighted example, A developer might acknowledge this "Risk" is true due to a software flaw in the PHP engine, and might next make the choice to either write the code accepting this risk or not write it at all and find a different more secure way of managing the applicat...

Post Posted: April 24th, 2008, 9:37 am

Sorry for saying so, I dont want to claim that some programmers are "short-sighted". But i do think that it all depends on your approach on the subject. As a programmer from new-york explained in his blog, there are prob. two types of programmers. Idealists and Pragmatists, if you conside...

Post Posted: April 23rd, 2008, 9:28 am

Security is, like you said, a controversial topic where people have different opinions on what secure is and how to make such scripts. Security in general, is keeping others from making anything that effects the other group negatively. If you thing SQL Injections is bad for you, than you would want...

Post Posted: April 22nd, 2008, 11:26 am

That depends what you mean by secure. Are you trying to avoid SQL injections? Are you trying to limit user access? I suppose defining "security" should be our first priority. But that is part of the problem, it seems as if there are so many different ideas about what secure means. Thats w...

Post Posted: April 22nd, 2008, 7:26 am

Its old, and pretty tacky, but my favorite is CrimsonEditor.com

Post Posted: April 22nd, 2008, 7:21 am

So, I have been teaching myself PHP for about a year now and often times I take different scripts that I have created and run them by folks on forums, like this one. One of the things that I always hear is that my scripts are not secure. Ok, fine I am bad at security, I can accept that. But when oth...

Post Posted: April 4th, 2008, 9:56 am

When working in PHP, lets say I send data using the HTTP GET. And then I store the data as a session variable. How do I clear that data after its been used?

Post Posted: April 2nd, 2008, 8:58 am

neksus wrote:
Code: [ Select ]
$input[0] = h


I am not really following you here...?

Post Posted: April 2nd, 2008, 8:27 am

Ok, so lets say I have a string called $input, and $input = "hello there". How do I separate each character in $input and assign it, its own variable?

For example I want:

$input = hello there

to change into:

$character1 = h
$character2 = e
$character3 = l
$character4 = l
$character5 = o

Post Posted: March 24th, 2008, 1:17 pm

Holy crap, after reading your post, i went to follow the instructions, and BAM there it was in my programs menu!!! I think i have been drinking way to much coffee this last weekend! Thanks anyways dude!

Post Posted: March 23rd, 2008, 6:51 pm

Hey folks, I need some cheap software that I can overlay text on a few AVIs, I used to have windows movie maker but deleted it. I don't want to reinstall SP 2 to get it..... anyone have any ideas?

Post Posted: March 4th, 2008, 11:48 am

Is this to good to be true???? Should Microsoft choose for IE8 to follow the standards developers want or the ones they use? It's been a tough call, and late yesterday, the company reversed that call. In a complete reversal of policy that will probably be reflected in later builds sent to private be...

Post Posted: March 4th, 2008, 11:38 am

I find it interesting that you named your poem "Life". You could have just as easily named it "Death". Are you really OK now? I was worried about you a bit when I read the poem. Or you could have titled your poem "Grilled Cheese Sandwhich" That may sound stupid, but th...

Post Posted: February 6th, 2008, 12:15 pm

Belkin tells you to install the drivers without having the adapter connected. WRONG. Connect the adapter and then install the drivers. Yeah I figured this, I have tried it both ways. Probably not what you want to hear, but I have to throw in my two cents: I've never had a good experience with Belki...

Post Posted: February 5th, 2008, 1:33 pm

Hey folks, I have a brand new Belkin USB Wireless G Adapter that I am having a hard time installing! I have installed the drivers and software that came with it, but when i connect it to the computer it doesn't recognize the drivers. I have tried updating, rollback and reinstalling the drivers about...

Post Posted: December 20th, 2007, 2:05 pm

The mail function must follow the following format:

PHP Code: [ Select ]
mail($to,$subject,$message[,$additional_headers[,$additional_parameters]])


Strings like $name do not follow the required format. Read More

Post Posted: December 20th, 2007, 8:15 am

Hello, I just searched for a referral script and have found this very useful. I was wondering how I might ammend the code to let users enter multiple email recipients? Thanks in advance! Like This: [php] <?php $email1 = Trim(stripslashes($_POST['email1'])); $email2 = Trim(stripslashes($_POST['em...

Post Posted: December 19th, 2007, 2:22 pm

Or how about pre-parse the HTML and then do a character count.

Post Posted: December 17th, 2007, 12:23 pm

You can use thickbox to load external pages in an iframe. In each external page you can include your ad tracking software to count hits. I have a feeling this is close to what you are talking about. you would take in the content that is originally found in the div and place it into the external pages.

Post Posted: December 17th, 2007, 12:09 pm

Prime wrote:
a new web 2.0 solution


Can you be a bit more specific?

Post Posted: December 16th, 2007, 1:21 pm

I am working on a site that showcases embedded video from other sites like Youtube and Myspace. I am thinking that I am going to have to write my own content management system. I would like to include as a feature of the system a way to provide users a still thumbnail of the embedded video. An examp...

Post Posted: December 14th, 2007, 7:13 am

Oh the joys of spam! :lol:

Post Posted: December 12th, 2007, 2:08 pm

The issue of weather or not paid directories are banned is still a debatable topic. The truth is that its more accurate to say that most paid directories are banned. The larger more legitimate ones like yahoo seem to be safe. i would start with Yahoo and DMOZ and then start building links in other w...

Post Posted: December 11th, 2007, 1:19 pm

Why not just hack it with OPHcrack?

http://ophcrack.sourceforge.net/

Its by far the best out there for this. And It comes on a liveCD which means that you can boot from the CD and start hacking instantly!

Post Posted: December 11th, 2007, 1:11 pm

Matyw wrote:
hi,
all these schematics are just confusing as hell to me!


You aren't the only one thats confused here buddy!

Post Posted: December 10th, 2007, 1:48 pm

I think the "mailed-by" function is something specific to you email client. try opening an email in a different client something with a simpler header. I say this because your script covers all the bases.

Post Posted: December 7th, 2007, 1:00 pm

There's an eays way to do that but its kinda cheating and you wont get a look like that but very easy to make and if well done well can turn out good. takes 2 pages, used html, css, asp (vb) (really quick example) [code] ******* home.html ******** <body> <FORM action=glass.asp> ...

Post Posted: December 7th, 2007, 7:46 am

Personally, on my home machine, I tend not to use one AV over the other. Instead I use a suit of tools such as registry blockers, spyware scans, and adware scans. On the systems that I manage at my office we use McAfee because it came with the package that we bought from dell. But, even then I have ...

Post Posted: December 6th, 2007, 7:13 am

I don't use any AV. I lock the registry instead using Mike Jacob's Reg Watcher. A fix for a virus can only come after someone's PC has been infected. If it's not your PC, then it doesn't matter, but what if your PC were the first to get the virus or if it were in infected on a Monday and the new .d...

Post Posted: December 5th, 2007, 12:26 pm

I think the way that you have it setup now is great. your web site appears to be more or less an advertisement of some sort for your copy writing business. Your Blog is going to attract people to your site and make it rise in Search Engines, I think you are doing well.

Post Posted: December 5th, 2007, 8:09 am

why nt try installing portable FF on a thumb drive?

Post Posted: December 5th, 2007, 7:35 am

Hey everyone! I have Time Warner Cable Internet and I just got a wireless router. I haven't hooked it up yet, but i am wondering... after I hook up the router and use 2 computers on it, will Time Warner Cable begin to charge me more? My gut instict is that they can't tell the difference between two ...

Post Posted: December 5th, 2007, 7:26 am

every thing is very bad, very bad the colors, time to load, the text if there is any, white text?! think about wht you want from this website. i could not look at it. sory WHAT!? ... for anyone else reading this ... his comment was on this site ... Get a grip bro ... Hire a web-developer next time ...

Post Posted: December 3rd, 2007, 12:33 pm

There used to be a flash version floating around the internet at one point try looking for that.

Post Posted: December 3rd, 2007, 12:30 pm

EXCELLENT SPORK!

Both of these work:

PHP Code: [ Select ]
 
$_SERVER['PHP_SELF'];
 
$_SERVER['SCRIPT_FILENAME'];
 
 
  1.  
  2. $_SERVER['PHP_SELF'];
  3.  
  4. $_SERVER['SCRIPT_FILENAME'];
  5.  
  6.  



As always! Thanks allot!

Post Posted: December 3rd, 2007, 12:12 pm

susancbk wrote:
Anyone know where I can an emulator / download of Oregon Trail for OSX... Believe it or not - it's actually for research :)


http://www.greatgamesexperiment.com/game/oregontrail

Post Posted: December 3rd, 2007, 12:06 pm

I am working on a PHP script. I need the script to verify if it is in the right location. Is there a way that PHP can read the URL that the script is sitting in?

Post Posted: December 3rd, 2007, 8:41 am

try encoding your request for help in pig latin, we might then be able to understand.

Post Posted: December 3rd, 2007, 8:33 am

If you need a dedicated server for running WordPress MU, you may have it from GoDaady.com, [banned domain] and RackSpace.com. All these companies recommend nice dedis for affordable prices. I would not recommend running anything on Godaddy. Especially something that requires a dedicated host. The s...

Post Posted: December 3rd, 2007, 8:28 am

i am currently working on a solution to this.....I will post what i find when i finish.

Post Posted: November 30th, 2007, 1:45 pm

Lwt me first say that I love the concept for your site! Physics is one of my favorite subjects! And free information is AWESOME! I am not completely sure of what might be causing your problems. But I would like to ask why you are using the "position" variable at all? when i do a three colu...

Post Posted: November 30th, 2007, 12:12 pm

ok, so i just ran a simple script based on the example given in the link that you provided spork, and surprisingly it worked really well! However, I am curious how to select varibles like font, size, color, and position on the image. Below is my code: [php] <?php header("Content-type: image/...

Post Posted: November 30th, 2007, 10:29 am

I have never heard of this

Post Posted: November 30th, 2007, 10:26 am

i was just looking for this earlier today!


http://www.zapatec.com/website/main/products/forms/
http://formassembly.com/form-builder/
http://www.jotform.com/
http://wufoo.com/
http://www.phpform.org/

Post Posted: November 30th, 2007, 10:18 am

calvi36 wrote:
Many thanks for that Red. I don't think I will use an SEO again as the last one could have got us blacklisted by google.



Its disappointing to hear about the bad apples ruining things for the rest of us!

Post Posted: November 30th, 2007, 9:58 am

This is a good question that I have consider in the past as well. I am looking for something in PHP. i kow it can be done i am just not really sure how. Does anyone have an answer on this?

Post Posted: November 30th, 2007, 9:47 am

Most social networking sites make money though ad sales. If you are interested in starting your own you can try it out free at ning.com

Post Posted: November 30th, 2007, 8:13 am

LOL some how i missed that second page! Thanks trespasser!

Post Posted: November 30th, 2007, 8:12 am

ant718bx wrote:
RedBMedia wrote:
What type of connection do you have?


i have DSL.



I know this sounds crazy, but have you tried to unplugging the connection and let things reset and then start it back up.....might be way to trivial but we ave to start with the basics! :D

Post Posted: November 29th, 2007, 2:19 pm

No character encoding, unsupported tag syntax, use of relative size values......and after that i gave up.....sorry!

Post Posted: November 29th, 2007, 2:05 pm

When choosing a good SEO it is important to look at their portfolio of SERP's. In other words ask them if they can show you a list of their clients and where they stand in google. Also, SEO companies that have client testimonials are very important. Some SEOs that i have delt with will actually let ...

Post Posted: November 29th, 2007, 9:56 am

Its pretty neat but its only 2 tips, where the rest of it?

Post Posted: November 29th, 2007, 9:51 am

This might help:

http://blog.deconcept.com/swfobject/

Post Posted: November 29th, 2007, 9:49 am

What type of connection do you have?

Post Posted: November 29th, 2007, 9:44 am

ATNO/TW wrote:
I could argue this one back and forth for days.



And when conversations on forums get to that point, I usually say "Audios!" So, lets not get to that point because quite frankly, I like it here! :D

Post Posted: November 29th, 2007, 9:19 am

Oh man, this is a big question! i have been asking this same question around the net for about half a year! The best answer I can come up with is a dedicated server option seems to be the best choice. Why dedicated? Shared, semi-dedicated or VPS environment are still options to consider. I recommen...

Post Posted: November 29th, 2007, 9:15 am

DanKo, Find yourself a host that has Fantastico. This is a software that will install applications with 1-click from your cPanel. WordPress is one of those software included with Fantastico :-) Greg Fantastico does not support Wordpress MU. Remember everyone, regular Wordpress DOES NOT equal Wordpr...

Post Posted: November 28th, 2007, 12:33 pm

I don't think Google will punish anyone for either of these reasons. The company i work for has about 5 domains all pointing to the same site. And we hold on to the top spot in several searches.

Post Posted: November 28th, 2007, 12:19 pm

I've never had to "fix" a computer where the antivirus was up to date and was scanned regularly. Same here, but who wants to update software that bogs the system down? The majority of my time with desktop users is spent looking at a machine that takes 20 minutes to run correctly after sta...

Post Posted: November 28th, 2007, 12:04 pm

I think DanKo is talking about Wordpress MU which is basically the same thing as wordpress but it allows you to setup a blogging service on your web host, like wordpress.com or blogger.com You can find out more at:

http://mu.wordpress.org

Post Posted: November 27th, 2007, 2:27 pm

They are beautiful

Post Posted: November 27th, 2007, 2:23 pm

Ya know this reminds me of the problems i have with the commercial AV software. It seems that they all cause way to much drag on the system to the point that allot of ignorant users are disabling them and not renewing their subscriptions. It seems that it keeps getting worse and worse with each new ...

Post Posted: November 26th, 2007, 1:27 pm

geez when was the last time someone needed one of these?

Post Posted: November 26th, 2007, 10:00 am

Oh man, this is a big question! i have been asking this same question around the net for about half a year! The best answer I can come up with is a dedicated server option seems to be the best choice. And I would assume that if you need a dedicated host then you need a company that is reliable and h...

Post Posted: November 22nd, 2007, 10:06 am

Steven D wrote:
i know, its lol as, doesnt come up when im checking my own site, or doing anything else, it is the first time it has ever come up.

It happned when i tried to go to page 15 or something when i followed that link above.



Wow, you are right. This is weird! Everyone check it out and see whats up.

Post Posted: November 20th, 2007, 9:13 pm

was trying to have a look & look what i got We're sorry... ... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now. We'll restore your access as quickly as possible, so try again soon. In ...

Post Posted: November 20th, 2007, 2:14 pm

Have you checked these results against the stats in google web master central? Well it may sound strange though the indexed pages shown on Google is just 15,000 but Google crawls 99989 pages on an average daily. Cheers, Ok, but once again, have you checked these results against the stats in google ...

Post Posted: November 20th, 2007, 12:03 pm

I think i might install on my linux machine to give it a test run before moving to my work computer.

Post Posted: November 20th, 2007, 11:43 am

Have you checked these results against the stats in google web master central?

Post Posted: November 20th, 2007, 11:32 am

PCWORLD's review: http://blogs.pcworld.com/staffblog/archives/005952.html

Post Posted: November 20th, 2007, 11:17 am

Google does not place any more value on paid versus free directories. A good example of this is the fact that both the Yahoo directory and the DMOZ directory, both hold LOTS of authority in Google. DMOZ is a free directory and Yahoo offers a submission of around $300.00 IMHO both hold the same weigh...

Post Posted: November 20th, 2007, 11:12 am

If you have a search box that was provided by google, IMO you cannot limit it in a specific site only. If you want a specific searching on your site only then try to put a search box that will search your product only. Meaning the scope of your search is within your site only. If you click the link...

Post Posted: November 19th, 2007, 11:06 am

this213 wrote:
you forgot "WHERE"?


No, I never forgot the WHERE statement because what you read above wasn't code! The problem took place in phpMyAdmin....... No code involved.

Post Posted: November 19th, 2007, 8:52 am

Well, obviously this has to do with your SERP's

Post Posted: November 19th, 2007, 8:50 am

SpooF wrote:
3. Run a large query that will select all the variables in my array at once (I believe I can do this with a single query)


I have used this method many times. Works great! Let me know if you want example code.

Post Posted: November 19th, 2007, 8:45 am

PunkPuke, are you asking about how to setup domain name servers?

Post Posted: November 16th, 2007, 11:17 am

If you put the script above in a directory on your web host then it should be easy to find the URL. For example if I put the script above in the directory www.yourwebsite.com/mypenis/ and I wanted to upload a file called istiny.pdf then my url would be: [code] www.yourwebsite.com/mypenis/ist...

Post Posted: November 15th, 2007, 1:24 pm

I don't know how he plans on making the flyer but if he can make one with the same file name then he can use a simple upload script like below to upload a file to a given directory. HTML Form [code] <form action="upload_file.php" method="post" enctype="multipart/form-...

Post Posted: November 15th, 2007, 1:14 pm

I hate it!.....LOL.....no seriously, i like it....i like the simplicity of it. However, i don't think white text on gray isn't very appealing to the eye, and its lack of color tends to be boring....i would like to see more color and maybe a textured background...I like the layout and the simple stru...

Post Posted: November 15th, 2007, 7:43 am

How about instead of trying to fix something that is broke go with something that already works. like zen cart or OSCommerce or another shopping cart ecommerce solution?

Post Posted: November 14th, 2007, 2:25 pm

If anyone is interested, I once made a vector version of the dragon. I haven't looked at it in a while, but you're all welcome to it. http://www.chriscarney.com/cleanMe/ozzuDragon.eps //Please repost any updates you make to it, so others can benefit. thanks, this is what i have been looking for.

Post Posted: November 14th, 2007, 1:51 pm

yeah or OScommerce

Post Posted: November 14th, 2007, 1:49 pm

i don't see why it wouldn't work. You can premake a PDF template that fits your format and lay out that will just be filled in with the PHP classes that i pointed you to. the length shouldn't mater either.

Post Posted: November 14th, 2007, 11:35 am

will mac read fat 32 and NTFS?

Post Posted: November 14th, 2007, 10:44 am

How about instead of filling it out in the PDF and sending it, you have the user fill out a HTML form that sends the info to a script that will create the PDF and email it and then have the information inserted into the database. You can create PDFs with PHP by looking here>> http://www.ros.co...

Post Posted: November 14th, 2007, 10:32 am

I don't think there is one that will work between MAC and PC. Does anyone know if I am wrong?

Post Posted: November 14th, 2007, 10:29 am

can you post your code? or shall we use our psychic powers?

Post Posted: November 14th, 2007, 10:25 am

You can upload WordPress to any directory on your host. Read here for more instructions>>> http://codex.wordpress.org/Installing_WordPress

Post Posted: November 14th, 2007, 10:23 am

What operating system are you using? Windows? and if so what windows?

Post Posted: November 13th, 2007, 1:12 pm

It looks awesome so far, by the way, that logo looks great! Did you get a copy of the image somehow or did you just take a screen print and work from that? I have been wondering the same thing. where can i get a copy of the logo with out any styling or rendering? something just in black and white?

Post Posted: November 13th, 2007, 1:08 pm

has the drive been partitioned? and what partition is it?

Post Posted: November 12th, 2007, 7:34 pm

This explains it well...

http://www.free2code.net/tutorials/view ... _script-5/ page1.html

Post Posted: November 12th, 2007, 6:25 pm

What i used to do as well was serialise the user object into a session variable. This allowed me to make calls against the object after deserializing without having to hit the database to retrieve the user information. I have done this before, and it works great! its really good for template system...

Post Posted: November 12th, 2007, 6:13 pm

Let me know ifi can be of more assistance.

Post Posted: November 12th, 2007, 5:25 pm

In your HTML form:
Code: [ Select ]
<form action="testing.php" method="post"> <input name="name"> <input type="submit" value="Submit" > </form>
In your PHP file: [php]mysql_query("SELECT Name FROM user WHERE Level ='Mem...

Post Posted: November 12th, 2007, 9:57 am

I have phpMyAdmin 2.11.0 installed on top of MySQL 4.1.22. This morning I was using phpMyAdmin to edit some values in the database. I have a table in the database that hold contact information. There is a field in this table called day_phone that is an int(10) NOT NULL and DEFAULT of 0. While inputi...

Post Posted: November 12th, 2007, 9:44 am

How about take Ozzu's lead with phpBB!

Post Posted: November 12th, 2007, 9:42 am

Check this out:

http://www.google.com/coop/cse/

Post Posted: November 12th, 2007, 9:01 am

Should we submit links to our entry on this thread or how should we submit?

Post Posted: November 12th, 2007, 8:45 am

Have you looked at connlog.php on line 9, yet?

Post Posted: November 12th, 2007, 8:43 am

Never used them, but my heart and soul will alway go with hostgator.com they have always treated me good, and they have a 99.9% uptime guarantee! You must be their lucky client! :lol: As I see ServerPoint.com provides reselling of shared web hosting and dedicated servers and they offer a 20% discou...

Post Posted: November 12th, 2007, 8:37 am

Try this: New link:
Code: [ Select ]
<a href="name=John">Remove user</a>
Replace John with the name that you want to remove. New PHP: [php] mysql_query("SELECT Name FROM user WHERE Level ='Member',Name=' $uname'"); if($name = Trim(stripslashes($_GET['name'])) $success = m...

Post Posted: November 11th, 2007, 9:01 pm

In this line:

Bogey wrote:
<form action="testing.php?action=remove&remove-user" method="post">


What is "?action=remove&remove-user" ?

Post Posted: November 10th, 2007, 12:49 pm

wow i like it! Are you trying to sell these products from the site? or just showcasing them?

Post Posted: November 10th, 2007, 12:41 pm

If you are talking about this site http://loving-fashion.blogspot.com/ then it may be because it is still a young site. There has been reports that sometimes young sites get bumped to the top of the rankings simply to help them gain exposure and compete against older more authoritative sites. Howeve...

Post Posted: November 9th, 2007, 11:42 pm

Like I said in my past post, if you can't explain the end application to us then we probably can't help.......just tell us EXACTLY what you are trying to do in clear thought out language. What does your site do? Who visits your site? What do your visitors do? These al may seem like simple question, ...

Post Posted: November 9th, 2007, 1:32 pm

Place your mouse over the Wireless Network Connection icon found in your system tray at the bottom right right hand corner of the screen. <right click> on it and select repair. Let the utility repair the connection by resetting settings and connections. Do all of this before you reinstall any ...

Post Posted: November 9th, 2007, 1:24 pm

Ok, I discovered that for some reason it was the $url that was causing problems. The working script can be found below:
PHP Code: [ Select ]
 <?php $id = 'JohnDowe'; echo "JohnDowe is currently <img src='http://opi.yahoo.com/online?u=$id'>"; ?>
Users can post a screen name into the $id ...

Post Posted: November 9th, 2007, 11:10 am

webbmonarken wrote:
People like you gives php a bad security reputation. haha ;)


And People like you that are critical with out a willingness to help gives forums a bad reputation.

Post Posted: November 9th, 2007, 10:38 am

Amazingly enough hotlinking works! Well.....kinda works. The image displays just great, but for some reason no matter what the status of a yahoo screen name, it shows as offline. I tried it several times with my screen name and its offline the whole time even when i am signed in. I think that the or...

Post Posted: November 9th, 2007, 9:37 am

Hello all, I have written a small PHP script that when working will check the online/offline status of of a Yahoo messenger user. The code follows: [php] <?php $id = 'JohnDowe'; $url = 'http://opi.yahoo.com/online?u=$id'; $status = file_get_contents($url); ?> <?php echo "JohnDowe is cu...

Post Posted: November 9th, 2007, 9:20 am

Do you have the original drivers for the second screen? Its important that you load those on the laptop because the windows default drivers for secondary displays often times don't work quite like they should.

Post Posted: November 9th, 2007, 9:18 am

Read my solution to a very similar problem HERE.

Post Posted: November 9th, 2007, 9:10 am

I don't know anything about heart but if your account comes with cpanel access, you should have acccess to their "file manager" utility. With this you will be able to upload files and then compress them on the server. If you have SSH access you can zip them through there, but you will need...

Post Posted: November 9th, 2007, 8:58 am

To call your function just:
PHP Code: [ Select ]
<?php mail(); ?>
To send email follow my lead: [php] <?php // get posted data into local variables $Email = Trim(stripslashes($_POST['email'])); //The "email" varible must match the varible that is used in the HTML input tag for "email&q...

Post Posted: November 9th, 2007, 8:09 am

grinch2171 wrote:
You should download FireFox or Opera and use those instead. You will be much happier.


tru that!

Post Posted: November 9th, 2007, 8:04 am

Why not break task down in like five or six categories. make a table for each, then if a users job or assignment calls for different task to be completed have that user added to the different categories that pertain to each task. Set different levels and options per category or table that then break...

Post Posted: November 8th, 2007, 1:56 pm

Let me first start out by saying that I am not really even sure what you are trying to completely get at here. However it appears that you are trying to set up a user system that handles different access and permissions based on user levels. I am not going to say weather the above methods that you h...

Post Posted: November 8th, 2007, 1:11 pm

Arctic Shadow wrote:
Internet Explorer closes immediately after opening


This doesn't sound like a problem to me! LOL :lol: But, seriously, I think that grinch2171 is on the right track here, follow his lead.

Post Posted: November 8th, 2007, 1:05 pm

Make sure that your MySQL database settings in your script are matched with godaddy. For example, on godaddy they don't give you access to their localhost therefore you will have to put in their unique host id. you can find it if you click on the details of the database in your user control panel fo...

Post Posted: November 8th, 2007, 12:57 pm

Wow it worked (with out the AND) Thanks, Mr. trespasser! Its strange because i actually followed the exact same example at w3schools and I think i even tried a comma, bu for some reason it didn't work then. Thank god it works now! Thank you both! and BTW, how does one mark a thread as resolved?

Post Posted: November 7th, 2007, 9:23 am

IMHO You have integrated your ads into the design so well that the whole site looks like an advertisement. move that ad right in the middle of the page to the bottom. Try moving the menu to another location that will assert it as a menu.

Post Posted: November 7th, 2007, 7:44 am

Looks allot like "Loki Cola" try googleing to find it. Or try this site to identify on your own: http://www.identifont.com/

Post Posted: November 7th, 2007, 7:38 am

Thanks spork, i was starting to doubt myself....and get kinda confused!

Post Posted: November 6th, 2007, 1:43 pm

Why not just make your email an image if you are concerned about spam bots?

Post Posted: November 6th, 2007, 1:10 pm

These are two good tutorials on this topic. I think that they both don't go as in depth as they should, but they give you a great understanding of how to write te basic PHP login/registration script. http://www.free2code.net/tutorials/view/creating_a_php_login_script-5/page1.html http://www.devshed....

Post Posted: November 6th, 2007, 12:55 pm

Is there a partition/label conflict with one of the new drives? Sometimes new drives can have similar partitions/labels and cause conflict when in use.

Post Posted: November 6th, 2007, 12:47 pm

I am trying to write a script that will update already existing entries found in a MySQL database from data posted from a HTML form. So far I have been successful at updating one at a time. However I would like to update many with only one mysql_query() statement. Is this possible? The below code wi...

Post Posted: November 6th, 2007, 11:20 am

Paste this at the bottom of your registration script:
PHP Code: [ Select ]
<?php include("email.php"); ?>
Then create email.php Pay attention to my comments so that you can make this script work for you: email.php : [php] <?php // get posted data into local variables $Email = Trim(stri...

Post Posted: November 6th, 2007, 8:54 am

I think it would really depend on what your circuit is and does.

Post Posted: November 6th, 2007, 8:52 am

Yeah DMOZ really carrries allot of weight in Google. Oddly enough so does the Yahoo directory, in fact getting in the Yahoo dir. was the best $200 I ever spent online!

Post Posted: November 6th, 2007, 8:49 am

Never used them, but my heart and soul will alway go with hostgator.com they have always treated me good, and they have a 99.9% uptime guarantee!

Post Posted: November 6th, 2007, 8:42 am

You want to show something in html code for example for maby X secs and then you wants to remove it completley for the user correct? Register a session for the user browsing the page called "pageviewed" or something. Then make a single if expression: [code] if (!isset($_SESSION ...

Post Posted: November 5th, 2007, 11:47 am

Ha Ha! I figured it out on my own! Heres what was wrong: In this original line of code the database entries are only selected once, because there is no statement that defines what entries to pull. [php]$result = mysql_query("SELECT * FROM `contacts` ORDER BY id DESC") or die( mysql_error()...

Post Posted: November 5th, 2007, 10:00 am

You mean like to clear a field in a MySQL database and then insert another? No, I mean after data has been sent to this form via the GET function, it won't clear! When I click reload, its still there. Even when I change the URL path to start a new variable for the get function the old data is still...

Post Posted: November 2nd, 2007, 11:39 am

Try motion blur, then cutout, then blur more.

Post Posted: November 2nd, 2007, 11:35 am

for this type of help it would be helpful if you could either:

1. past all your code.
or
2. send us a URL to look at.

Post Posted: November 2nd, 2007, 11:31 am

Btw,

for some reason some of the PHP ran together with the HTML when i posted it here, so for clarification this: echo $field['first_name']; is supposed to read:

PHP Code: [ Select ]
<?php echo  $field['first_name']; ?>

Post Posted: November 2nd, 2007, 11:27 am

As some may know I am in the process of learning PHP. I am currently writing my first application that uses PHP and MySQL. As part of my app. I have written a small script that is meant to collect data from a MySQL table, insert that data into a HTML form for editing, then when the form is "POS...

Post Posted: November 2nd, 2007, 10:48 am

vipflux wrote:
i dont know how... but i got hacked.somebody deleted all my photos in "files" folder and replaced them with a index.html document..


can you be a bit more detailed? What do you mean "files" folder? is this on a web server? your local machine? a network? What?

Post Posted: November 2nd, 2007, 9:05 am

Kukaka wrote:
Is it possible for this code to do so that when u try to turn ur comp on it wont respond?



cjxxi wrote:
RedBMedia wrote:
Even if it was valid code it wouldn't affect your computer unless visited by your web browser.


duh


DUH! To you too!

Post Posted: October 31st, 2007, 6:02 pm

I think he means...
PHP Code: [ Select ]
<?php include('somefile.php'); ?>
into another page... Yeah thats whats he means...and this is exactly the issue. I am almost certain that i have rain through this tutorial before and had this problem when I tried to integrate it in a template that utilized the ...

Post Posted: October 31st, 2007, 1:22 pm

In my opinion better safe that sorry, especially when talking about power.

Post Posted: October 31st, 2007, 9:42 am

If you are trying to market for the term "Holland Michigan Real Estate", then i would say yes! I am currently handling the SEO and marketing for a real estate company, and i can honestly say that any geographical function tha Google offers will help you with geographical SERPs. A great exa...

Post Posted: October 31st, 2007, 9:29 am

I would say at least a 850w. You could probably get by with like 700, but i wouldn't chance it....you can get a 1000w for not a bad price in some areas of the net.

Post Posted: October 31st, 2007, 9:23 am

This problem sounds very familiar. Just by chance are you using this tutorial for your script? If so, I might have an answer

Post Posted: October 30th, 2007, 4:17 pm

At first I cringed at the sight of your site. Not because it is ugly or what not. It is actually, quite beautiful! But the reason that I cringed was because it at first looked like it had all the qualities of a "print designer trying out web design" in my experience this tends to be a rath...

Post Posted: October 30th, 2007, 2:35 pm

There are several ways but the easiet is probably to use "ORDER BY" appended to your SQL statement such as, "ORDER BY date_entered DESC". Cheers, Charles ... :D This is why I love these forums! Learning PHP has been allot of fun because I am rewarded with success more than failu...

Post Posted: October 30th, 2007, 10:11 am

I doubt a beginner is going to start off hand coding. Why's that? Rather than letting a program generate all the markup for him, why not start off with the basics and actually learn things correctly from the beginning? When it comes down to it, the best quality work is done by writing the code/mark...
  • Sort by
 
cron
 

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.