Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Search Forums

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Showing results 1 to 25 of 30
Search took 0.00 seconds.
Search: Posts Made By: rodobrist
Forum: Programming/Scripts 12th March 2011, 11:37
Replies: 1
Views: 2,817
Posted By rodobrist
I could probably do it in php, i dont know if...

I could probably do it in php, i dont know if this helps you

but isnt it simply

step 1 get text inbetween for and *** via regex /for[^C]+(\*\*\*)/
(the capital C is to stop the next Current)
...
Forum: Programming/Scripts 9th March 2011, 11:10
Replies: 0
Views: 2,104
Posted By rodobrist
is this news to anybody else? (Mysqli OOP is same as procedural)

Hi all,
I was experimenting with the differences between using a mysqli resource ie:

"procedural":

$handle=mysqli_connect('localhost','usr','pass','DBNAME');...
Forum: Server Operation 6th March 2011, 08:09
Replies: 3
Views: 3,232
Posted By rodobrist
Problem solved. When configuring multiple...

Problem solved.
When configuring multiple ethernet cards,
you can only have one gateway in interfaces:

auto eth0 eth1
iface eth0 inet static
address 125.7.41.138
netmask 255.255.255.240...
Forum: Server Operation 4th March 2011, 14:42
Replies: 3
Views: 3,232
Posted By rodobrist
OK advance on the problem. It only happens when...

OK advance on the problem.
It only happens when both ethernet cards are configured

ie eth1 is not commented out

This problem happens regardless of whether ufw is enabled or disabled
Forum: Server Operation 4th March 2011, 12:38
Replies: 3
Views: 3,232
Posted By rodobrist
uBuntu 10.10 is not being friendly

