Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements

45 Posted Topics

Member Avatar for 68thorby68

Hi, I am completing the checkout process on my shopping cart and am sending the payment details to my bank. I have sorted out all of the Cross Origin stuff and I'm receiving the expected resonse to my Payment form POST and puuting it into an iFrame (via forms target=responseiframe). …

Member Avatar for pritaeas
0
247
Member Avatar for 68thorby68

Many thanks if you are looking at this. I have a simple order form that allows users to place an order for an item. The form also allows the user to add more items, calling a javascript function that utilizes innerhtml. Included in each order form, are dates. I am …

Member Avatar for tekwalker
0
3K
Member Avatar for 68thorby68

I have a very wired "Too Many Redirects" error being reported on an HTC mobile phone. My site is simple, using a javascript <script type="text/javascript"> if (screen.width <= 800) { window.location = "http://mobile.anssecurity.com"; } </script> The script works fine on iphone and blackberry. The ecript also works fine with HTC …

Member Avatar for rubberman
0
267
Member Avatar for 68thorby68

Today I have an ipad, an iphone and a windows laptop. My laptop is nearing the end of its life and needs replacing. Should I replace the windows laptop with an IMac or Air book? The reason I ask is NOT processing power, battery life, or price. Just do I …

Member Avatar for XP78USER
0
237
Member Avatar for paulogaiski

A couple of things with your login script. The variables for username do not match - $UserName stores the post data - $Username is declared in mysql query. This is probably causing the the query fail ($Username is unknown) returning zero rows. Therefore it will return you to index1.html as …

Member Avatar for Adrian_5
0
262
Member Avatar for 68thorby68

Hi All, I am using a JS pluging (executed by document.ready function) to style HTML select item. I am also using the before() function to insert additional select items, as needed. However, the select items added using the before() function does not invoke the plugin to style the select box, …

Member Avatar for Taywin
0
289
Member Avatar for 68thorby68

I have a simple 3 column display #div_left { display:inline-block; width:25%; height:76%; float:left; text-align:center; } #div_middle { display:inline-block; width:45%; height:76%; margin:0 2.5% 0 2.5%; float:left; text-align:center; } #div_right { display:inline-block; width:25%; height:76%; float:left; text-align:center; } I need to place my slideshow in middle column #slideshow { position:relative; width:100%; height:100%; } …

Member Avatar for markwelbar
0
261
Member Avatar for 68thorby68

Hi, Is a static server ip a requirement of openssl? Can I install openssl on a shared server? I know less than nothing about SSL. I'm staring my journey to implement openssl and use it in my php project but before I do I want to make sure I don't …

0
102
Member Avatar for 68thorby68

Am I loosing the plot or is something strange happening here? I have a simple login form (see below), but when I call the page, PHP returns and undefined index error, even though I have coded to say if index is undefined, then die. Am I missing something very obvious …

Member Avatar for zein1212
0
336
Member Avatar for 68thorby68

Hi, I'm thinking of using the htaccess file on my apache server to add a layer of security to the payment processing on my site. I am considering the 2 actions below, not sure how yet, but thats where the trial & error & learning begins. 1. rewrite the url …

Member Avatar for iamthwee
0
327
Member Avatar for 68thorby68

I've just started using the PayPal classic API for a simple payment solution. The API obviously requires my paypal account credentials so visitors to the site can make payments into my account. My account credentails (username, password, signature key) are stored on the server in a simple configuration file. What …

0
128
Member Avatar for 68thorby68

I am very very confused about encrypting form values when posting a form to submit payment. Please don't turn off when I mention PayPal. I am genuinely confused. I have to submit form values via an HTTPS connection to PayPal and PayPal have advised me to encrypt my form fields …

Member Avatar for paulkd
0
200
Member Avatar for 68thorby68

I have an issue with `$_SESSION` global across a single domian, on my local machine, running PHP 5.1 build 2600 I'm creating a session in the domain root. $first_name='martin'; $second_name='thorburn'; $login_array=array("first_namet"=>$first, "second_name"=>$second); $_SESSION['login']=$login_array; When I run `print_r($_SESSION['login']);` in the root, I get the expected response "Array ( [first_name] => martin …

Member Avatar for 68thorby68
0
393
Member Avatar for 68thorby68

I have a small site that is not too data intensive, but requires the user to login to access pages that handle data and pages that interact with the database. To enhance the site security I am hoping to that I do not need to use cookies, instead handle all …

Member Avatar for Webville312
0
136
Member Avatar for 68thorby68

I have been reading lots about the use of cookies and session id's but keep thinking i'm missing something. I currently set cookies when users login and add things like the users database id or email so I can retrieve their details when needed, and for forms, but I don't …

