Jump to content

jodietle

New Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by jodietle

  1. I'm not sure how many supplier profiles you'll have but I'm sure you can create an association table based on the weight. You might also have a table of shippers which would store the shippingID, the shipping company ID, and the weight, and the price for that weight. Then the shippingID can be used for the purchase based on the weight, the selected company. Is this what you were looking for?
  2. There's also the stristr function which you can locate the first occurence of "&limit=" and pull everything before that using one function and putting true as the third param. Here's an example from php.net (http://www.php.net/manual/en/function.stristr.php) <?php $email = 'USER@EXAMPLE.com'; echo stristr($email, 'e'); // outputs ER@EXAMPLE.com echo stristr($email, 'e', true); // As of PHP 5.3.0, outputs US ?>
  3. You probably could locate the first instance of "&limit" in the URL, determine the position via the stripos() function and pull everything before that.
  4. maybe posting the error might help?
  5. Hi Everyone, Hopefully someone will be able to assist with my problem. Basically, my situation is that we have a server which hosts multiple websites using multiple IP address. One of the new sites we are moving to this server needs an LDAP connection outside of our network. The outside LDAP has already been enabled to accept requests from the specific IP assigned to this site. However, other sites on this server are using other IP addresses. It seems as if the LDAP authentication request is getting sent by a IP address which is not authorized by the firewall on the outside LDAP server. Thus trouble authenticating. So, my question is, is there a way to force the ldap_bind request to use a specific IP address to send the request for authentication? Supposedly this can be done using an event handler. However, I don't have much experience with event handlers so am not sure how to go about doing this. I would appreciate any help or ideas to resolve this situation. Thanks! - Jodie
  6. Hi Jamie, I just joined about 30 minutes after you. How is your hometown? I hope to travel around the area one day. - Jodie
  7. Hi Everyone! My name is Jodie and I'm not a very experienced PHP developer however I've been learning as I go as much as I can. Hopefully joining this forum will help me in my learning process. Any advice would be greatly appreciated. Thank you everyone! Hope you have a great day! - Jodie
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.