Hi guys.
I have a very peculiar problem that coffee and effort just cannot seem to fix
I have a web server sitting at a data centre with a direct line into the internet(bad practise i know, i got...
Forum: Programming/Scripts 12th January 2011, 04:34
Replies: 3
Views: 3,568
Posted By rodobrist
found it

here it is
SELECT * FROM bits

WHERE bnry & 0x20 = 0x20


so if we have an 8 bit column and you want to check if the third bit

(??1? ????)
Forum: Programming/Scripts 12th January 2011, 02:42
Replies: 3
Views: 3,568
Posted By rodobrist
i never thought of that

Thats a pretty good way to solve the issue when there are 3 bits to check for, and I guess its my fault for not indicating otherwise, but if I'm working with 8(which I am at this stage) bits and I'm...
Forum: Programming/Scripts 11th January 2011, 06:00
Replies: 3
Views: 3,568
Posted By rodobrist
Mysql bit value

Hi all,

I'm falling into the trap of mySQL optimisation and my question is about using binary values, BIT(3) in particular.

To imagine how I'm using this data think of a permissions table:...
Forum: Programming/Scripts 16th December 2010, 01:49
Replies: 1
Views: 1,988
Posted By rodobrist
you have probably already thought of this, but...

you have probably already thought of this, but dismissed it due to its lack of 'elegence'
but if I needed to get the job done, I would:


write all of those values into an array using explode()....
Forum: Programming/Scripts 16th December 2010, 01:39
Replies: 1
Views: 2,393
Posted By rodobrist
I have been given a deeper insight about the @...

I have been given a deeper insight about the @ symbol and my hopeful solution does not exist, please don't spend any time of this thread, if I could delete it I would.
Forum: Programming/Scripts 14th December 2010, 23:29
Replies: 1
Views: 2,393
Posted By rodobrist
relatively odd php application

hey guys im using a csv parser in php that will break every cell up into its individual words, then

$cell[$word]['clean']=trim($cell[$word]['raw']);

($word is a number btw, between 0 and...
Forum: Server Operation 28th November 2010, 13:19
Replies: 18
Views: 5,030
Posted By rodobrist
matty was right my port is blocked by...

matty was right

my port is blocked by bigpond (who are now my least favourite ISP)

i am on one black list, sorbs-duhl .... only because my ip is dynamic

i used the ping smtp tool on...
Forum: Server Operation 26th November 2010, 02:54
Replies: 18
Views: 5,030
Posted By rodobrist
just called my ISP and they said that there was...

just called my ISP and they said that there was no blocking and its definately not my home router ....

i found this on the internet:
"Note : If you install Postfix/Dovecot mail server you will...
Forum: Server Operation 25th November 2010, 23:23
Replies: 18
Views: 5,030
Posted By rodobrist
about 3,000 lines worth... I keep getting...

about 3,000 lines worth...
I keep getting error when i try to upload it, so i have copy and pasted the last 20 lines.


Nov 26 08:07:42 roderick postfix/smtp[3395]: 5B762E0A9B:...
Forum: Server Operation 25th November 2010, 08:36
Replies: 18
Views: 5,030
Posted By rodobrist
ok this is very weird from outlook and from...

ok this is very weird

from outlook and from telnet through (ssh)
it gives no errors, but does not send


but from netcat(which looks the same as telnet)
it gives
554 5.7.1...
Forum: Server Operation 25th November 2010, 08:26
Replies: 18
Views: 5,030
Posted By rodobrist
wierd i dont get the error message anymore ...

wierd

i dont get the error message anymore

but i do not recieve the message in my hotmail account either


... i dont know how to check mail before sending, or to authenticate(i clicked test...
Forum: Server Operation 25th November 2010, 07:42
Replies: 18
Views: 5,030
Posted By rodobrist
I have sent commands from the shell (SSH) which...

I have sent commands from the shell (SSH) which result in the same error. (to answer your question, the server is far far away in terms of IP)


I am quite positive that outlook is conversing with...
Forum: Server Operation 25th November 2010, 01:42
Replies: 18
Views: 5,030
Posted By rodobrist
I tried adding in the extra mynetworks_style...

I tried adding in the extra mynetworks_style and/or the IP, but postfix does not even restart with those 2 options

it does not make sense to me that i need the external IP of my remote computer (...
Forum: Server Operation 24th November 2010, 23:45
Replies: 18
Views: 5,030
Posted By rodobrist
thanks

hey man,
i have not seen mynetworks_style= in main.cf, i dont know if we have different versions or your file was modified but i cant find it

but mynetworks is set on the loopback ip, which...
Forum: Server Operation 24th November 2010, 07:51
Replies: 18
Views: 5,030
Posted By rodobrist
Postfix Relay Acess denied

Hi All,

ive set up postfix with courier imap/pop on ubuntu .... and i am trying to configure postfix

everything works (i can email within my domain)
ie root@roderick.dyndns.info can email...
Forum: Installation/Configuration 9th October 2010, 11:11
Replies: 11
Views: 4,058
Posted By rodobrist
thank you

it worked like a charm
Forum: Installation/Configuration 7th October 2010, 04:39
Replies: 11
Views: 4,058
Posted By rodobrist
I searched my server and found...

I searched my server and found Vhosts_ISpconfig.conf

there were two hosts when i thought there should only be one... im not sure if this is normal though.

im not even sure if this is the file...
Forum: Installation/Configuration 5th October 2010, 09:44
Replies: 11
Views: 4,058
Posted By rodobrist
update db resulted in a small break and then...

update db
resulted in a small break and then the command prompt returned

locate roderick.dyndns.info resulted in
/srv/www/www.roderick.dyndns.info
/var/lib/named/pri.roderick.dyndns.info
Forum: Installation/Configuration 4th October 2010, 00:32
Replies: 11
Views: 4,058
Posted By rodobrist
Rod1:~# ifconfig eth0 Link encap:Ethernet...

Rod1:~# ifconfig
eth0 Link encap:Ethernet HWaddr 6C:F0:49:AD:2A:DB
inet addr :192.168.1.57 Bcast 192.168.1.255 Mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500...
Forum: Installation/Configuration 2nd October 2010, 16:55
Replies: 11
Views: 4,058
Posted By rodobrist
might i add my needs have slightly changed

might i add my needs have slightly changed
Showing results 1 to 25 of 30

 
Forum Jump

All times are GMT +2. The time now is 07:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.