Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
~16.2K People Reached
Favorite Tags
Member Avatar for Michael_93

Hi All, I am building an eCommerce website and I really new to PHP and MYSQL but loving the challenge. On my website I have 9 different categories of products with each page having about 8 items to sell. Rather than duplicating the code from each .php/.html file into a …

Member Avatar for NettSite
1
2K
Member Avatar for NettSite

I am trying to put together a web interface for a process which downloads a number of XML files and then processes them. I am usimg JavaScript / jQuery / AJAX to initiate the process on the server, one file at a time, and to display progress information after each …

Member Avatar for gon1387
0
4K
Member Avatar for NettSite

Hi, I installed Virtualmin GPL on a new Ubuntu 12.04LTS virtual server, and as part of the process generated a self signed certificate which all worked swimmingly. However, I got the "You attempted to reach nh03.netthost.co.za, but the server presented a certificate issued by an entity that is not trusted …

Member Avatar for NettSite
0
213
Member Avatar for cbwhellmouth

Hi everyone, I'm totally new to PHP and I am trying to create a script that allows users to upload a picture which will then be emailed to me along with their details. When debugging, I keep receiving the message Parse error: syntax error, unexpected $end in C:\Users\Admin\Web\php-form-action.php on line …

Member Avatar for pritaeas
0
327
Member Avatar for calebcook

Hi. I’m creating a system for my client where he goes to a page where he types in a letter. The text is saved as a file (preferably PDF) and then sent as an email to a printing service. I’d prefer not to save multiple PDFs on my server, so …

Member Avatar for tiggsy
0
968
Member Avatar for stephen_UK

I would be grateful if someone could suggest what I need to do to get this to work. I have copied two short scripts which should demo the use of $_session, but the read script does not work. I believe the save script is the culprit though. Here they are: …

Member Avatar for Rhamises
0
139
Member Avatar for AngelicOne

I'm having a hard time to send a message to a certain e-mail account. I read that I should setup the PHP.INI at line where SMTP is located, which the default value is localhost. If the SMTP is to the computer itself which is 127.0.0.1 or localhost then the mail …

Member Avatar for NettSite
0
134
Member Avatar for atfOnly

Hello people :) i'm trying to insert query result into 2 dimensional array i have tried the following way.. [CODE] $query=mysql_query("..."); while($row=mysql_fetch_array($query)){ for($i=0;$i<=$index;$i++){ if(isset($myarray[$i]['array1'])|| isset($myarray[$i]['array2'])){ array_unshift($myarray[$i]['array1'],$row['study_period']); array_unshift($myarray[$i]['array2'],$row['test']); }//endif }//endfor }//endwhile [/CODE] But, it failed i also tried.. [CODE] $query=mysql_query("..."); while($row=mysql_fetch_array($query)){ $myarray=array( array("array1"=>$row['study_period'],"array2"=>$row['test']) ); }//endwhile [/CODE] it failed too since it …

Member Avatar for atfOnly
0
256
Member Avatar for whiteyoh

Hi All, I have a number of arrays stored as a text string in a database (ive included it at the very bottom). As this is a text string i need to know how to convert it back into an array. Also, how can i access a single element, i.e …

Member Avatar for NettSite
0
116
Member Avatar for IIM

Anyone has an idea of how to execute the complete php code ....means i want to make online php editor...that will take code as input from user and correspondingly display the output.... I am not sure how to work with it... Till now i thought of taking input from user …

Member Avatar for IIM
0
230
Member Avatar for ebanbury

Hi I'm currently creating a property website and it allows users to submit upto 7 images/property. Currently on clicking the 'submit' button to Add A Propety my code checks for image size, file type and then moves the file from a tmp location to images/propertyimages file. All the images from …

Member Avatar for ebanbury
0
214
Member Avatar for programmer12

Hi i just created a website for my church and the IE 9 is displaying it wrong.. Can some1 plz take a look at it and get back with me on why its doing that? [URL="http://www.lgm70.org"]www.lgm70.org[/URL] When i looked at it in IE 8 it shows everything that I created …

Member Avatar for programmer12
0
121
Member Avatar for garromark

Hello, My problem stems from reading an image from the local disk and displaying it. There's a middle step of storing it in a database, but I simplified the problem into this test script that replicates the error: The image "http://example.com/test.php" cannot be displayed, because it contains errors. test.php looks …

Member Avatar for maxterner
0
306
Member Avatar for rrlogu

Hi, I have the following code in test.php file <form name=f1 method=get action="test.php"> <textarea name="question"></textarea> <input type="submit" value="Submit"> </form> If I enter "sample text" its working fine with [url]http://www.example.com/test.php?question=sample+text[/url] But if I enter "Create a view that does not contain the" its throwing the following error message with [url]http://www.example.com/test.php?question=Create+a+view+that+does+not+contain+the[/url] [B]Internal …