Member Avatar for 68thorby68
1
183
Member Avatar for 68thorby68

I have a simple html/css page (attached) that uses a jquery function to enlarge images on hover. However, no matter how I try and manipulate the z-index of each html element, the enlarged image is always behind all other html elements. I have trid to change the css class .image …

Member Avatar for KaletonMedia
0
160
Member Avatar for 68thorby68

I'm constructing a very simple query, and want to display the results in a list, in date order, i.e. 2009-12-25 have lunch drink beer fall asleep 2009-12-26. have breakfast drink beer have lunch etc My table is also very simple, 1 column for date and 1 column for event. my …

Member Avatar for adrianazidu
0
183
Member Avatar for 68thorby68

I understand a select list will display the options in which they are received, however I am compiling my select list and options from a number of PHP/mysql queries and am at a lost as to how I could achive the ordering via the php/mysql route. $all_zones=('a,b'); // foreach($all_zones as …

Member Avatar for 68thorby68
0
170
Member Avatar for 68thorby68

I have a simple dynamic form with 5 input fields [CODE] <input type=text name=name /> <input type=text name=height /> <input type=text name=length /> <input type=text name=width /> <input type=text name=weight /> [/CODE] If the user needs more than one of the same item they can add additional input fields. [CODE] …

Member Avatar for diafol
0
2K
Member Avatar for 68thorby68

I have incorporated some excellent CSS/Jquery functionality into my site, but i'm having trouble editing the CSS to make the presentation more flexible. The CSS builds a container, into which I can insert text and call via Jquery. I am using this for my help function. CSS also overlays an …

Member Avatar for 68thorby68
0
162
Member Avatar for 68thorby68

I'm using PHP 5 and apache 2.2 on XP prof, but did not install zip extension during the initial php/apache installation. I have downloaded and extracted Pecl-5.16-win32zip package and extracted the contents (including php_zip.dll) to c:\PHP\ext. I have also amended the php.ini and included the line extension=php_zip.dll I have checked …

Member Avatar for rajibmaity
0
2K
Member Avatar for 68thorby68

I am having problems getting my cookies to work on my site where I am using a combination of session_start, setcookie and include. I believe I have followed all of the rules by declaring session_start() as the first statement in every page on the site, however, I am also using …

Member Avatar for 68thorby68
0
137
Member Avatar for 68thorby68

Once again foreach lops are driving me mad. I have a simple multiple select list, where ther user can select one or all of the options [CODE] <form name="checkdata" id="checkdata" method="post" action="test.php"> <label> <select name="sport[]" size="6" multiple="multiple"> <option value="FOOTBALL">Football</option> <option value="CRICKET">Cricket</option> <option value="TENNIS">Tennis</option> <option value="SWIMMING">Swimming</option> </select> </label> <input type="submit" name="submit" …

Member Avatar for twiss
0
138
Member Avatar for 68thorby68

I have all but completed my design for an application in PHP and MySQL using apache as my web server. However, I was wondering whether apache supported transaction logging which would save me creating code with numerous database calls to log all activity myself. I appreciate I may have to …

Member Avatar for 68thorby68
0
152
Member Avatar for 68thorby68

I have read through loads of comments about how and why object expected can be reported, but I think my problem is that my javascript and calls are rubbish. I want to build a simple function that, if I de-select the first check box, all other checkboxes are de=seleceted, or …

Member Avatar for 68thorby68
0
120
Member Avatar for 68thorby68

I have got myself in a bit of a mess creating a dynamic form and not knowing how to get at the resulting data. I am creating a dynamic form from a mysql database, in order to allow the user to edit and re-store their data. Database is quite simple: …

Member Avatar for 68thorby68
0
124
Member Avatar for 68thorby68

I have a simple database with 3 columns: id, event_date, event_name I have 9 rows in the database id event_date event_name 1 2010-01-17 Food 17th 2 2010-01-17 Bar 17th 3 2010-01-17 Football 17th 4 2010-01-18 Food 18th 5 2010-01-18 Bar 18th 6 2010-01-18 Football 18th 7 2010-01-19 Food 19th 8 …

Member Avatar for james_horn165
0
140
Member Avatar for 68thorby68

Having spent the last 6-9 months getting to grips with the basics of PHP, I have inherited a number of Perl scripts. As I'm getting on with PHP and beginning to complete ever "complex" tasks, I would like to convert the inherited Perl into PHP. I am able to translate …

Member Avatar for 68thorby68
0
1K
Member Avatar for 68thorby68

Hi All, Apologies should read SSI mod_include I now understand I need to install the include module for Apache 2.2 in order to process my included pages like: [CODE] <!--#include virtual="something.html" --> [/CODE] However, I do not know if there are additional apache files that need to be downloaded, where …

