• Member Avatar for pritaeas
    pritaeas

    Edited windows pe failure

    i tried to build windows pe on "deployment and imaging..." i used command "copype i386 C:/winpe\" and it said, "ERROR: The following processor architecture was not found: i386.", my 32-bit …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in FtpWebRequest Upload creates blank file

    Perhaps you set the permissions on the upload folder to write only (which is common).
  • Member Avatar for pritaeas
    pritaeas

    Edited windows pe failure

    i tried to build windows pe on "deployment and imaging..." i used command "copype i386 C:/winpe\" and it said, "ERROR: The following processor architecture was not found: i386.", my 32-bit …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Separate protocol string for GPS Tracker TK106 & converting it to decimal

    http://php.net/substr $data = '013666666666BP05000013666666666110925A1234.5678N01234.5678W000.002033490.00000000000L000024DE'; $id = substr($data, 1, 11);
  • Member Avatar for pritaeas
    pritaeas

    Marked Solved Status for DW API

    Did something change to the API OAuth flow? When I try to login with my app (dwapi.pritaeas.net), and click "continue" on the authorize page, I get to the Oops page. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in DW API

    Just by looking at that page... that must be it. ![c40d17e96efb0092bbc4323c33834d50](/attachments/large/0/c40d17e96efb0092bbc4323c33834d50.png "c40d17e96efb0092bbc4323c33834d50") Then I had to update my client API's target URL to HTTPS too (of course). Working again.
  • Member Avatar for pritaeas
    pritaeas

    Edited User profile

    This the following code for member_account.php in the member_profile.php there is a link for member_account.php, after I login then i can see all information and in the headbar it shows …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in copy paste database?

    Use `mysqldump` or phpMyAdmin to export the database to script. Then you should be able to execute that script online.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in DW API

    > Prit, try switching all of the API endpoints to https. Did that do the trick?? No. I get the following response back. Although I haven't changed anything to my …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Separate protocol string for GPS Tracker TK106 & converting it to decimal

    Using `substr` is certainly possible if the parts are fixed in size (appears so from glancing over the docs). So what is the problem you have with `substr`?
  • Member Avatar for pritaeas
    pritaeas

    Edited Error: Access denied for user 'vangua01'@'localhost'

    Hey guys, so I've been having an errorwith Php/MySQL for a long time with something I'm trying to do. I posted it in the PHP section before I found this …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching DW API

    Did something change to the API OAuth flow? When I try to login with my app (dwapi.pritaeas.net), and click "continue" on the authorize page, I get to the Oops page. …
  • Member Avatar for pritaeas
    pritaeas

    Edited For people who they are studying CS or are experts in CS

    please i intend to learn and study CS by my-self my goal is to be able to do reverse-engeneering,bug analysis and pentesting but i think that coding only doesnt gonna …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Calling MYSQL stored procedures with OUT parameters

    @Taywin: Good catch! $rs1 = mysql_query( "CALL countCountry('$countryname', @totalcount)" );
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in DW API

    > Prit, try switching all of the API endpoints to https. Did that do the trick?? Not tested yet, but that was my first thought to test too. Not high …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in FtpWebRequest Upload creates blank file

    If you step through the code, do you see the actual file contents?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in error_peter_dubo_tutorial

    Toolbar is hidden on mobile by default. At the bottom of the page there is a "switch to desktop mode" link. That toolbar also has no buttons to help you …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in DW API

    That might be it, although not entirely sure why it would fail. I did notice some warnings about https. > your API. Dani's API.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Auto Generate ID

    > Something like this? Right.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in DW API

    Unrelated I think, I still get at the Oops page.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in error_peter_dubo_tutorial

    > So markdown is <>? https://www.daniweb.com/community/syntax
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in error_peter_dubo_tutorial

    This editor uses markdown, not BBCode. Which tutorial are you referring to?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Warning: mysql_query() expects parameter 1 to be string, resource given in

    My bad, this $result = mysql_query($sql) or die(mysql_error); should be: $result = mysql_query($sql) or die(mysql_error()); I forgot the parenthesis.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Calling MYSQL stored procedures with OUT parameters

    @Harryjames: It's not about speed. It's just that the MySQL extension has a dubious history with stored procedures. Syntax is not an issue either, as he's just using MySQL anyway.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Auto Generate ID

    > Its suppose to increment by 1, say EMP0003 and so on. So where is the `+ 1` ?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Warning: mysql_query() expects parameter 1 to be string, resource given in

    Start by changing line 18 to: $con=mysql_connect("localhost","root","","firstphp") or die(mysql_error()); and line 29 to: $result = mysql_query($sql) or die(mysql_error); You'll see that your query is missing single quotes around your string/varchar …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Regular Expression for str_replace

    > i need the regular expression pattern equivalent the above php string function. What have you tried?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Calling MYSQL stored procedures with OUT parameters

    Have you tried with MySQLi or PDO?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in cookies not setup

    > but session is working don't know whey cookies isn't work I told you why. That one works does not automatically mean the other works too. BTW, your `session_start` is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Calling MYSQL stored procedures with OUT parameters

    Try: $row = mysql_fetch_array($rs); print_r($row);
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in vb.net help for date

    If you know what day was May 1st, you can calculate which day is Mother's Day. For example, if May 1st is a sunday, the day number you are looking …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in cookies not setup

    What part don't you understand? `setcookie` must be called before any output, so before lines 1-14.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Calling MYSQL stored procedures with OUT parameters

    Have you tried just: $rs = mysql_query( 'SELECT @totalcount' ) or die(mysql_error()); Also note that you are fetching twice. Once is enough.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in cookies not setup

    From the [manual](http://php.net/setcookie): *"Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). This requires that you place calls to this function …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching DW API

    Did something change to the API OAuth flow? When I try to login with my app (dwapi.pritaeas.net), and click "continue" on the authorize page, I get to the Oops page. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in file reading problem in php

    @peeyush.budhia: Spoon-feeding is not recommended. He'll learn nothing.
  • Member Avatar for pritaeas
    pritaeas

    Created DW API

    Did something change to the API OAuth flow? When I try to login with my app (dwapi.pritaeas.net), and click "continue" on the authorize page, I get to the Oops page. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in file reading problem in php

    Use a counter like `$newNumber` in the example above. After every N lines save the file and create a new one.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in [Query] Why isn't this working

    Ugh... You are not using single quotes around your string values. You really should look into parameter binding for one.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in [Query] Why isn't this working

    Post the entire query you are executing.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in file reading problem in php

    See http://php.net/manual/en/function.file.php and http://php.net/file_put_contents
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in on error want to keep value on update or insert

    > on error want to keep value on update or insert You'll need to be more specific.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in display the image uploaded using session id

    Does `$session_id` have the correct student id?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Windows 8

    Buy a license. http://www.microsoftstore.com/store/msusa/en_US/cat/Windows-8/categoryID.62684800
  • Member Avatar for pritaeas
    pritaeas

    Edited file reading problem in php

    I have a (2gb)txt file which has thousands of queries, i need to read those file queries and split those queries into n no. of txt files..and save them in …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in file reading problem in php

    What language?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in dotnet tool bars

    Do we need to guess? What's your issue?
  • Member Avatar for pritaeas
    pritaeas

    Edited dotnet tool bars

    hello members am learning vb.net and i request assistance with dotnet toolbar soft ware thanks in advance
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in website error

    You'll need to use Javascript.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Assignment

    So? What's your question about the above? Be specific, and show the code you already have.

The End.