Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~14.5K People Reached
Favorite Tags

50 Posted Topics

Member Avatar for BenzZz

Hi, I know most of the basics of html and css but I'm looking to learn more of the advanced areas. I find that most sites and books just cover the css techniques individually and do not really show the standards of how to create a high quality graphical responsive …

Member Avatar for TimCadieux
0
335
Member Avatar for _rational_

I cannot speak for Lenovo, however I have had the same Acer Aspire for over 2 years since i started university. It's still going strong even now i'm in my final year. Nothing has ever gone wrong (touch wood!) so far. My experience has shown it to be great value …

Member Avatar for dawidbrook
0
368
Member Avatar for BenzZz

Hi, I'm creating a website and currently working on the banner for it which is all contained within the 'logo' div that has a 900px width and 150px height. For some reason the 'menu' div is not being positioned within the 'logo' div despite being contained in it within the …

Member Avatar for JorgeM
0
214
Member Avatar for BenzZz

Hi, I've just begun learning PHP and have purchased books etc and researched on websites different areas of the language however I've noticed that there is not much information available relating to the actual appearances of websites through PHP. I know the standard way is using HTML and CSS but …

Member Avatar for Ausopenxcell
0
154
Member Avatar for NetJunkie

I started at the end of 2009 when I began studying computer science at University. The first language I learnt was C. Since then I have learnt Java, C#, Haskell, SQL, JSP, PHP, Javascript, HTML and CSS (even though they are not proper languages) and ITL (if anyone has heard …

Member Avatar for Reverend Jim
0
965
Member Avatar for BenzZz

Hi, I have a php file that contains the queries as strings. I have wrote the following query: SELECT message_no, sender, destination, time_received, type, reference_no, message FROM messages WHERE message LIKE '%:substring%'; :substring is then assigned a value from $substring. The query works when i run it directly in cmd …

Member Avatar for simplypixie
0
254
Member Avatar for BenzZz

Hi, I'm creating a web app that downloads sms messages from an M2M server using a Soap Client. The problem I am getting is that the SoapClient is not being found when i do this: $m_obj_client = new SoapClient($m_wsdl); The error i receive is: Fatal error: Class 'SoapClient' not found …

Member Avatar for BenzZz
0
144
Member Avatar for athulram

Sessions should be fine, and the data could be secured more with encryption as stated in the post above. Sessions are actually PHP's way of encapsulating cookies thus cookies still are being used however session data cannot be accessed directly as opposed to cookies.

Member Avatar for BenzZz
0
204
Member Avatar for BenzZz

Hi, As the title states, within my files require_once is not working as intended. I have a file where a user enters booking details and at the top it requires once the file to create the database and insert initial data into it. The problem is it seems to be …

Member Avatar for broj1
0
143
Member Avatar for BenzZz

Hi, I've been reading into testing my PHP code particularly unit testing using PHPUnit. The problem I have is that most of my code is procedural with not even many functions. I have read that unit testing is more suitable for OO PHP however i have seen that many people …

Member Avatar for BenzZz
0
510
Member Avatar for newbie14
Member Avatar for BenzZz
0
88
Member Avatar for BenzZz

Hi, I'm writing a report particlaurly about how some project management methods approach risk management. I have chosen to write about how PRINCE2 and PMBOK do this. I'm fine with writing about how they do it as i have researched them a lot however you also have to criticise their …

0
46
Member Avatar for BenzZz

Hi, I'm writing a paper regarding the privacy issues of social networks. I have found many papers to reference however I am trying to find more that are useful. Does anyone know any sites where I can download journals for free legally? Would be much appreciated.

Member Avatar for jbennet
0
150
Member Avatar for thecoolman5

There are no games that real for racing. Forzas are very realistic in terms of physics and damage etc however they aren't open world.

Member Avatar for Highave
0
376
Member Avatar for webblar

Seems like a good start. If the database is efficient in creation it makes things a lot easier later on in terms of using it. I've been developing in php for a similar amount of time to you and i can say that i have learnt a lot on here …

Member Avatar for webblar
0
199
Member Avatar for Webville312

In the database in the members table or whatever you have named it, you could have a 'SiteRole' field that takes the value Student, Teacher or Admin. You could also specify Student as the default value for this field. Then inside the registration form do not allow the user to …

Member Avatar for Webville312
0
158
Member Avatar for BenzZz

Hi, I have a query which retrieves the most recent end_date of a contract. It works when i enter it into a cmd window but not inside my actual script as when i do a var_dump it shows as NULL. I don't understand why it works in one but not …

Member Avatar for BenzZz
0
117
Member Avatar for Jdsiteworks

Could add an error flag variable, set it to true if there is any errors and set some session variables with the error string that you want to be displayed. Then just check if they are set and display them if they are.

Member Avatar for vaultdweller123
0
319
Member Avatar for BenzZz