Member Avatar for rrlogu
0
270
Member Avatar for andrewschools

Hello - Looking to find a function that works just like the php function uasort() but have it maintain the relative order of items when equal keys are found. Here's my code now: [CODE] $array = array("item1"=>-1,"item2"=>-1,"item3"=>-1,"item4"=>0,"item5"=>2,"item6"=>2,"item7"=>1); function sortThis($a,$b) { if( $a == -1 || $b == -1 ) { …

Member Avatar for redfox23
0
2K
Member Avatar for Tracie-marie

I'm completely self taught - and probably wrongly have learned by trial and error so I have absolutely no idea where I have gone wrong here, I think something in my CSS gets read differently by Chrome than other browsers. I'm redoing my website [URL="http://www.acrodancer.com/Test_Site/completed/AcroDancer.html"]http://www.acrodancer.com/Test_Site/completed/AcroDancer.html[/URL] In IE the sizing is …

Member Avatar for teedoff
0
150
Member Avatar for saadi06

hello I want to make an image slider.I have two pages. If the person clicks on the first page the image enlarges and the slider will be shown with next and previous button. I also want to show the titles of these images.Please help me Thanx in advance

Member Avatar for NettSite
0
83
Member Avatar for shoykay

Please, I will like anyone who can help me on this query $page_set=mysql_query("SELECT * FROM pages WHERE subject_id = {$subject['id']}", $connection); it resulted in the following error when viewed on the browser "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …

Member Avatar for Mckcvision
0
211
Member Avatar for bobgodwin

I'm have a script that outputs files and folders w/ folders as a header and the files listed below. I'd like to sort them alphabetically, but can't seem to figure it out. I think I need to get them into an array. Or use scandir. Here's the code: [CODE]function getDirectory( …

Member Avatar for bobgodwin
0
545
Member Avatar for hmhb.in

hi all, how to overload the constructor!!!!!!! explain with example

Member Avatar for NettSite
0
83
Member Avatar for NettSite

I am trying to get the win32service PHP extension working. I have installed PHP 5.3.4 on my Windows XP SP3 box, and downloaded the php_32winservice.dll file and listed it in my php.ini file as instructed in the manual. However, there is obviously a version mismatch between the dll and the …

Member Avatar for NettSite
0
163
Member Avatar for david cashin

Hi, looked around but i couldnt find much on this. I need to redirect every 3 visitors that visit my url to different sites. so visitor 1 would go to xyz.com, lets say visitor 2 comes along and he gets redirect to xzy.com then the last visitor comes along and …

Member Avatar for diafol
0
117
Member Avatar for arthurav

I have some text in a block with a certain width. I can count the number of lines in the text with substr($text,"<br />" but this is not the same with the number of line of the formatted text at that width. Is there a way to calculate that? Thank …

Member Avatar for diafol
0
125
Member Avatar for ddellostritto

Hello All - I need some help. I've got a page that lists events (fairs, seminars, etc.) that have been registered by the user, I would like to find a solution that will list these events and next to them include the number of people that have registered to attend …

Member Avatar for ddellostritto
0
60
Member Avatar for balle

How would I make a code that dynamicly gets MySQL and makes it like ?UserID=54556 :-/?

Member Avatar for johnmaguire2013
0
140
Member Avatar for london77

Hello, I am a newbie on PHP and mySQL. I am trying to create a simple balance sheet using both. table will show me (account.php) DATE - NOTE - INCOME - EXPENSE so, i have created mysql table for this. It has accid, acctype, accnote, accinc, accexp, accudate. and to …

Member Avatar for NettSite
0
1K
Member Avatar for Dragonbaki

I am trying to send mail using php. But it shows error as failed to connect with mailserver 'localhost'. Then i use [B]smtp.bizmail.yahoo.com[/B], then it shows SMTP error 530, Authentication required.. I don't know how to pass smtp username and password through php.ini file.. If anybody have better ideas, please …

Member Avatar for Dragonbaki
0
83
Member Avatar for MysticalNomad

I have the following code that is very simple and gets information from form fields and mails it off. The issue is that when the email is received using Microsoft Outlook 2003 the message is blank and the actual message that is supposed to be there is an attached HTML …

Member Avatar for MysticalNomad
0
182
Member Avatar for Geertc

Hello everybody, for my application I want to implement a email-clickcounter, next to link-clickcounter. Most links and emails (mailto:) appear on a page that gives details about a search-result from my home-made searchmodule. I have set up the counting system like this : Every link is redirected to a click.php-file. …

Member Avatar for Geertc
0
154
Member Avatar for mtvaran

hi guys, i am struggling with cross tab query in mysql. if you have any idea could you please help me? basically i have data into the table like... cid | Q# | marks c1 | 1| 50 c1 | 2 | 50 c1 | 3 | 50 but i …

Member Avatar for NettSite
0
91