Member Avatar for nonshatter
0
131
Member Avatar for 68thorby68

Hi, I have developed a site that allows users to post details for others to view. Within this I have built a secure login process that uses cookies to help the user around the site. However, when using sites like facebook, I notice that I receive emails with links that …

Member Avatar for hielo
0
108
Member Avatar for 68thorby68

I believe there may be something wrong with my PHP.ini as I can create cookies using the setcookie function but cannot access the cookie using the COOKIE function. Please note: I have enabled cookies in my browser I then have 2 very simple scripts in separate files file 1 [CODE] …

Member Avatar for 68thorby68
0
8K
Member Avatar for lijukochumon

I'm no expert here but I've read loads on whether it is better to store the image in the file system or in the database, opinion seems to be divided and you could spend a lifetime reading through all documents trying to make an opinion for yourself. For my solutions …

Member Avatar for metalix
0
71
Member Avatar for 68thorby68

Hi All, I may be trying to achieve the impossible, but I'm trying to populate 2 iframes with PHP generated variables via a javascript function. I all seemed do simple to begin with but trying to mix client side action with server side data I seem to be going round …

0
62
Member Avatar for 68thorby68

I have read dozens of blogs, forum postings amd the PHP manual on this but do not seem to get an answer. my code [CODE php/javascript] $_SESSION['sessionname']=$variable; session_write_close(); echo "<script language='javascript'>"; echo "parent.location.reload(true)"; echo "</script>"; [/CODE] works well with chrome, as I can check the existence of the session for …

Member Avatar for 68thorby68
0
975
Member Avatar for 68thorby68

Hi, I have created a mysql database containing menu dishes for a restaurant. The idea is to store all dishes on the database whether the dish is being sold or has been sold in the past. Each dish (database row) has a simple indicator (yes/no) to determine if the row …

Member Avatar for 68thorby68
0
100
Member Avatar for 68thorby68

Hi All, I have an issues with a mysqli procedure. I am running PHP 5 with mysql server 5 and when I run the script below I get an error "Class 'mysqli' not found" Do I need to update my PHP ini? and / or add a library? or something …

Member Avatar for 68thorby68
0
148
Member Avatar for 68thorby68

To all experts, I am trying create a page that allows users to view and reuse images returned from mysql. In the mysql database I have two columns "image_path" (which stores the path and name of an image stored in the file system) and "image_name" (a text name that the …

Member Avatar for ppetree
0
125
Member Avatar for 68thorby68

Does anyone have any suggestions on good reading material on how for format my php/mysql output. For example, how to populate tables with results of loops. or how to send the results loops to a pre-formatted html page that will display data in a bespoke way.

0
44
Member Avatar for 68thorby68

I am try to put the finishing touches to a mail function, and would like to show an alert to tell the user the form has been submitted correctly. I would then like to redirect them to another page in the site. The alert works OK on its own, but …

Member Avatar for 68thorby68
0
162
Member Avatar for 68thorby68

So near and yet so far. I introduced myself to session control and made a decision to only use session files (not cookies) I am submitting: session_start( ); $_SESSION['uid'] = $iduse; The session file is created and correctly reads the following where the value of $iduse is 1H: barney|s:2:"1H"; In …

Member Avatar for 68thorby68
0
135
Member Avatar for 68thorby68

I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, …

Member Avatar for 68thorby68
0
99
Member Avatar for 68thorby68

I am creating and sending a vcard as an email attachment using MIME. The .vcf file creates OK on the server, however when the email is delivered, the attached .vcf file contains no data, as read by outlook and outlook express (data exists in server file). I'm hoping the error …

Member Avatar for digital-ether
0
96
Member Avatar for 68thorby68

I'm experiencing alot of issues trying to create the $to field as a variable, PHP is reporting Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/shhdcouk/public_html/PHP/class_vcard.php on line 172 and I'm not sure why.... my code is. $send = $_POST['email1']; $to = $send; $subject = "Registered for xxxx"; $body="Thank …

Member Avatar for 68thorby68
0
91
Member Avatar for 68thorby68

It's day 5 of reading expert analysis, white papers and a myriad of posted mailer classes, but I seem to be so far away of constructing my PHP script to prepare and send a text and attachment email. Below is the "hash" of different codes I have been able to …

Member Avatar for noelthefish
0
260
Member Avatar for 68thorby68

After many frustrating hours and web searching I cannot figure out why the move_uploaded_file is appending the names of already already created files to the name of new files. As you will be able to tell from my code I an pretty new to PHP. However, I have a pretty …

Member Avatar for 68thorby68
0
235

The End.