Hi, The following code is working without errors: [CODE] <table> <tr> <td>Booking No.</td> <td>Driver Id</td> <td>Time Booked</td> <td>From</td> <td>Pick Up Time</td> <td>To</td> <td>No. of Passengers</td> <td>Distance</td> <td>Cost</td> </tr> <?php $stmt = $dbh->prepare("SELECT * FROM Booking WHERE cust_id = '$username' "); $stmt->execute(); while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ echo "<tr><td>".$row['booking_no']."</td>". $row['driver_id']."</td>". $row['time_booked']."</td>". $row['pick_up_dest']."</td>". $row['pick_up_time']."</td>". …

Member Avatar for BenzZz
0
89
Member Avatar for tibormarias

If you really can't find a solution, might just be worth using trial and error; try inserting an extra bracket here and there. Or cut all of your code into a separate document, and piece by piece add it back, testing each part? I know it's a bit of a …

Member Avatar for broj1
0
178
Member Avatar for capton

Is session_start() at the top of every file? particularly the one that is before this one? It would be clearer to notice why things aren't working if you could show us the other files?

Member Avatar for capton
0
163
Member Avatar for anthonyjpv

Initially, just get to grips with the basics by trying out tutorials and reading up. Once you have those, yo make a site robust you could start looking at php frameworks; Zend, Symfony and MVC are some popular ones. Using one would make your site more secure, flexible and organised. …

Member Avatar for diafol
0
318
Member Avatar for Octet

You could use the filter_var function... [URL="http://php.net/manual/en/function.filter-var.php"]http://php.net/manual/en/function.filter-var.php[/URL]. It can take different filters as parameters in order to sanitise the variable in the way you want to. An example for your name variable is: [CODE] $value = filter_var($_POST['Name'], FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES); [/CODE] The sanitisation of the string along with the filter to …

Member Avatar for diafol
0
154
Member Avatar for BenzZz

Hi, I have three drop down boxes for a Date field; one each for days, month and year. I want it so that when a year and month are selected they can be checked and then i can use those variables to insert the options into the days drop down …

Member Avatar for BenzZz
0
468
Member Avatar for BenzZz

Hi, I want to use javascript within my php file. The three drop down boxes involved are: [CODE] <select name="year" width="10"> <option value="<?php echo $curYear ?>"><?php echo $curYear ?></option> <option value="<?php echo $curYear++ ?>"><?php echo $curYear++ ?></option> </select> <select name="month" width="10"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option …

Member Avatar for AleMonteiro
0
157
Member Avatar for BenzZz

Hi, I chose Feature Driven Development (FDD) as the development methodology to use for the development of my final year project. As you probably know, each 'feature' (functional part of the system) has a plan, design and build stage. The problem i have found is that in examples of the …

Member Avatar for AndreRet
0
242
Member Avatar for webecedarian

You can look at it on both sides; yes google does have a vast amount of private data at its disposal which violates laws and could essentially cause a lot of damage when used in certain ways, however at the same time with the vast amount of organized information available …

Member Avatar for Netcode
0
228
Member Avatar for BenzZz

Hi, I've already created registration and login scripts for my application, however i now want to include an option for registered users to reset their password if they have forgotten it and cannot log in. As currently, passwords stored in my database are encrypted, they cannot just be emailed to …

Member Avatar for BenzZz
0
190
Member Avatar for jessicabrown6
Member Avatar for BenzZz

Interested in purchasing one but not entirely sure whether they are worth it? Opinions?

Member Avatar for BenzZz
0
234
Member Avatar for bflack
Member Avatar for BenzZz

Error messages should be displayed within the html if certain fields on my member register form are left empty, if they are invalid types or if the username entered already exists. I've tried adding a record with an already existing username and it does direct to the member registration failed …

Member Avatar for BenzZz
0
270
Member Avatar for BenzZz

Hi, As part of a project i am developing a taxi booking system. A part of it i am struggling to even think of what to do for is knowing distances between two real addresses e.g. Birmingham and Manchester for reasons such as calculating prices. Obviously it would be impractible …

Member Avatar for BenzZz
0
153
Member Avatar for BenzZz

As the title says... When I initially go onto the log in form i created, the password field appears to have 5 characters in even though i have not typed anything into it? It's not a major problem as everything works fine however i would like to get rid of …

Member Avatar for broj1
0
158
Member Avatar for BenzZz

Hi, I'm researching social networks and their privacy issues with data as part of an assignment. I've found a few papers that are useful, but i wondered if anyone knew of any relevant good ones that are also accessible? I also have to analyse the paper in terms of how …

Member Avatar for happygeek
0
159
Member Avatar for BenzZz

