Search found 35 matches
- Fri Jan 13, 2012 2:10 pm
- Forum: HTML, CSS and other UI Design Technologies
- Topic: RewriteRule .htaccess problem
- Replies: 1
- Views: 1921
Re: RewriteRule .htaccess problem
Solved it my self. For starters, mod_rewrite was not enabled. And apache2 is smart enought to guess that when i wrote /ascii/nalle in the url, that is should show nalle.html I used the following guide to enable mod_rewrite Guide While I was testing, i moved my files to /ascii/files/ So my new .htacc...
- Sat Jan 07, 2012 6:51 am
- Forum: HTML, CSS and other UI Design Technologies
- Topic: RewriteRule .htaccess problem
- Replies: 1
- Views: 1921
RewriteRule .htaccess problem
Hello Haveing som problem understanding what goes wrong with my RewriteRule. Options +FollowSymLinks RewriteEngine On RewriteRule ^ascii/([a-z_]+)/?$ /ascii/display.php?f=$1.html [L] If i type in the full address http://www.thedestruction.org/ascii/display.php?f=nalle.html Then it shows just fine, b...
- Wed Sep 28, 2011 6:49 am
- Forum: HTML, CSS and other UI Design Technologies
- Topic: [SOLVED] CSS min-height:100% cut at half the page
- Replies: 1
- Views: 1868
Re: CSS min-height:100% cut at half the page
Solved it myself! =) I changed the wrapper from: .wrapper { background:url("../img/bg.png") repeat-y top center; width:980px; margin:0px auto; min-height: 100%; } to: .wrapper { background:url("../img/bg.png") repeat-y top center; width:980px; margin:0px auto; min-height: 100%; o...
- Wed Sep 28, 2011 5:37 am
- Forum: HTML, CSS and other UI Design Technologies
- Topic: [SOLVED] CSS min-height:100% cut at half the page
- Replies: 1
- Views: 1868
[SOLVED] CSS min-height:100% cut at half the page
I'm working on a new part of the company site. The company runs a webshop with Magento. The new page should have the same design as the webshop. So I created the index, head and foot php's i wanted, and then i created a cloned.css. Checked webshop soruce, and found that is uses .wrapper .page and .p...
- Tue Aug 30, 2011 2:23 am
- Forum: PHP - Code
- Topic: SOAP Header login
- Replies: 4
- Views: 1211
Re: SOAP Header login
@yacahuma That is very strange, using your code i get an array of 36 from my address, and array of 26 from amazon @Jade You were sort of correct. The problem is that i have been given an demo account to test on untill i finished writing my program, what anyone failed to mentions is that, the demoacc...
- Sun Aug 28, 2011 3:11 am
- Forum: PHP - Code
- Topic: SOAP Header login
- Replies: 4
- Views: 1211
Re: SOAP Header login
Yes, I copied it directly from the mail he sent.
But I mailed yesterday about that very thing, bescuse they have test line there you can do a &psw=**&cuno=** and that failed, so i'm waiting on him to make sure he gave me right info and that i'm acctually regged
But I mailed yesterday about that very thing, bescuse they have test line there you can do a &psw=**&cuno=** and that failed, so i'm waiting on him to make sure he gave me right info and that i'm acctually regged
- Thu Aug 25, 2011 8:09 am
- Forum: PHP - Code
- Topic: SOAP Header login
- Replies: 4
- Views: 1211
SOAP Header login
I'm new to SOAP. And the support of the site i'm connetcing to dosent know PHP. What i'm trying to do is to login to there webservice, and then run getSalesPartCatalog() call to get there inventory. This is what i have now. $apiUrl = 'https://secure.brightpoint.eu/ws/external/partCatalog/external.as...
- Thu Aug 18, 2011 7:44 am
- Forum: PHP - Code
- Topic: Autologin on a asp based website
- Replies: 6
- Views: 1203
Re: Autologin on a asp based website
$loginURL is $url. $url is sent to function as $url but inside the function it's called $loginURL
And your code worked fine, just had to change the $url to http://www.order.se/logindo.asp
Thank you very much!
And your code worked fine, just had to change the $url to http://www.order.se/logindo.asp
Thank you very much!
- Thu Aug 18, 2011 1:11 am
- Forum: PHP - Code
- Topic: Autologin on a asp based website
- Replies: 6
- Views: 1203
Re: Autologin on a asp based website
I tried changeing the url to logindo.asp instead of top.asp, but still no go.
- Wed Aug 17, 2011 1:48 am
- Forum: PHP - Code
- Topic: Autologin on a asp based website
- Replies: 6
- Views: 1203
Re: Autologin on a asp based website
I made the changes you suggested, but it didn't help.
- Tue Aug 16, 2011 8:16 am
- Forum: PHP - Code
- Topic: Autologin on a asp based website
- Replies: 6
- Views: 1203
Autologin on a asp based website
Hi I'm trying to do a autologin to our companys supplyer. I know that the form is on order.se/top.asp On google i found the following script that i moddiefied for my need, but i still don't get logged in. I used the Live HTTP Headers to get that post string I should send is the following: action=log...
- Fri Feb 11, 2011 8:46 pm
- Forum: PHP - Code
- Topic: [SOLVED] _POST returns wrong number
- Replies: 3
- Views: 321
Re: _POST returns wrong number
Figuerd it out! The code previsoly posted didn't work, beacuse the entiere table was in the same form. There for when hitting Edit button, all editindex was sent, but only the last set was given to the text field, thus always editing the last entry. What I did to solve it was to put the php generate...
- Fri Feb 11, 2011 5:01 pm
- Forum: PHP - Code
- Topic: Sorting an Array
- Replies: 4
- Views: 641
Re: Sorting an Array
Not sure, but think this will do the trick for you.
Code: Select all
foreach ($array as $key => $row) { // loop our array
$m[$key] = $row[0]; // get value of key 0 in subarray, and insert in to m
}
array_multisort($array,SORT_ASC,$m);
- Fri Feb 11, 2011 4:49 pm
- Forum: PHP - Code
- Topic: [SOLVED] _POST returns wrong number
- Replies: 3
- Views: 321
Re: _POST returns wrong number
Yes, in that code something goes wrong.
all td's appears fine on the page.
but when i click on one of the edit's button, editindex is always the last value of $i
How do i get the editindex to actually return the value I have set?
btw, checking source code, all editindex has the correct values $i
all td's appears fine on the page.
but when i click on one of the edit's button, editindex is always the last value of $i
How do i get the editindex to actually return the value I have set?
btw, checking source code, all editindex has the correct values $i
- Fri Feb 11, 2011 3:34 pm
- Forum: PHP - Code
- Topic: [SOLVED] _POST returns wrong number
- Replies: 3
- Views: 321
[SOLVED] _POST returns wrong number
Okey, first of I have a php code that generates a table with the correct info, the last cell cotains the key in the array, witch is correct <?php // <<added to easy read on forum... if($showmodels) { if($_POST['manufacturerselect']) { $man_name = $_POST['manufacturerselect']; //set var to selected m...