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

Im a Web Developer. I like be to be nerdy, play soccer and eat cookies.

Interests
php, web development, apache, mysql, wordpress, ajax, soccer, hockey
PC Specs
3 desktops, 3 laptops, 1 netbook, 1 ipod touch, 1 smartphone and a lot of spare parts. I am a fan of…
Member Avatar for martinkorner

Hi, I am trying to write a .htaccess script that can redirect any URL on my site (whether it exists or not, including sub-domains) to the index page of that site. For example: example.com/pages/page.htm ---> example.com sub.example.com/page.htm ---> example.com error.example.com/error ---> example.com I've tried a few things with mod_rewrite but …

Member Avatar for guruparthi
0
1K
Member Avatar for happygeek

On the evening of 24th February, Google Principal Engineer Matt Cutts promised that a newly [URL="http://googleblog.blogspot.com/2011/02/finding-more-high-quality-sites-in.html"]tweaked search algorithm that impacted on 11.8% of search queries[/URL] (an absolutely massive change to the way that search works, in other words) would "reduce rankings for low-quality sites which are low-value add for users, …

Member Avatar for iamseo
7
3K
Member Avatar for mls880

Hi Guys I have an e-commerce website. Two of the columns are for the pricing of products. What I would like to do is update the price ('prodprice') directly from the cost price ('prodcostprice'). It would be nice to set a certain markup according to price range. eg. $0-$1000 = …

Member Avatar for AndyVI
0
196
Member Avatar for CFROG

I'm trying to output the results of an array to a table. To be more specific, I'm trying to output pictures ... let's say 5 pics per row for example. Below each pic I'd like to display a few options like delete, etc. I'm not looking for the answer, just …

Member Avatar for ijn1
0
279
Member Avatar for Lanor

hi...I am running rhel5.4. I have enable UserDir in apache and get the forbidden error while trying to access [url]http://localhost/~lanor[/url] I have set set permission for user Lanor 711 for home dir "lanor" and 755 for "public_html" Is it that I have to set the above permission for the user …

Member Avatar for Lanor
0
202
Member Avatar for kylegetson

looking to build a network for link exchange/promotion. The plan is to get a distributed group of reliable people. Then exchange promotion between group members. The group would need to be relatively small and manage-able. Communication would need to be open amongst the group, but kept private and away from …

Member Avatar for joelchrist
0
174
Member Avatar for eswar.aspire

hello, I am new to php and apache..any help is appreciated. I am designing a music website..I am designed the music player with flash.I have xml file like this where my flash player play the songs from the url..I have a folder named songs. <song> <track>Princess Song</track> <artist>Artist Two</artist> <url>songs/princess.mp3</url> …

Member Avatar for eswar.aspire
0
997
Member Avatar for Rambomst

I recently purchased a Linux VPS the following specs. Operating system: CentOS Linux 5.5 Webmin version: 1.520 Kernel and CPU: Linux 2.6.18-028stab070.4 on x86_64 Processor information: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz, 16 cores Real memory: 512 MB total, 361.74 MB used Local disk space: 30 GB total, 3.62 GB …

Member Avatar for Rambomst
0
141
Member Avatar for JayGeePee

I was wondering how to display php on a html page? My site has a php backend doing all the work, html to make it look good. I'm trying to display a chat box which is coded in php on my html header page.

Member Avatar for kylegetson
0
194
Member Avatar for sakush100

$oldm='5'; I want $oldm to convert to a new variable $newm, so that $newm contains "may". I mean i want to convert $oldm to text month. How to do it ?

Member Avatar for kylegetson
0
102
Member Avatar for cdes1145

Been scouring the web for ages and can't find a solution. So here I am..... Firstly this is my first venture into web design and hosting. I've got my own site running from just my laptop atm. I'm trying to include a basic hit counter using the following code; <?PHP …

Member Avatar for kylegetson
0
708
Member Avatar for mayuri_desh

need to write the below javascript function in php..please help [CODE]myStartDate = new Date('April 1, '+curYear+' 1:59:59');[/CODE]

Member Avatar for P0lT10n
0
82
Member Avatar for emillion82

I have a string, that contains multiple values, and has a prefix of ***. Here's an example: [code=php] $value = 'a.first_name, a.last_name, a.address, a.city, a.state, b.phone_num, bc.gender, vfr.rating'; // instead, I'd like for it to display like this $value = 'first_name, last_name, address, city, state, phone_num, gender, rating'; [/code] Basically, …

Member Avatar for kylegetson
0
125
Member Avatar for xabi