I create the session variable $_SESSION['SESS_MEM_ID'] within my validateLogin.php file shown here: [CODE] <?php include'db_config.inc'; require_once('InitDB.php'); $error_msg = ''; $error_flag = false; function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str); } return mysql_real_escape_string($str); } try { $dbh = new PDO("mysql:host=127.0.0.1;dbname=$db", $user, $password); } catch (PDOException $e) { …

Member Avatar for BenzZz
0
1K
Member Avatar for BenzZz

I was wondering if the following in terms of tables and keys is possible: Login([U]username, date_time_login[/U]) Customer([U][I]username[/I][/U], surname, ...) Driver([U][I]username[/I][/U], surname, ...) Admin([U][I]username[/I][/U], surname, ...) Booking([U]b_no[/U], [I]cust_id[/I], [I]driver_id[/I], ...) Primary keys are underlined and foreign keys are in italics. I want the Customer, Driver and Admin username primary key fields …

Member Avatar for BenzZz
0
321
Member Avatar for BenzZz

Hi, Does anyone know a method or some code to find out whether two numbers have at least one common factor? I currently have a gcd method that finds the greatest common divisor between two numbers however an arithmetic exception is thrown if the two numbers have no common divisor. …

Member Avatar for stevanity
0
3K
Member Avatar for BenzZz

Hi, As part of my university project i am doing a literature review that looks at the vulnerability of data contained by websites. It will contain the threats to the data and how it can be protected. Wondered if anyone can recommend any journals, websites, books or any other sources …

Member Avatar for diafol
0
85
Member Avatar for BenzZz

I'm a complete beginner to c++ so this may be a really stupid question... Basically so far i have this: [CODE]s1Textbox->AppendText( gcnew String(ss.str().c_str()));[/CODE] Obviously the text being displayed keeps appending. I looked at all of the methods for text boxes on the API but couldn't find anything to set the …

Member Avatar for BenzZz
0
68
Member Avatar for BenzZz

I'm designing and implementing a PHP web application as part of final year university project and i was wondering if any of you could suggest any development methodologies that i could follow and your reasons for them, as i haven't ever created a full web application. I also need to …

Member Avatar for BenzZz
0
282
Member Avatar for BenzZz

When i run my code i receive the following error: [CODE]Fatal error: Call to a member function fetch() on a non-object in C:\Program Files\EasyPHP-5.3.8.0\www\Practice\staff.php on line 20[/CODE] The code that causes the error is: [CODE]<?php require_once "db_connect.php"; $dbh = db_connect (); $dbh->exec ("CREATE TABLE Staff( UserId int NOT NULL AUTO_INCREMENT, …

Member Avatar for Stefano Mtangoo
0
321
Member Avatar for BenzZz

Hi, Basically I'm creating and implementing a dynamic website as part of my uni final year project but i am a beginner in php so need some help. First, I'm not entirely sure about how i should go about creating the database, tables and inserting data. I don't mean in …

Member Avatar for BenzZz
0
113
Member Avatar for BenzZz

Which is best to use to layout a website? I know that ideally both are used together but recently i have came across many examples where html tables are used and arranged to contain elements and control layout. Just wondered if using html tables for website layout is effective in …

Member Avatar for brainfo
0
129
Member Avatar for BenzZz

Hi, I am receiving the following error when i run my code on localhost: [CODE] Error creating database: Can't create database 'library_db'; database exists Warning: mysql_query() [function.mysql-query]: Access denied for user ''@'localhost' (using password: NO) in C:\Program Files\EasyPHP-5.3.6.0\www\databaseEx.php on line 45 Warning: mysql_query() [function.mysql-query]: A link to the server could …

Member Avatar for BenzZz
0
112
Member Avatar for sneaker

Most of today's governments tend to bring in policies that they believe are beneficial but they are usually only beneficial to themselves and not to those people who they govern. I am also supportive of those in Egypt fighting for their freedom.

Member Avatar for Ancient Dragon
0
179
Member Avatar for ComicStix

I'm currently studying Computer Science in my second year at university and have been learning many programming languages (not saying i am highly experienced). I've had the occasional 'bad' teacher for some of those languages but like others have said in this thread, if you experiment and research outside your …

Member Avatar for rscubelek
0
228
Member Avatar for BenzZz

I know it doesn't make a massive difference but what software do you guys write jsp (or any other web development language for that matter) in? I used ModelWorks Jpad Pro but it started to annoy me so what do you guys recommend? Thanks in advance :)

Member Avatar for peter_budo
0
134
Member Avatar for BenzZz

Hello world... xD Now the bad joke's over, I'm Ben, currently halfway through my second year at university studying BSc Hons Computer Science. Thought i'd join these forums as they appear friendly and helpful to those with any IT related problems so maybe i can get some help here in …

Member Avatar for debasisdas
0
132
Member Avatar for malcolm1105

I used to always have a PS when i was younger, but converted to PC gaming and found that much better. Now i only really play xbox360 which i bought in March last year, mainly because most of my friends had one but i do enjoy it. Overall, PS3 is …

Member Avatar for RenanLazarotto
0
187

The End.