PHP 5.2 and saprfc 1.4.1

Hey all,
Has anyone tried hooking-up PHP 5.2 and saprfc 1.4.1?
I tried but getting this error message when I restarted my apache 2.0.54 :
<i>"<b>PHP Startup: saprfc: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match" </b></i>
I thought it's probably caused by the fact the the DLL, php_saprfc.dll binaries provided from the sourceforge download of SAPRFC was compiled with PHP 5.1.1, and not PHP 5.2.  Is that right?
So, I tried recompiling the binaries itself by following the instruction provided by the INSTALL instruction of saprfc. However the compilation fails with the following message:
<i><b>"Error     1     fatal error C1083: Cannot open include file: 'zend_config.h': No such file or directory     c:\php-5.2.0\Zend\zend.h     (line)53"</b></i>
Although looking at zend.h there's an if statement there that if it's WIN32 then look for zend_config.win32.h.  Check out the codes below:
#ifdef ZEND_WIN32
# include "zend_config.w32.h"
# define ZEND_PATHS_SEPARATOR          ';'
#elif defined(NETWARE)
# include <zend_config.h>
# define ZEND_PATHS_SEPARATOR          ';'
#elif defined(__riscos__)
# include <zend_config.h>
# define ZEND_PATHS_SEPARATOR          ';'
#else
# include <zend_config.h>
# define ZEND_PATHS_SEPARATOR          ':'
#endif
Anyone has any luck?  I've been wanted to check this out with my SAP 4.6B but hope you guys can help me out here.
Thanks!!
-Ed

hello all,
I'm very new to this.
I'm using apache2.0 and php 5.3
i followed http://downloads.sourceforge.net/saprfc/saprfc-1.4-5.2.0.Win32.zip
to download saprfc extension, but the page is redirected to saparefc1.41.all.
On that zip files i couldn't get the extension for me.
If you have the extension saprfc for php 5 can you send it to me or tell me from where I can download.
when i downloaded the saprfc.tar.zip  and used its dll file for php extension,
but my Apache won't work and says that it needs php4ts.dll files.
i think that that extension is for php 4. when i reverted its working.
So please give me the location to download the saprfc extension for php5.3 or more. please feel free to contact me.
Thanks in advance
Xavier Emerson
[email protected]

