• Member Avatar for broj1
    broj1

    Began Watching exporting pchart images to pdf

    i have the following code <?php require_once 'includes/initialize.php'; set_include_path( get_include_path() . PATH_SEPARATOR . CHARTS_PATH); require_once "class/pDraw.class.php"; require_once "class/pImage.class.php"; require_once "class/pData.class.php"; // create data set $myDataset = array(0, 1, 1, 2, …
  • Member Avatar for broj1
    broj1

    Replied To a Post in exporting pchart images to pdf

    Use one of the PDF libraries out there. I use [tcpdf](http://www.tcpdf.org/) and am very happy with it. Find a function in your pdf library that deals with images. In tcpdf …
  • Member Avatar for broj1
    broj1

    Replied To a Post in read and write id3 tag information

    Sory, but I do not understand the question. What insertion do you have in mind?
  • Member Avatar for broj1
    broj1

    Replied To a Post in read and write id3 tag information

    http://www.phpeasystep.com/phptu/29.html
  • Member Avatar for broj1
    broj1

    Replied To a Post in read and write id3 tag information

    You are welcome. Did it help?
  • Member Avatar for broj1
    broj1

    Stopped Watching Cannot send session cookie

    Hello, I am having this error message: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 Warning: session_start() …
  • Member Avatar for broj1
    broj1

    Stopped Watching Limiting the displayed content on a table PHP MySQL

    Hello, guys.. I am actually working on a project. I can't figure out how to limit the displayed content on a table of a particular data. I have a table …
  • Member Avatar for broj1
    broj1

    Began Watching read and write id3 tag information

    anybody please help me to read id3 tag information name : myfile.mp3 artist : singer album name : private album bitrate : 320 kbps year : 2014 length : 5:15 …
  • Member Avatar for broj1
    broj1

    Replied To a Post in read and write id3 tag information

    This is what uncle Google told me: http://www.php.net/manual/en/function.id3-get-tag.php
  • Member Avatar for broj1
    broj1

    Began Watching Cannot send session cookie

    Hello, I am having this error message: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 Warning: session_start() …
  • Member Avatar for broj1
    broj1

    Replied To a Post in Cannot send session cookie

    > After I download it offline to run it in my localhost, that error start appearing. What do you mean by that? You can not download PHP code from a …
  • Member Avatar for broj1
    broj1

    Stopped Watching Reliability of an application

    if(isset($_POST['adate']) && isset($_POST['atime']) && isset($_POST['discno']) && isset($_POST['babybht']) && isset($_POST['motherbht']) && isset($_POST['ward']) && isset($_POST['namebo']) && isset($_POST['address1']) && isset($_POST['address2']) && isset($_POST['telephone']) && isset($_POST['ageonadmission']) && isset($_POST['admissionweight']) && isset($_POST['bdate']) && isset($_POST['btime']) && isset($_POST['poaw']) && …
  • Member Avatar for broj1
    broj1

    Began Watching Send Email Function

    This is a function I created to facilitate the sending of PHP emails. Just give it the name and email of who your sending it to, and your name and …
  • Member Avatar for broj1
    broj1

    Replied To a Post in Send Email Function

    Nice little function for sending mail if you do not want to be bothered with the details about coding the neccesary mail commands. I haven't tested it but it looks …
  • Member Avatar for broj1
    broj1

    Began Watching display links to the owner of the comment

    hi my name is lester page and i have a problem that is displaying links to the owner of the comment. the code is working fine but the thing is …
  • Member Avatar for broj1
    broj1

    Replied To a Post in display links to the owner of the comment

    Where is the information about the logged-in user stored? Let's assume that is stored in the session in the `$_SESSION['loggedin_username']` variable. Now while fetching rows you have to check whether …
  • Member Avatar for broj1
    broj1

    Stopped Watching login

    hii i am developing a login module in php in this i have 2 page 1.logiform(design) 2.loginaction(coding) and whenever user input wrond data i redirected to it same loginform i …
  • Member Avatar for broj1
    broj1

    Began Watching login

    hii i am developing a login module in php in this i have 2 page 1.logiform(design) 2.loginaction(coding) and whenever user input wrond data i redirected to it same loginform i …
  • Member Avatar for broj1
    broj1

    Replied To a Post in login

    In general you: 1. check for existence of any input (in $_GET or $_POST) 2. clean existing input 3. display it in the corresponding form fields For detailed answer you …
  • Member Avatar for broj1
    broj1

    Stopped Watching Add a New Line in PHP

    I want to add a new line and when I tried "/n", it did not work. `while($row_selecttemptable = mysql_fetch_array($result_selecttemptable)) echo $row_selecttemptable['ArtistName'] . ' ,' . $row_selecttemptable['NAMEOfTheDVD'];` I want to add …
  • Member Avatar for broj1
    broj1

    Began Watching Add a New Line in PHP

    I want to add a new line and when I tried "/n", it did not work. `while($row_selecttemptable = mysql_fetch_array($result_selecttemptable)) echo $row_selecttemptable['ArtistName'] . ' ,' . $row_selecttemptable['NAMEOfTheDVD'];` I want to add …
  • Member Avatar for broj1
    broj1

    Replied To a Post in Add a New Line in PHP

    Newline in HTML is `<br>` tag (a break): echo $row_selecttemptable['ArtistName'] . ' ,<br>' . $row_selecttemptable['NAMEOfTheDVD'];`
  • Member Avatar for broj1
    broj1

    Began Watching i want to know about php.net language?

    i want to know about php.net language?
  • Member Avatar for broj1
    broj1

    Replied To a Post in i want to know about php.net language?

    > i want to know about php.net language? [php.net](http://php.net/) is actually a website (that incidentally tells you all about PHP). Seems like you are new to this forum. Welcome and …
  • Member Avatar for broj1
    broj1

    Stopped Watching echo a picture from your folder file

    Hello, I'm having a problem with my code. It seem to only echo out the picture name from my database and not the picture. This is my code search.php $result …
  • Member Avatar for broj1
    broj1

    Stopped Watching PHP array variable define

    Hi, I've been recently trying to create a language change script. Everything goes smoooth but there are several complexed places inside the page that needs some advanced php code. So …
  • Member Avatar for broj1
    broj1

    Stopped Watching keep selceted value of select after post with dynamic data

    Ok so i an very new to this site and am trying my luck with PHP. Got a great idee to make some cash but now to implement it is …
  • Member Avatar for broj1
    broj1

    Stopped Watching SUBSTRING with joined table

    Afternoon I set up a substring on the raceid column of my database; the raceid column consists of the season+individual race number, to produce a unique id number. Image of …
  • Member Avatar for broj1
    broj1

    Began Watching SUBSTRING with joined table

    Afternoon I set up a substring on the raceid column of my database; the raceid column consists of the season+individual race number, to produce a unique id number. Image of …
  • Member Avatar for broj1
    broj1

    Replied To a Post in SUBSTRING with joined table

    The code on line 9 is wrong, it wont return what you expect. You could change your query a bit and ad `AS` to the substring expression in the query: …
  • Member Avatar for broj1
    broj1

    Replied To a Post in ONCLICK/ONMOUSEOVER CHANGE FUNCTION FOR MY AVATAR

    > This is one of my sites, sounds similar. > http://www.decawrap.com/fabrics.php Looks cool. Would you mind sharing with us what was your approach?
  • Member Avatar for broj1
    broj1

    Began Watching PHP learning

    Hi i am new in this site and want to know PHP properly.I also visited w3schools.com for this but it is not enouh for me .So if any one can …
  • Member Avatar for broj1
    broj1

    Replied To a Post in PHP learning

    [phpacademy](https://phpacademy.org/) - learning by watching videos, various PHP forums like [Daniweb](http://www.daniweb.com) :-), [Stackoverflow](http://stackoverflow.com/questions/tagged/php), a good [book](http://www.amazon.com/Beginning-PHP5-Apache-MySQL-Development/dp/0764579665) on PHP, the [documentation](http://www.php.net/manual/en/) on the PHP.net site (comprehensive, free, but sometimes harder to …
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    I am just guessing (given the information I have) that on line 84 (and in other places) you are checking the session for existing username (logged-in user): if (empty($_SESSION['MM_Username'])) { …
  • Member Avatar for broj1
    broj1

    Stopped Watching Problem on notifying/alerting the user if the textbox is empty

    I am having a problem on notifying the user when he/she submit a empty form. When I submit an empty form, the system doesn't notify or alert the user that …
  • Member Avatar for broj1
    broj1

    Stopped Watching problem with switch ! The code is working but there is an error!

    Hi I have this code and the code is working very well but I have an error : Notice: Undefined index: id in /var/www/core/myaccount.php on line 9 Here is my …
  • Member Avatar for broj1
    broj1

    Began Watching problem with switch ! The code is working but there is an error!

    Hi I have this code and the code is working very well but I have an error : Notice: Undefined index: id in /var/www/core/myaccount.php on line 9 Here is my …
  • Member Avatar for broj1
    broj1

    Replied To a Post in problem with switch ! The code is working but there is an error!

    It works? The results might be unpredictable. In line 9 the id in $_SESSION['id'] is not existing. So better check for existence before using it: if(isset($_SESSION['id'])) { switch($_SESSION['id']) { ... …
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    You will need a secure application in any case if you intend to script online shop. To answer your question it is difficult since I do not know what functionalities …
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    Remove the ) at thr end of the statement. Correct version is: $userUpdateSQL = "UPDATE `database`.`table` SET usecolum='$hash' WHERE usercolum='$hash'"; I made a mistake and you copied it blindly :-)
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    You have to UPDATE the USER record with the newly created hash. So if you post the user table structure, I can suggest a query. But the query in general …
  • Member Avatar for broj1
    broj1

    Replied To a Post in ONCLICK/ONMOUSEOVER CHANGE FUNCTION FOR MY AVATAR

    OK. Try to write some code and if doesn't work, post it here and we will have a look at it.
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    No. On line 171 you have to write code for inserting newly generated hast into the database. How you prepare the query depends on the structure of the users table.
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    Make sure that you use correct variable name for the users current hash value read form the database. I used `$row['user_hash']` just to show you the principle. Replace that with …
  • Member Avatar for broj1
    broj1

    Stopped Watching problem with login checking !

    Hi I made a page which check the login information if it is true or not but the code didn't work there is no errors just empty page ! <?php …
  • Member Avatar for broj1
    broj1

    Began Watching problem with login checking !

    Hi I made a page which check the login information if it is true or not but the code didn't work there is no errors just empty page ! <?php …
  • Member Avatar for broj1
    broj1

    Replied To a Post in problem with login checking !

    There might be some errors in your script(s), but your web server is not telling you about them since most probably the display of errors is turned off. Change the …
  • Member Avatar for broj1
    broj1

    Began Watching ONCLICK/ONMOUSEOVER CHANGE FUNCTION FOR MY AVATAR

    Hello Firends, I am developing a fashion website where visitors can come and select branded T-Shirts. Visitors will have to choose Man, Woman or Kid Avatar in order to check …
  • Member Avatar for broj1
    broj1

    Replied To a Post in ONCLICK/ONMOUSEOVER CHANGE FUNCTION FOR MY AVATAR

    I would use [jquery](http://jquery.com/) and either [hover](http://api.jquery.com/hover/) or [on](http://api.jquery.com/on/) method. The later is preferred since it gives more controls over event handling.
  • Member Avatar for broj1
    broj1

    Replied To a Post in How to save temporary user in database using md5 hash code

    Can you post the whole code?

The End.