CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bubu

Page 1 of 30 1 2 3 4

Search: Search took 0.19 seconds.

  1. Thread: website redirect

    by bubu
    Replies
    3
    Views
    1,094

    Re: website redirect

    .htaccess files are used to configure apache on a per-directory basis. they are not in C or C++ syntax.
    Its about configuration, not programming. You can read more in:...
  2. Thread: website redirect

    by bubu
    Replies
    3
    Views
    1,094

    Re: website redirect

    You can use apache mod_rewrite to accomplish that. Put this ".htaccess" file on the root of you site:


    # redirection for the MVC magic
    <IfModule mod_rewrite.c>
    RewriteEngine On

    # if...
  3. Replies
    6
    Views
    1,914

    Re: POST handling error

    It's very strange because I copy & pasted your code and it worked here. The code does nothing facy, it should work on a normal PHP setup.
  4. Replies
    1
    Views
    1,597

    Re: Preserve format of data send through textarea

    Maybe the problem is when you output it to the browser. Maybe something is filtering it somewhere.

    Maybe the text is coming correctly. is it a <textarea> or a rich text editor like...
  5. Replies
    6
    Views
    1,914

    Re: POST handling error

    You could try saving $_POST to $_SESSION so the last page gets it this way.

    Another method is, if the middle page will present another form, you can put hidden fields filled with the data from...
  6. Replies
    10
    Views
    3,462

    Re: PHP - writing content and code

    Some frameworks go so far that they actually hide PHP from you. So make sure you mastered PHP before you try a framework.

    I'd advice you to find a simple framework you like.

    Avoid these for now...
  7. Thread: Syntax Woes

    by bubu
    Replies
    2
    Views
    1,285

    Re: Syntax Woes

    You can achieve something similar with a static constructor:



    class A {
    public static create()
    {
    return new A();
    }
  8. Replies
    2
    Views
    1,155

    Re: Shell: Search for two different strings

    Please be more specific.

    You're using a terminal like DOS or Bash (Linux) or you want to accomplish that with a programming language?
  9. Replies
    10
    Views
    3,462

    Re: PHP - writing content and code

    Sahir,
    welcome to PHP world. I hope you enjoy and stay.

    I'll write some brief notes of what and how I do professional webdev with PHP:


    When you get the idea behind web programming and PHP,...
  10. Replies
    2
    Views
    2,984

    Re: Linux assembly: Printing date and time

    I changed line 27 to use eax instead. Now it compiles. But I get segmentation fault when I run the program!

    Code currently is:

    .section .data
    .section .text
    .globl _start
    ...
  11. Replies
    2
    Views
    2,984

    Linux assembly: Printing date and time

    Hello, I'm trying to print date and time in linux usign GAS (GNU assembler). I started from a hello world code and I modified to show system date and time.

    I'm stuck in two very basic errors I...
  12. Replies
    1
    Views
    1,125

    CMS easy for user and developer. Possible?

    Do you think it is possible to create CMS that is easy to use for the users and simple to understand and extend for developers?

    In my humble opinion, every time you try to make things easier (not...
  13. Re: XMLHttpRequest request to php page gives server 404 ( page not found)

    2 tips for you:

    1) Use Firefox + Firebug addon so you can debug javascript. You can tell it to stop script execution in a specified line to read each variable content at that moment.


    2) Stop...
  14. Replies
    5
    Views
    1,287

    Re: Need help on data extract script

    PeejAvery! You probably saved me hours of head bashing! Thank you!

    I've changed some little things so I got the hole table in one array like I wanted:


    $row = 1;
    $column = 1;
    $items =...
  15. Replies
    5
    Views
    1,287

    Re: Need help on data extract script

    Thank you soo much for your reply! I've been trying it all day. All the craziest regular expressions from some books, google, php manual and from my head have been tried with no sucess. =(

    I'm...
  16. Replies
    5
    Views
    1,287

    [RESOLVED] Need help on data extract script

    I need help extracting info from a HTML table.

    The table have 5 columns and many rows. I want to extract the table information into an array so I can save in database.

    This is the HTML code i'm...
  17. Replies
    8
    Views
    3,589

    Re: Professional webdeveloper looking for job

    Please delete this thread.
  18. Replies
    2
    Views
    814

    Re: Testing my PHP page

    Try the #apache channel on the IRC server: irc.freenode.net. There you can find a #php channel also.
  19. Replies
    8
    Views
    3,589

    Re: Professional webdeveloper looking for job

    Please delete this thread.
  20. Replies
    3
    Views
    1,336

    Re: How can this be done?

    I solved my problem! I created a nice module loading class that let modules interact with they self using a singleton pattern. It works like a charm!

    If you need it you can see the solution in my...
  21. Replies
    12
    Views
    1,294

    Re: Getting Started with Pearl

    I don't know much about PERL but I bet it would be easier to solve your problem if you tell us:
    - your operating system
    - how did you installed perl on it
    - where is the script that you are...
  22. Replies
    3
    Views
    1,336

    Re: How can this be done?

    My other theory, which is based on my last one posted above, also failed by generating infinite recursion again. The main problem i'm facing is to enable access from one module to other. Like to...
  23. Replies
    3
    Views
    1,336

    Re: How can this be done?

    I've been trying to implement a crazy theory of mine to solve my problem, since yesterday and only now I realize this wount work and generates an infinite recusion. It's fun to see the output:


    ...
  24. Replies
    12
    Views
    1,294

    Re: Getting Started with Pearl

    Is your code small? You could paste it here. Make sure it is between <?php ?> tags.

    If you're going to post the code here. Use the [ PHP ] [ /PHP ] (without spaces between the brackets and...
  25. Replies
    3
    Views
    1,336

    [RESOLVED] How can this be done?

    I'm coding my CMS in PHP4, I will release it under GPL license as son as I think the core API is stable. Right now I change it allot in the search for a better architecture.

    I need an OOP way to...
Results 1 to 25 of 750
Page 1 of 30 1 2 3 4





Click Here to Expand Forum to Full Width

Featured