Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~6K People Reached
PC Specs
Dell Poweredge Servers, Linux OS.
Favorite Forums
Favorite Tags

20 Posted Topics

Member Avatar for mbhanley

Hi, I am having an issue, any suggestions will be great. I am trying to fetch records from 3 tables on conditions to retrieve the correct data. So far it brings up 2 of the same results as there are two image file names with the same product id's in …

Member Avatar for rch1231
0
188
Member Avatar for Clanstrom

If your dynamic url is: site.com/articles.php?id=1232 I believe this should be correct; The whole string would be: RewriteRule ^articles/([A-Za-z0-9-]+)$ articles.php?id=$1 [L] RewriteRule ^articles/([A-Za-z0-9-]+)/$ articles.php?id=$1 [L] This part of the url is handled and translated in PHP. site.com/articles/here_is_todays_article

Member Avatar for mbhanley
0
151
Member Avatar for mbhanley

I am trying to figure out why I am getting this error notice, Does anyone have an idea as to why this is happening. Notice: Undefined offset: 5 on line: `if ($tree[$i]['level'] < $tree[$i+1]['level']) {` on line: `} elseif ($tree[$i]['level'] == $tree[$i+1]['level']) {` on line: `$diff = $tree[$i]['level'] - $tree[$i+1]['level'];` …

Member Avatar for mbhanley
0
197
Member Avatar for rotten69

I had a similar problem but it was due to something like not adding: ifisset $user = if(isset($_POST['username'])) $pass = if(isset($_POST['password'])) have you tried turning on all errors to see what may be causing the problem. error_reporting(E_ALL);

Member Avatar for diafol
0
211
Member Avatar for mbhanley

I am trying to configure a menu for my CMS I want to be able to use Nested Sortables just like you have in WordPress. The problem Im having is getting my head around how I am going to start I already have a column in my database table called …

Member Avatar for mbhanley
0
727
Member Avatar for mbhanley

Does anyone know a better way of getting this code to execute the mysql queries. I am trying to Insert table records to a new table then update it. so I need to call the table cms_homecontent first then insert those values to the new table cms_homecontent_versions and also ignore …

Member Avatar for mbhanley
0
241
Member Avatar for mbhanley

Hi all I am stuck trying to figure out the best way to get data as at the moment I have tried a few different ways to achieve this with no luck. What I am trying to do is update a block of php code that is in my sidebar …

Member Avatar for mbhanley
0
2K
Member Avatar for mbhanley

Need help with code i am trying to acheive upload of videos but when they are uploaded the file names need to be changed to have hyphens in replace of white space and still keep the exstensions. its proving difficult because once uploaded ffmpeg needs to read the output as …

Member Avatar for mbhanley
0
466
Member Avatar for mbhanley

I have tried for hours now trying to figure out how to do this and I'm sure its impossible, I have tried the following queries and still searching for the solution. I need to display the subcategories, subcat_title table row based on the condition the table row cat_id is equal …

Member Avatar for mbhanley
0
140
Member Avatar for mbhanley

Having A Problem in getting results to display correctly I seem to be getting two sets of results displayed for categories "cat_title" when I only need it displayed once. What is the best way around this does anyone know whether I should define using an mysql query or PHP. [CODE] …

Member Avatar for mbhanley
0
301
Member Avatar for mbhanley

I need to restrict access to other table id's by making a check against an (id) of a table named users and then check that the (user_id) of another table is the same i.e table1 id username password table2 id somedata user_id if table1 id is the same as table2 …

Member Avatar for mbhanley
0
110
Member Avatar for mbhanley

Can anyone tell me if I am going in the wright direction with this, or if there is a better way, I am trying to create a session check so that if logged in clients change the url id number example.com?id=192 it won't show other clients contents. Its the first …

Member Avatar for paulrajj
0
178
Member Avatar for Dragonbaki

This might help, would have anything to do with the multipart/mixed also are their any setting that need to be changed in php.ini file. [url]http://www.webcheatsheet.com/php/send_email_text_html_attachment.php[/url]

Member Avatar for richieking
0
133
Member Avatar for komanche

Have set the correct path to the include i.e. [CODE] <?php include '../includes/store.php'; ?> [/CODE] OR [CODE] <?php include '../../includes/store.php'; ?> [/CODE] As the directory path to the includes could be a folder or two up.

Member Avatar for komanche
0
202
Member Avatar for mbhanley

Can anyone see where im going wrong with this code I keep hitting a brick wall with it. Its doing my head in. I think its more the sql code, It keeps showing all data instead of just showing the data based on the user_id which should be limited to …

Member Avatar for mbhanley
0
150
Member Avatar for phpDave

Here is the code I use to upload and resize images. Hope it helps. [CODE] <?php require 'include/product_upload_config.php'; require 'include/product_upload_functions.php'; if(isset($_FILES['fupload'])) { if(preg_match('/[.](jpg)|(gif)|(png)$/', $_FILES['fupload']['name'])) { $filename = $_FILES['fupload']['name']; $source = $_FILES['fupload']['tmp_name']; $target = $path_to_image_directory . $filename; move_uploaded_file($source, $target); createThumbnail($filename); } } ?> <h3>Upload Product Image!</h3> <form enctype="multipart/form-data" action="<?php print $_SERVER['PHP_SELF']?>" …

Member Avatar for mbhanley
0
86
Member Avatar for mbhanley

Not sure if its the sql query or what, but I have a pagination class and a function I am trying to put together if some one would be able to point be in the wright direction it will be very appreciated. :) The following is the function which I …

Member Avatar for pauper2thedemon
0
205
Member Avatar for iammirko

Why not try installing and using roundcube, [url]http://roundcube.net/[/url]

Member Avatar for iammirko
0
188
Member Avatar for mbhanley

Hi * I have spent the last 18 hrs or so trying to get the wright sql code or think of an alternative but I just can't get my head around it. If any one can help me it would be awsome. What I am trying to acheive is getting …

Member Avatar for hielo
0
221
Member Avatar for JayGeePee

Here you go use this and then include the text files into a textarea it works pretty sweet. Hope this helps. [CODE]<?php /* Search engine spiders Yahoo! Slurp Msnbot Googlebot Ask Jeeves */ $useragent = $_SERVER["HTTP_USER_AGENT"]; $ref = $_SERVER['HTTP_REFERER']; $host = $_SERVER['HTTP_HOST']; $ip = $_SERVER['REMOTE_ADDR']; $date = date('d/m/Y H:i:s'); if …

Member Avatar for mbhanley
0
181

The End.