Similar Messages

  • XAMPP and SAPRFC

    Hi,
    I've installed XAMPP (From Apache friends). The following are the versions of different packages:
    + Apache 2.2.6
      + MySQL 5.0.51
      + PHP 5.2.5
    I've unzipped the file saprfc-1.4.1-4.4.1.Win32 and copied the php_saprfc.dll to the ext and extension directories of php.
    When i run saprfc_test.php test script i get the error
    ,,SAPRFC extension not loaded'' What could be the reason ? Is it that the saprfc.dll and PHP are incompatible and I need to build PHP on windows ?
    Thanks and regards,
    Srini.

    There are lots of threads on this so I would search for them first but one thing you must do is make sure you have a version of SAPRFC which matches the version of PHP you are using.
    Download the right file from [here|http://sourceforge.net/project/showfiles.php?group_id=29190&package_id=21073]
    Since there is no version for PHP 5.2.5 try the 5.2.6 version.
    saprfc-1.4.1-5.2.6.Win32.zip Note the section of the file name after the 1.4.1- refers to the php version.
    Note if you are trying to do this on a NW 7 system you are stuffed. The SDK has been upgraded and the SAPRFC wont work with it. Feel free to use your C-fu to rewrite it
    Hope this helps,
    Nigel

  • PHP has encountered an Access Violation - W2K Server/PHP 5.1.1/SAPRFC 1.4.1

    Hi Everybody,
    we are running a business critical PHP application. Currently it runs on a W2K Server with PHP Version 4.2.3 and SAPRFC 1.2.1. We had to switch to a new hardware and want also to use a actual version of PHP / SAPRFC. So we installed PHP 5.1.1 and SAPRFC 1.4.1.
    When I call a special RFC enabled Function Module I can reproduce to create the error Message "PHP has encountered an Access Violation". We had this problem on the old server also but only once in a month. On the new system we got the error reproducable after this special function module.
    In the server logs I've found this message:
    The HTTP server encountered an unhandled exception while processing the ISAPI Application '
    wam!WAM_REQ_CORE::GetSz(unsigned long)const  + 0x51
    php5isapi!HttpExtensionProc + 0x6B3
    wam!DllCanUnloadNow + 0x636
    wam!DllCanUnloadNow + 0x20C
    w3svc!HTTP_HEADERS::FindValue(char const *,unsigned long *) + 0xE2
    w3svc!STR::Copy(char const *,unsigned long) + 0xC71
    w3svc!STR::Copy(char const *,unsigned long) + 0xB49
    w3svc!STR::Copy(char const *,unsigned long) + 0x9A2
    w3svc!CLIENT_CONN::OnSessionStartup(int *,void *,unsigned long,int) + 0x642
    w3svc!HTTP_HEADERS::Reset(void) + 0x1CA
    w3svc!STR::Copy(char const *,unsigned long) + 0x16EF
    ISATQ!CDirMonitor::RemoveEntry(class CDirMonitorEntry *) + 0x13A
    + 0xECA5F1B3
    I've already tried  <a href="http://www.eventid.net/display.asp?eventid=204&eventno=731&source=WAM&phase=1">setting b</a> from <a href="http://bugs.php.net/bug.php?id=31731&edit=1">HTTP server encountered unhandled exception while processing ISAPI Application</a>.
    Any suggestions?
    Regards
    Gregor

    Hi Gregor,
    If you need to remain on windows it is an option, however you would then need to setup a different authentication for your SSO. The only Apache on windows I run is a test machine. Hopefully someone here has experience with Apache in a productive environment.
    Did you come across this link http://bugs.php.net/bug.php?id=35568 in your search for problems? This discusses a problem in PHP 5.1.1 that did not exist in 4.X . There is a fix in 5.1.2 . However I could not see a description of the cause, just a pointer to the fix.
    It may not help your productive environment, but may lead you in the right direction.
    Cheers
    John

  • Snow Leopard, PHP, MySQL, Apache and Wordpress!

    Hi there,
    It's taken me most of the day to work this out, so I thought I should post about it somewhere and here, on the Apple forum, is the ideal location.
    I'm a web developer and love the fact that my MacBook works out of the box with a Unix webserver and with little effort, I was able to set up PHP and MySQL on it. I was delighted to hear that the new Snow Leopard was shipping with the latest and greatest of both. It wasn't quite that easy when it came down to running my test sites, one of which I'm working on is a Wordpress site. Far from being daunting, the solutions to the problems I had were quite simple. The issues arose from the OS not having much exposure yet and not many people having posted their experiences on the web. It was just time consuming.
    I should mention at this point that this does require some tinkering with Terminal, but not so much as to cause damage if you do something wrong.
    First off Apache. Thankfully this is as stable as it always has been. All this requires to activate it is to visit System Preferences > Sharing and switch on Web sharing. Bish-bosh, job done.
    Next off PHP. If you open a Safari window and run your phpinfo.php file (where ever you have it saved. If you don't, they're out there, it's a tiny piece of code which you can use to find out your current php setup). You'll find that everything is superb! PHP 5.3! Excellent! Hang on, scroll down to the date and time section. Whoa! What's this big fat warning here.
    That warning my friend, has been the bane of my misery all day. Wordpress hates it. HATES IT! It causes no end of grief. So what's the multi step, multi program solution?
    Open your php.ini file and add the line:
    date.timezone=Country/City
    (do a Google search for PHP Timezones and you will get the exact settings. It's not so good that it understands every city in the world. My setting was Europe/Dublin).
    That's all. This will solve your issue of the timezone error everywhere. Stop and start Apache (System Preferences > Sharing, tick off and tick back on Web Sharing) and hey presto, error is gone.
    Wait a minute, where the **** is my php.ini file. Unfortunately this is where you have to get your hands dirty. Your php.ini file is a system file which resides in the /etc/ folder. Open a terminal window and type exactly the following:
    cd /etc/
    cp php.ini.default php.ini
    This makes the php.ini file from the default. This protects the original so if you ever need to create a new copy or if you make a mistake in the next steps, you can start again.
    Next I'm going to tell you how to edit this file. This uses a program called vi (there are GUI editors out there that will save you this heartache, so if anyone knows any, please post in response. I think TextWrangler is one).
    First you need to set the php.ini file so you can edit it. Type in exactly as follows:
    sudo chmod 777 php.ini
    Sudo is the superuser commmand. It may not be needed, but stick it in anyway. If you are asked for a password, put in your normal password (that you would be asked for say if you were installing something you downloaded).
    At the next prompt, type in:
    vi php.ini
    This will open the php.ini file. Using the up and down keys, find a blank line in the file. You will notice that alot of the lines start with ';'. These are commented lines. Once you find a blank line, press 'i' to insert text. Your screen will now say '-- INSERT --' at the bottom in red. Type the following in exactly (you will NOT be able to cut and paste):
    ; Set PHP Default Timezone
    date.timezone=Europe/Dublin
    Substitute "Europ/Dublin" with your own timezone. When you are done, press escape. Now type in the following:
    :wq!
    The colon is important (not a typo on my part) as this tells vi you are going to run a command. You should now be back at your prompt. Now you need to reset the permissions on the file. Type the following:
    sudo chmod 444 php.ini
    And that's it. That's your PHP setup and finished. If you run your phpinfo.php file now, you should see your timezone under the date and time where you were getting the error before.
    Now the MySQL. This is a bit of fun because, even though MySQL ships with the system, it's not exactly set up correctly! So once again into terminal.
    This time go to the local directory:
    cd /usr/local/
    If you type in:
    ls -al
    You'll get a directory listing. This has the MySQL folder listed as mysql-5.0.77-osx10.5-x86 (or something! I did that from memory!). This IS the MySQL folder but if you, like me, had previously set the MySQL Preference Pane in your System Preferences, then it won't be able to access this. Type the following command:
    sudo cp -R /usr/local/mysql* /usr/local/mysql
    This should copy everything into a folder called mysql. It takes a couple of seconds (first time on my machine it was a good 20 seconds) to run so be patient. Now you need to do the following:
    sudo chown mysql:mysql /usr/local/mysql
    This sets the owner and group of the mysql files to 'mysql'. If you go back to your MySQL preference pane in System Preferences, you should now be able to start it (something weird about it makes it require to close and reopen the System Preferences window before it can open the MySQL pref pane. This is normal, just click ok).
    The bit that got me here, is that I thought that my activation of the MySQL was actually a new install. I tried everything to change the root user and password for MySQL but in fact, if you had it installed on Leopard, prior to upgrading to Snow Leopard, all your users and passwords are the same. If you HAVEN'T installed it before, I recommend you read the Post Installation Customisation (section 2.3) on the manual for MySQL 5.1 on http://www.mysql.com
    So that's about it. All that remains is to test Wordpress. I have phpmyadmin installed (I've heard CocoaMySQL is very good, like iTunes for db's so I'm gonna check that out later) and was able to create the new wordpress database. I changed the settings in the wp-configure.php file to match my setup but nothing worked. I changed the host from '127.0.0.1' back to 'localhost' (a common complaint of the wordpress setup) but no joy. Then I changed the host back to '127.0.0.1' and added the port :3306 (so the full host is '127.0.0.1:3306') and bingo, the install worked, my database setup and my test site worked.
    So that's it! Many of you out there will say, why didn't you just use MAMP. I did use MAMP, but I also got the Timezone issues and it took far more tinkering and hacking to make it work. I decided that, as my lovely MacBook now running lovely Snow Leopard had the lovely newest versions of PHP and MySQL installed, I'd rather get them working than use a runaround with MAMP. I'm a happier camper for it.
    I hope this helps some of you out there. I don't personally have a blog yet, but when I do, I'll post this up there for all to access. I may even add screen shots!!! But seriously, I hope this helps you all out with your installs. It's so handy to have all this stuff straightaway with Snow Leopard, it's just a matter of getting it to work.
    All the best now,
    T

    Hmmmm... I did a clean drive install of Snow Leopard because I used to do it once a year with Windows and hadn't done it in 3 with my MBP.
    First, my httpd.conf file had the line enabling PHP commented out, so when I went to see my simple file with phpinfo(), I saw the source. Saw your post, thought it was the timezone, fixed that (which will probably make wordpress happy when I get it running), and it still didn't work. Looked at the httpd.conf file, found that PHP was disabled by default, fixed that line, restarted the server, and my phpinfo() worked like a charm.
    Also if you want to edit config files, I use TextWrangler's "open hidden files" option.
    But... I have no /usr/local directory at all. Doesn't exist on my machine. Checked the options in the base install and MySQL isn't offered as an option. Checked the optional installs and MySQL isn't there. Even letting spotlight search for hidden files, the only files with MySQL in their name were from php scripts in my web folders.
    There's some stuff about installing/compiling from source.
    http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
    Dunno if I want to go down that road quite yet.

  • [Exclusive] Create AS3 and MXML in your PHP pages - Q and A

    One of the most common PHP scripts is a form.  Before FTML, there has never been a method of truely integrating Flash with PHP.  Flash and PHP have always been seperate sandboxes when developing.  FTML now allows you to write PHP and FTML hand in hand on the same page.  This removes the requirement of additional files or web services for PHP to interact with Flash.
    PHP to Flash: http://reshapemedia.com/ftml/learn/php-to-ftml/
    FTML Getting Started Guide: http://reshapemedia.com/ftml/downloads/getting-started-guide/
    PHP Requirements
    None - simply code as you would normally and include the MXML components rather than HTML.
    Form Requirements
    All Form children must have the [name] property set
    Any UI For child with the [id] property set will be processed with the Form
    Forms should have [relativeChildSize] set to "true"
    Forms support a [method] of "get", "post", "send", "refresh"
    Inputs with a [type] of "text" or "password" support the [enter] key press
    Example PHP File
    Adobe will not let me post the example code so you can view the demo here: http://reshapemedia.com/examples/ftml-form.php
    - Select [View Source] from your menu to see the code.
    Message was edited by: ReshapeMedia

    It's a little hard to understand your question and its context. Can you please upload this page and give us a link so we can see what you are describing?

  • PHP, MySQL, Apache and MAMP

    Could someone tell me if there will be any problem if I first downloaded PHP then MySQL and after I enabled all these things I installed MAMP? Is it possible to delete all those things that I have donloaded before MAMP? If so, then how to do it?

    Since these are basic server apps, you should post to the server products forums.

  • Settings for PHP5 With Apache 2  and SAPRFC in WIndows

    Hi,
    Can anyone give me the exact version of software that needed for the settings for PHP5 with Apache 2 and SAPRFC in Windows.Thank you

    If it's just a test/dev environment you need you can try "<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn?rid=/library/uuid/e50bd86e-0a01-0010-53bd-857585234a6a">scripting in a Box</a>" it also lists the versions and pieces needed for the setup you are looking for.

  • MAMBO PHP CMS Server and Dreamweaver

    What must I beware of when installing PHP on IIS and using
    Dreanweaver as
    the development tool? I want to experiment with Mambo CMS as
    a platform for
    content management. I have zero PHP experience. Any comments
    here would be
    appreciated. Thanks...

    Something else I noticed is that you are missing your  <html>, <head> and <title> tags. I assume those will be added when your includes start working, but if not, that will need to be fixed. You also have other html errors throughout the document. Once you get it changed over to .php and the includes start functioning, be sure to run the final output through the html validator here to clean up any other problems:
    http://validator.w3.org/

  • I just downloaded a PHP script plugin and I'm having a very difficult time installing it into my site.  HELP!  Dose anyone have a good video tutorial link?

    I just downloaded a PHP script plugin and I'm having a very difficult time installing it into my site.  HELP!  Dose anyone have a good video tutorial link?

    Unfrotunately, this sounds like a dead TC.
    - also, the picture does NOT pick up the 2 airport expressess in the house that I used to extend the wirelass network on the previous TC
    - there is no option to extend the wireless network
    You need to reconfigure the Expresses to rejoin the TC's network via a factory reset.

  • PHP 5.2.2 AND SAPRFC 1.4.1 5.2.2

    Hello,
    i know, the same question i can find often in that Forum,
    but no answer will work on my system.
    <b><u>My Problem:</u></b>
    The "<i>php_saprfc.dll</i>" will not load.
    If i check with <i>extension_loaded ("saprfc")</i>, nothing will return. Also phpinfo shows me, that the DLL isnt loaded.
    Since three days i read in Forums and tried so many suggestions, but nothing will work.
    <b><u>System:</u></b>
    Webserver: IIS 6.0
    Operation System: Win 2003
    PHP Version: 5.2.2
    SAPRFC Version: 1.4.1-5.2.2
    SAPgui <b>not</b> installed, but <i>librfc32.dll</i> in "<i>/system32</i>" and registered by using <i>regsvr32 librfc32.dll</i>
    Version 6206.6.1761 (file info)
    Note: I got the DLL from our SAP-Team
    Dependency proofed with <i>Dependency Walker</i> one file missing: "<i>drvadodb.dll</i>
    Extension-Root located under "{<i>php-root</i>}/ext" (proofed with phpinfo)
    <i>php_saprfc.dll</i> file exists in Extension Folder
    in php.ini "<i>extension=php_saprfc.dll</i>" entered
    Note: all (exept one) defined extensions were loaded (proofed with phpinfo)
    IIS reset and also reboot of the System
    Note: Even the connection to the MS SQL database works proper
    I hope on your help and thanks for your efforts in advance!
    Matthias
    P.S.:
    Please, if it is possible do not send me link, because i have read all the links posted in this Forum. (and tried the suggestions)
    Message was edited by:
            Matthias Knopf

    Hello Matthias,
    I run into the same problem, my system:
    Web server: IIS 6.0
    Operation System: Win 2003
    PHP Version: 4.4.2
    SAPRFC Version: saprfc-1.4.1-4.4.1.Win32
    I located the librfc32.dll under c:\windows (and also tried c:\windows\system32)
    On a Windows XP, it works for me fine. However, on the Win 2003 the php_saprfc.dll is not loaded.
    Did you manage to solve this issue?
    Thanks in advance,
    Roy

  • Problem with PHP not working and Extra space in form I can't get rid of

    This is my first time doing a form, much less using php. I would appreciate your help on the problems below.
    1. in the form when you go to the website there is too much vertical spacing between the form fields.
    2.the Message field has script inside that vistors can see.
    3. on hitting the submit button it redirects me to a blank page and not the thankyou.html page that I had created.
    4. the form doesn't send the email to [email protected]
    Website URL: http://stickmancustoms.com/contact.html
    <!-- FORM CODE STARTS HERE -->
    <?php session_start(); ?>
    <?php
    if (array_key_exists('submit', $_POST)) {
        // check name field
    $name = trim($_POST['name']);
    if (empty($name)) {
        $error['name'] = 'Please provide your first name';
    elseif ($name == 'Please provide your first name') {
        $error['name'] = '';
    $_SESSION['name'] = $_POST['name'];
    // check phone field
    $phone = trim($_POST['phone']);
    if (empty($phone)) {
        $error['phone'] = 'Please provide your last name';
    elseif ($phone == 'Please provide your last name') {
        $error['phone'] = '';
    $_SESSION['phone'] = $_POST['phone'];
    // check email field
    $email = trim($_POST['email']);
    if (empty($email)) {
        $error['email'] = 'Please enter your email address';
    elseif ($email == 'Please enter your email address') {
        $error['email'] = '';
    $_SESSION['email'] = $_POST['email'];
    // check enquiry field
    $message = trim($_POST['message']);
    if (empty($message)) {
        $error['message'] = 'Please enter your message details';
    elseif ($message == 'Please enter your message details') {
        $error['message'] = '';
    $_SESSION['message'] = $_POST['message'];
    if (!empty($_POST['ufo'])) { return false; }
    // recipient
    $to = "[email protected]"; //email address -- change to your own email address
    // email subject
    $subject = "I am interested in your services, please contact me";
    // sender
    $sender = "From: ".$_POST['email']."\r\n";
    // build message
    $enquiry = "First Name: $name\n\n";
    $enquiry .= "Last Name: $phone\n\n";
    $enquiry .= "Email Address: $email\n\n";
    $enquiry .= "Message: $message\n\n";
    // send email if no form erorrs
    if (!isset($error)) {
    mail($to, $subject, $enquiry, $sender);
    header("Location: thankyou.html");        //Redirect page -- change to your own page
    ?>
    CONTACT WEB PAGE CODE BELOW
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="auto repair, accident damage, custom paint, customization, car repair, paint job, hot rod, motorcycle, cycle, bike, chopper"
    content="At StickMan Customs we give personal service with a smile. With more than 20 years experience in auto repair and customization you can be confident that we will meet your expectations and beyond. " />
    <meta name="google-site-verification" content="-41pB0MQUYT1Vbv1SId8WcU2lqEmFf0u23Sl3NY24CE" />
    <title>Stickman Customs</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="smc.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:visited {
        color: #F4781E;
    -->
    </style>
    </head>
    <body bgcolor="#000000">
    <table width="936" height="200" border="0" align="center">
      <tr>
        <td height="196" valign="top"><p class="style1"><a href="index.html" target="_self"><a href="index.html" target="_self"><img src="images/smcbanner.jpg" width="936" height="194" border="0" usemap="#Map" /></a>
            <map name="Map" id="Map">
              <area shape="rect" coords="97,7,289,190" href="index.html" target="_self" />
              <area shape="rect" coords="290,156,380,189" href="about.html" target="_self" />
              <area shape="rect" coords="396,159,550,190" href="repair.html" target="_self" />
              <area shape="rect" coords="561,159,619,190" href="cars.html" target="_self" />
              <area shape="rect" coords="627,159,703,188" href="cycles.html" target="_self" />
              <area shape="rect" coords="711,160,885,190" href="projects.html" target="_self" />
              <area shape="rect" coords="734,23,917,78" href="contact.html" target="_self" />
              <area shape="rect" coords="786,175,787,176" href="#" />
            </map>
          </p>
          <table width="936" border="0" align="center" cellpadding="5" cellspacing="5">
            <tr>
              <td width="512" height="450" valign="top"><p class="Headers"><img src="images/car1.jpg" width="432" height="432" /></p></td>
              <td width="389" height="450" valign="top"><form id="enquiryForm" name="enquiryForm" method="post" action="contact.php">
                  <h1><span class="BodyBold">Contact Us </span></h1>
                  <h1> <span class="BodyCopy">*Required Information </span></h1>
                  <h1><span class="BodyBold">
                    <label for="Name">Name* </label>
                    </span>
                    <input type="text" name="name" id="name" <?php if(isset($error['first_name'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($name)) {echo $name;} ?><?php if(isset($error['first_name'])) echo $error['name']; ?>" onfocus="this.value=''" />
                  </h1>
                  <p>
                    <label for="Name" class="BodyBold">Phone* </label>
                    <input type="text" name="phone" id="phone" <?php if(isset($error['phone'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($phone)) {echo $phone;} ?><?php if(isset($error['phone'])) echo $error['phone']; ?>" onfocus="this.value=''" />
                  <p>
                    <label for="email" class="BodyBold">Email* </label>
                    <input type="text" name="email" id="email" <?php if(isset($error['email'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($email)) {echo $email;} ?><?php if(isset($error['email'])) echo $error['email']; ?>" onfocus="this.value=''" />
                  <p style="padding-bottom: 0;">
                    <label for="enquiry" class="BodyBold">Message*</label>
                    <br />
                    <textarea name="message" id="message" <?php if(isset($error['message'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> onfocus="this.value=''"><?php if(isset($message)) {echo $message;} ?><?php if(isset($error['message'])) echo $error['message']; ?>
              </textarea>
                  </p>
                  <p>
                    <input type="text" name="ufo" style="display: none;" />
                    <input type="submit" id="submitButton" name="submit" value="Submit" />
                  </p>
    </form></td>
            </tr>
          </table></td>
      </tr>
    </table>
    <table width="936" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><div align="center">
            <div align="center" class="bottomlinks">
              <p><a href="about.html" target="_self"><br />
                ABOUT US <img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="repair.html" target="_self">ACCIDENT REPAIR</a><a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cars.html" target="_self">CARS</a><a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cycles.html" target="_self">CYCLES</a><a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="projects.html" target="_self">SPECIAL PROJECTS</a></p>
              <p class="Address_Text">StickMan Customs<br />
                800 Mooresville Rd, Kannapolis, NC 28081<br />
                704.699.5110 </p>
            </div>
            <p class="style74"><span class="atb_text">Designed &amp; Hosted by</span><br />
              <a href="http://www.abovethebarrdesign.com" target="_self"><img src="images/atbd.jpg" alt="1" width="155" height="77" border="0" /></a><br />
            </p>
          </div></td>
      </tr>
    </table>
    </body>
    </html>
    <!-- text below generated by server. PLEASE REMOVE -->
    <!-- Counter/Statistics data collection code -->
    <script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">geovisit();</script>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <noscript>
    <img src="http://visit.webhosting.yahoo.com/visit.gif?us1262644054" alt="setstats" border="0" width="1" height="1" />
    </noscript>
    </html>

    The below should work for you.
    As Jon points out the page has to be a .php page NOT a .html page.
    The idea is that the page gets sent back to itself and the form information is processed then sent to the email address if there are no errors detected.
    The unusual gaps in the form were being caused by unclosed tags amongst other things - hopefuly I put some of it right for you.
    Copy all of the below and save it as contact.php - Obviously your server needs to support php for it to work, most do. I have not specified your email address in the php as it attracts spam from the forum so re-instate it where the xxxxxxx are.
    <?php
    if (array_key_exists('submit', $_POST)) {
    // check name field
    $name = trim($_POST['name']);
    if (empty($name)) {
    $error['name'] = 'Please provide your name';
    elseif ($name == 'Please provide your name') {
    $error['name'] = '';
    // check phone field
    $phone = trim($_POST['phone']);
    if (empty($phone)) {
    $error['phone'] = 'Please provide your phone number';
    elseif ($phone == 'Please provide your phone number') {
    $error['phone'] = '';
    // check email field
    $email = trim($_POST['email']);
    if (empty($email)) {
    $error['email'] = 'Please enter your email address';
    elseif ($email == 'Please enter your email address') {
    $error['email'] = '';
    // check enquiry field
    $message = trim($_POST['message']);
    if (empty($message)) {
    $error['message'] = 'Please enter your message details';
    elseif ($message == 'Please enter your message details') {
    $error['message'] = '';
    if (!empty($_POST['ufo'])) { return false; }
    // recipient
    $to = "xxxxxx@xxxxxxxxxxxxxx"; //email address -- change to your own email address
    // email subject
    $subject = "I am interested in your services, please contact me";
    // sender
    $sender = "From: ".$_POST['email']."\r\n";
    // build message
    $enquiry = "Name: $name\n\n";
    $enquiry .= "Phone Number: $phone\n\n";
    $enquiry .= "Email Address: $email\n\n";
    $enquiry .= "Message: $message\n\n";
    // send email if no form erorrs
    if (!isset($error)) {
    mail($to, $subject, $enquiry, $sender);
    header("Location: thankyou.html");  //Redirect page -- change to your own page
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="auto repair, accident damage, custom paint, customization, car repair, paint job, hot rod, motorcycle, cycle, bike, chopper"
    content="At StickMan Customs we give personal service with a smile. With more than 20 years experience in auto repair and customization you can be confident that we will meet your expectations and beyond. " />
    <meta name="google-site-verification" content="-41pB0MQUYT1Vbv1SId8WcU2lqEmFf0u23Sl3NY24CE" />
    <title>Stickman Customs</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="http://stickmancustoms.com/smc.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:visited {
        color: #F4781E;
    -->
    </style>
    </head>
    <body bgcolor="#000000">
    <table width="936" height="200" border="0" align="center">
      <tr>
        <td height="196" valign="top"><p class="style1"><a href="index.html" target="_self"><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/smcbanner.jpg" width="936" height="194" border="0" usemap="#Map" /></a>
            <map name="Map" id="Map">
              <area shape="rect" coords="97,7,289,190" href="index.html" target="_self" />
              <area shape="rect" coords="290,156,380,189" href="about.html" target="_self" />
              <area shape="rect" coords="396,159,550,190" href="repair.html" target="_self" />
              <area shape="rect" coords="561,159,619,190" href="cars.html" target="_self" />
              <area shape="rect" coords="627,159,703,188" href="cycles.html" target="_self" />
              <area shape="rect" coords="711,160,885,190" href="projects.html" target="_self" />
              <area shape="rect" coords="734,23,917,78" href="contact.html" target="_self" />
              <area shape="rect" coords="786,175,787,176" href="#" />
            </map>
          </p>
          <table width="936" border="0" align="center" cellpadding="5" cellspacing="5">
            <tr>
              <td width="512" height="450" valign="top"><p class="Headers"><img src="http://stickmancustoms.com/images/car1.jpg" width="432" height="432" /></p></td>
              <td width="389" height="450" valign="top"><form id="enquiryForm" name="enquiryForm" method="post" action="contact.php">
                  <p><span class="BodyBold">Contact Us </span></p>
                  <p><span class="BodyCopy">*Required Information</span></p>
                  <p>
                    <label for="Name" class="BodyBold">Name* </label>
                    </span>
                    <input type="text" name="name" id="name" <?php if(isset($error['name'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($name)) {echo $name;} ?><?php if(isset($error['name'])) echo $error['name']; ?>" onfocus="this.value=''" />
                  </p>
                  <p>
                    <label for="Name" class="BodyBold">Phone* </label>
                    <input type="text" name="phone" id="phone" <?php if(isset($error['phone'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($phone)) {echo $phone;} ?><?php if(isset($error['phone'])) echo $error['phone']; ?>" onfocus="this.value=''" />
                  </p>
                  <p>
                    <label for="email" class="BodyBold">Email* </label>
                    <input type="text" name="email" id="email" <?php if(isset($error['email'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($email)) {echo $email;} ?><?php if(isset($error['email'])) echo $error['email']; ?>" onfocus="this.value=''" />
                    </p>
                  <p>
                    <label for="enquiry" class="BodyBold">Message*</label>
                    <textarea name="message" id="message" <?php if(isset($error['message'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> onfocus="this.value=''"><?php if(isset($message)) {echo $message;} ?><?php if(isset($error['message'])) echo $error['message']; ?>
              </textarea>
                  </p>
                  <p>
                    <input type="text" name="ufo" style="display: none;" />
                    <input type="submit" id="submitButton" name="submit" value="Submit" />
                  </p>
    </form></td>
            </tr>
          </table></td>
      </tr>
    </table>
    <table width="936" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><div align="center">
            <div align="center" class="bottomlinks">
              <p><a href="about.html" target="_self">
                ABOUT US <img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="repair.html" target="_self">ACCIDENT REPAIR</a><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cars.html" target="_self">CARS</a><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cycles.html" target="_self">CYCLES</a><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="projects.html" target="_self">SPECIAL PROJECTS</a></p>
              <p class="Address_Text">StickMan Customs<br />
                800 Mooresville Rd, Kannapolis, NC 28081<br />
                704.699.5110 </p>
            </div>
            <p class="style74"><span class="atb_text">Designed &amp; Hosted by</span><br />
              <a href="http://www.abovethebarrdesign.com" target="_self"><img src="http://stickmancustoms.com/images/atbd.jpg" alt="1" width="155" height="77" border="0" /></a><br />
            </p>
          </div></td>
      </tr>
    </table>
    </body>
    </html>
    <!-- text below generated by server. PLEASE REMOVE -->
    <!-- Counter/Statistics data collection code -->
    <script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">geovisit();</script>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <noscript>
    <img src="http://visit.webhosting.yahoo.com/visit.gif?us1262644054" alt="setstats" border="0" width="1" height="1" />
    </noscript>
    </html>

  • How Do You View PHP in DW and Safari with a MAMP Server?

    It almost works! I have just installed and set up MAMP. I haven't made a MySQL database and user account yet, (I'm not sure if it will make any difference if I do) but I followed the instructions - http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html - up to that point. And I have had a problem!
    The test file in the exercise is a php file which tells you the time, it works in dreamweaver (when you select live view) But when you put the file into a browser it does not work! What is going wrong here? Can anybody help?
    Also, my other php files display in Dreamweaver live view but not in either browser (Safari or Firefox)!! Annoying!

    Here is the code …
    <!doctype html> 
    <html> 
    <head> 
    <meta charset="utf-8"> 
    <title>Gallery_Test</title> 
    <!--[if lt IE 9]> 
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> 
    <![endif]--> 
    <!--LATEST JQUERY CORE LIBRARY--> 
    <script src="http://code.jquery.com/jquery-latest.min.js"></script> 
    <!--FANCYBOX plugins--> 
    <link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen"> 
    <script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script> 
    <style> 
        padding: 0; 
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box; 
    h1{
        font-family: Georgia, "Times New Roman",Times, Serif;
      text-align:center;
        font-size: 18px;
        font-weight: bold;
    h2 {
        font-family: Georgia, "Times New Roman", Times, Serif;
      text-align:center;
        font-size: 13px;
        font-weight: normal;
    body {
      margin: 0;
      padding: 0;
      background: #6C9;
      color: #333;
      font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
      font-siz: 100%;
      background-color: #003;
    #wrapper { 
        width: 1000px; /**adjust width in px or %**/ 
        margin: 0 auto; /**with width, this is centered**/ 
    header { 
        background: #355DA0; 
        width: 100%; 
        margin: 0 auto; 
        color: #FFF; 
    #inner_wrapper { 
        background: #3366FF; 
        overflow: hidden; /**float containment**/ 
    aside { 
        float: left; 
        width: 11%; 
    section { 
        background: #FFF; 
        width: 78%; 
        float: left; 
        margin: 0 auto; 
    /**Begin image gallery styles**/ 
    .thumbs { /*divs that hold gallery pictures*/ 
        float: left; 
        margin: 0.5%; /*space between thumbnails*/ 
        border: 1px dotted #CCC; 
        /**same size images**/ 
        width: 90px; 
        height: 99px;
    .thumbs a { /* in every .thumbs div there is a hyperlink exactly the size of the container */ 
        width: 90px; 
        height: 99px; 
        text-indent: -99999px; /*move text links off screen*/ 
        display: block; 
        outline: none; 
    /**end gallery styles**/ 
    footer { 
        clear: both; 
        background: #222; 
        width: 100%; 
        color: #FFF; 
        margin: 0 auto 
    </style> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head> 
    <body link="#FFFFFF" vlink="#FFFFFF" alink="#FF0066"> 
    <div id="wrapper"> 
    <header> <h1><a href="index_01.html">Return to Index</a></h1> 
    <h2>My Photos - [72 images 2000 x 1330] - 5th of September  2014</h2> 
    </header> 
    <div id="inner_wrapper"> 
    <aside> </aside> 
    <section>
      <?php 
    $directory = 'gallery/thumbs_1'; //path to your thumbnails 
    $link = 'gallery/slides_1'; //path to your full-sized images 
    $allowed_types = array('jpg','jpeg','gif','png'); 
    $aFiles = array(); 
    $dir_handle = @opendir($directory) or die("There is an error with your image directory!"); 
    while ($file = readdir($dir_handle)) //traverse through files 
    if($file=='.' || $file == '..') continue; //skip links to parent directories 
    $file_parts = explode('.',$file); //split filenames and put each part in an array 
    $ext = strtolower(array_pop($file_parts)); //last element is the file extension 
    $title = implode('.',$file_parts); //what's left is the filename 
    if(in_array($ext,$allowed_types)) 
    $aFiles[] = $file; //filename array 
    closedir($dir_handle); //close directory 
    natsort($aFiles); // natural sort by filename 01, 02, 10, 20 
    $i=0; 
    foreach ($aFiles as $file) { 
    $file_parts = explode('.',$file); //split filenames and put each part in an array 
    $ext = strtolower(array_pop($file_parts)); //last element is the file extension 
    $title = implode('.',$file_parts); //what's left is the filename 
    $title = htmlspecialchars($title); //make it html-safe 
    echo '<div class="thumbs" style="background:url('.$directory.'/'.$file.') no-repeat 50% 50%"> 
    <a class="fancybox" data-fancybox-group="gallery" href="Gallery/slides/'.$file.'" title="'.$title.'">'.$title.'</a> 
    </div>'; 
    $i++; //increment the image counter 
    ?> 
    <!--end gallery-->  
    </section> 
    <aside> </aside> 
    <!--end inner_wrapper--></div> 
    <footer> </footer> 
    <!--end wrapper--></div> 
    <!--FancyBox function code-->  
    <script> 
    $(document).ready(function() { 
        $('.fancybox').fancybox(); 
    </script> 
    </body> 
    </html>

  • PHP Type Hinting and Flex Issue

    From the PHP docs, "PHP 5 introduces Type Hinting. Functions are now able to force parameters to be objects (by specifying the name of the class in the function prototype) or arrays (since PHP 5.1)."  So i have a function that has a bunch of parameters setup with type hinting.  When i use the connect to dataservice wizard everything works great, it even gets the objects hinted in the parameters and adds them to my flex DataObjects.  Now if in flex if I create a new instance of this object, (var activeSync:DO_ActiveSyncServer= new DO_ActiveSyncServer();) and then pass it to my newly added data service i get the below error message.
    Catchable fatal error: Argument 2 passed to SetupWizard::CreateSetup() must be an instance of DO_ActiveSyncServer, instance of stdClass given in SetupWizard.php on line 29
    Anyone ever come across this issue before or know how to fix it?  It would seem that Flex passes this stdClass type no matter what to PHP for complex objects.
    Thanks

    From the PHP docs, "PHP 5 introduces Type Hinting. Functions are now able to force parameters to be objects (by specifying the name of the class in the function prototype) or arrays (since PHP 5.1)."  So i have a function that has a bunch of parameters setup with type hinting.  When i use the connect to dataservice wizard everything works great, it even gets the objects hinted in the parameters and adds them to my flex DataObjects.  Now if in flex if I create a new instance of this object, (var activeSync:DO_ActiveSyncServer= new DO_ActiveSyncServer();) and then pass it to my newly added data service i get the below error message.
    Catchable fatal error: Argument 2 passed to SetupWizard::CreateSetup() must be an instance of DO_ActiveSyncServer, instance of stdClass given in SetupWizard.php on line 29
    Anyone ever come across this issue before or know how to fix it?  It would seem that Flex passes this stdClass type no matter what to PHP for complex objects.
    Thanks

  • Php form problem and question

    I am a new web designer who is not code savey yet. Anyway
    during the various sites i have designed i have used 3 different
    forms that process and email it to me using a seperate php form, 1
    in flash, 2 from a standard html form on a windows server. All have
    been uploaded, to the site, tested and worked fine. 2 are in old
    sites, one in my current site. Recently all 3 forms stopped working
    and while they looked like they worked fine they no longer actually
    sent anything. I had a big email arguement with my host and finally
    they added this line into my php script "ini_set
    ("sendmail_from","[email protected]");" email address is example here
    and they added another form to my site called "php4-cgi-fcgi.ini."
    Then my curent form started working again. I haven't changed
    anything, and of course the host never informed me of any changes.
    So why did this need to be added for my form to work again? Does
    this mean they upgraded to another version or something? Ihad a big
    arguement with them because they refused to tell me what they did
    that stopped all my forms from working, they kept acting like it
    was me or my provider that caused the problem, when i am positive
    we were not the problem. Any thoughts?

    doing a google on "ini_set ("sendmail_from" gives a lot of
    info.
    summary- the form script you are using is probably not
    setting a default
    "FROM" email address, so the host has phpmail() reject it as
    possible spam
    abuse.
    The .ini files the host added to your site correct the
    problem. They change
    values for php to use within your hosting domain.
    What php script are you using to send the emails? It is
    probably out of date
    if it doesn't address this issue.
    Off Topic: suggest never arguing with hosting support. Even
    it the person at
    the other end of the phone is an 18 year old drone not
    earning their salt.
    Move the site if needed. Develop social engineering skills to
    get things
    done.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • PHP, MySQL, Breadcrumbs and URL Parameters

    I'm working with several InterAKT extensions to buid a
    dynamic site. I have everything working except for Breadcrumbs --
    which are actually working except that I need to change the URL
    parameter which they are passing WITHOUT altering the recordset
    (which breaks the functionality).
    The site is constructed to include friendly URLS, so although
    all pages are loaded by PK of their category, I've used CONCAT()
    and REPLACE() along with Server-Side Includes from my Table (SSI
    from InterAKT) to generate my URLS.
    Example:
    category_ctg TABLE
    id_ctg name_ctg
    1 Jelly Beans
    2 Vanilla Nut Crunch Bar
    etc.
    For my dynamic menus and my hyperlinks, I pull from the db
    like this:
    SELECT *, CONCAT(REPLACE(name_ctg, ' ', '-'), '?id_ctg=',
    id_ctg) AS newurl FROM category_ctg
    This gives me a URL of
    index.php/Vanilla-Nut-Crunch-Bar?id_ctg=2
    (I also pull from the name_ctg field for my page titles and menu
    names, etc., without the CONCAT() so they read without the '-')
    But, with MX Breadcrumbs I'm limited to the way the php is
    hard-coded in terms of which fields are included: (id_ctg,
    id_parent_ctg and name_ctg) because the breadcrumbs are generated
    from a recordset.inc.php file.
    I can succesfully use the Breadcrumbs "out-of-the-box" and
    end up with this URL:
    index.php?id_ctg=2
    My code for above looks like this:
    <?php if ($totalRows_Breadcrumbs > 0) { // Show if
    recordset not empty ?>
    &gt; <a href="index.php?id_ctg=<?php echo
    $row_Breadcrumbs['id_ctg']; ?>"><?php echo
    $row_Breadcrumbs['name_ctg']; ?></a>
    <?php } // Show if recordset not empty ?>
    and while it works, it's loading a different URL than all my
    other menus and links.
    Alternatively, I can include the catgeory_ctg.name_ctg
    dynamic binding like this:
    <?php do { ?>
    <?php if ($totalRows_Breadcrumbs > 0) { // Show if
    recordset not empty ?>
    &gt; <a href="<?php echo
    $row_Breadcrumbs['name_ctg']; ?>?id_ctg=<?php echo
    $row_Breadcrumbs['id_ctg']; ?>"><?php echo
    $row_Breadcrumbs['name_ctg']; ?></a>
    <?php } // Show if recordset not empty ?>
    <?php } while ($row_Breadcrumbs =
    mysql_fetch_assoc($Breadcrumbs)); ?>
    which gives me a URL of:
    index.php/Vanilla%20Nut%20Crunch%20Bar?id_ctg=9
    Since I can't use CONCAT() value within my script and I can't
    have "%20" in my URLs, I'm trying to find a way of turning my URL
    into:
    index.php/Vanilla-Nut-Crunch-Bar?id_ctg=2
    Is there a way to include the CONCAT() function in the PHP
    script that's generating the URL?
    I've tried using variables in the header to call for a
    consistent URL, without any luck.
    Please keep in mind that my strong suit is design and that my
    working knowledge of PHP and MySQL are limited to what I can
    understand and re-create. I've been pulling out my hair for days on
    this, so some guidance would be
    greatly appreciated.

    The code generated by the Dreamweaver recordset navigation bar automatically adds any existing variables to the end of the query string. The following code (just above the DOCTYPE) comes from a recordset navigation bar on one of my pages:
    $queryString_listAuthors = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_listAuthors") == false &&
            stristr($param, "totalRows_listAuthors") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_listAuthors = "&" . htmlentities(implode("&", $newParams));
    $queryString_listAuthors = sprintf("&totalRows_listAuthors=%d%s", $totalRows_listAuthors, $queryString_listAuthors);
    I haven't tested this, but to eliminate the extra variables in the query string, comment out the whole of the if statement like this:
    $queryString_listAuthors = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_listAuthors") == false &&
            stristr($param, "totalRows_listAuthors") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_listAuthors = "&" . htmlentities(implode("&", $newParams));
    $queryString_listAuthors = sprintf("&totalRows_listAuthors=%d%s", $totalRows_listAuthors, $queryString_listAuthors);
    You will need to do that for each of your recordset navigation bars.

Maybe you are looking for

  • Running 5.5 U2e and VUM will no longer download software packages from patch source?

    We had a vSphere 5.5 cluster configured for us by a 3rd-party through Dell as part of our purchase agreement. We are running vCenter Server 5.5 U2e on Windows 2012 R2 as a physical host. It does run Update Manager. In my most recent check today, Upda

  • Setting up RAID on a Mac Mini Server

    I just bought a new Mac Mini server with two 750GB drives. I'd like to use the RAID utility to set them up in a RAID 1 array so I have 1 logical 1.5TB drive. However, the utility won't allow me to drag the primary drive into a configuration. I assume

  • Error while unzip process

    I'm following the steps to unload a zip file with the directory structure intact. The initial upload succeeded and I can retrieve the zipped file correctly, but when I try to unzip it within Portal I receive this log error: ORA-01422: exact fetch ret

  • IDOC Number for a record

    Hello All, I am working in HR. If I have a record created by IDOC, is ther any way for finding IDOC  number that has created this record. Regards, Rahul

  • T520 a lot of unknown devices

    Hello, I have T520 laptop, and device  manager shows me a lot of unknown devices (~50). If I try to update driver of any of them, then I got the message: Windows found driver software for your device but encountered an error while attempting to insta