After a day of trying to code a simple tutorial from a book I have come to a point where the keyboard is about to go through the monitor :) Can somebody please help me. I have an admin screen, code below [code=php] <?php require_once('Connections/nib.php'); ?> <?php if (!function_exists("GetSQLValueString")) { …

Member Avatar for kylegetson
0
91
Member Avatar for Puster

Hello! I am working on a website, and this is a gaming clan webiste, and I want to have userprofile. Taht means that the admin can add players to the database, and set them on a team etc. But how can i do this? I will alsow have the ability …

Member Avatar for Puster
0
100
Member Avatar for sbrohee

Hi all, Does somebody know how to configure the PATH for the wwwrun apache user? I have two perl version installed (in /usr/bin/ and in /usr/local/bin) and apache continues to use the (/usr/bin version) which is outdated! Many thanks, Sylvain

Member Avatar for sbrohee
0
125
Member Avatar for fuston05

OK, im trying to develope an event calendar. So, far i have used only php. I am new to programming and thats the only language i have learned atm. anyway, when i click the next or prev month buttons it sets cookies for new months etc.. to a cookie.php from …

Member Avatar for kylegetson
0
363
Member Avatar for dfaulted

I cannot figure out what I'm missing in order to stop these errors from showing. [quote]PHP Warning: strpos() expects parameter 1 to be string, array given in /home/public_html/includes/classes/shipping.php on line 26[/quote] Line 26: [code]if ( (tep_not_null($module)) && (in_array(substr($module['id'], 0, strpos($module['id'], '_')) . '.' . substr($phpself, (strrpos($phpself, '.')+1)), $this->modules)) ) {[/code] …

Member Avatar for kylegetson
0
3K
Member Avatar for lobas

This script works perfect it forces the trailing slash and hides the .php extension BUT! it does not redirect people going directly to the .php extension. How can I also force people going directly to the file.php to /file/ [CODE] RewriteEngine On RewriteRule ^(.*)/$ /$1.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond …

Member Avatar for kylegetson
0
156
Member Avatar for tomtetlaw

When I try to access the /var/www/ folder through apache, which is at [url]http://tom-server/[/url] from my Windows Machine, I get this error, even though it was working before with no changes: [code]Forbidden You don't have permission to access / on this server. Apache/2.2.14 (Ubuntu) Server at tom-server Port 80[/code] This …

Member Avatar for kylegetson
0
320
Member Avatar for kylegetson

I am looking to have both a forward proxy, and a reverse proxy at the same time. It seems as though, when I do this, the Proxy definition I put in place to restrict access to the forward proxy also effects the reverse proxy. [CODE] ... #... inside my virtual …

Member Avatar for kylegetson
0
219
Member Avatar for janessa

Hello, I wants to know that what are the ways to bring Google Bot fast to visit my site. I am doing SEO of a Website and I have made changes in pages but my changes are still not live after 30 days. I am submitting sitemap.xml everyday but still …

Member Avatar for jesy83
-1
801
Member Avatar for gotschai

Hello everyone, i have a little problem with variable variables if the variable is an multidimensional array and the indexes are not fix so, they are dynamic. I need something like this: [code=php] $varName = "data"; $varIndex = "[1]['items'][4]['items'][]"; ${varName.$varIndex} = 'xyz' ; // this does not work as php …

Member Avatar for somedude3488
0
102
Member Avatar for ultras1

Hi, I'm making litle CMS with PHP+Mysql. Can you tellme measures for prevention for SQL Injections ?

Member Avatar for koldex
0
163
Member Avatar for williebens

Hello Forum: I am trying to write a php script that will take as input a zip code and output the zip code with its respective city and state with the name of any companies/businesses in that zip code. Ok, I got this part working. The other part is that …

Member Avatar for kylegetson
0
154
Member Avatar for moin123

i jus want to submit Rss feed to google... i am not sure how to do it.plz help me <FAKE SIGNATURE>

Member Avatar for sylstain
0
145
Member Avatar for sarithak

Hi frnds... Here i am creating thumbnail image...the code is working fine... The variables are not working calling funtion....if i give static path, its working fine... incase of dynamic path it displays some errors,but image created..image with full black(no photo).......plz check the below code... [CODE]function createthumb($name,$filename,$new_w,$new_h){ $system=explode('.',$name); if (preg_match('/jpg|jpeg/',$system[1])){ $src_img=imagecreatefromjpeg($name); …

Member Avatar for sarithak
0
149
Member Avatar for jrosh

How to write a query to retrieve the [B]last record[/B] that is entered. ???

Member Avatar for kylegetson
0
135
Member Avatar for mrcb

Hey all. This is the query I'm trying to run: [CODE]select * from url_0, url_1, url_2 where url_0.url = 'http://google.com' or url_1.url = 'http://google.com' or url_2.url = 'http://google.com'[/CODE] but it is returning things that are not [url]http://google.com[/url]. why? how can I get it to only return entries that are exactly …

Member Avatar for kylegetson
0
176
Member Avatar for ultras

I have two columns with stirngs ( "String1" and "String2) . How to make string inputed in text field ($search) to be comparative with sum of the both strings ("String1String2") Something like as: [CODE]" SELECT id, string1, string2, FROM table WHERE string1+string2 LIKE '%$search%' "[/CODE]

Member Avatar for nav33n
0
125